ssp_config(&corgi_ssp_dev, (SSCR0_National | (SSCR0_DSS & 0x0b )), 0, 0, SSCR0_SerClkDiv(2)); 
ssp_config(&corgi_ssp_dev, (SSCR0_National | (SSCR0_DSS & 0x0b )), 0, 0, SSCR0_SerClkDiv(ssp_machinfo->clk_ads7846)); 
unsigned long corgi_ssp_dac_put(ulong data){	unsigned long flag;	spin_lock_irqsave(&corgi_ssp_lock, flag);	GPCR0 = GPIO_bit(CORGI_GPIO_LCDCON_CS);	ssp_disable(&corgi_ssp_dev);	ssp_config(&corgi_ssp_dev, (SSCR0_Motorola | (SSCR0_DSS & 0x07 )), SSCR1_SPH, 0, SSCR0_SerClkDiv(76));	ssp_enable(&corgi_ssp_dev);	ssp_write_word(&corgi_ssp_dev,data);	/* Read null data back from device to prevent SSP overflow */	ssp_read_word(&corgi_ssp_dev);	ssp_disable(&corgi_ssp_dev);	ssp_config(&corgi_ssp_dev, (SSCR0_National | (SSCR0_DSS & 0x0b )), 0, 0, SSCR0_SerClkDiv(2));	ssp_enable(&corgi_ssp_dev);	GPSR0 = GPIO_bit(CORGI_GPIO_LCDCON_CS);	spin_unlock_irqrestore(&corgi_ssp_lock, flag);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/50a5de44821352354a3ee804e2c7cbfee5a81c06/corgi_ssp.c/buggy/arch/arm/mach-pxa/corgi_ssp.c