omap_writew(w, OMAP_DMA_CCR2(lch)); 
OMAP1_DMA_CCR2_REG(lch) = w; 
void omap_set_dma_color_mode(int lch, enum omap_dma_color_mode mode, u32 color){	u16 w;	BUG_ON(omap_dma_in_1510_mode());	w = omap_readw(OMAP_DMA_CCR2(lch)) & ~0x03;	switch (mode) {	case OMAP_DMA_CONSTANT_FILL:		w |= 0x01;		break;	case OMAP_DMA_TRANSPARENT_COPY:		w |= 0x02;		break;	case OMAP_DMA_COLOR_DIS:		break;	default:		BUG();	}	omap_writew(w, OMAP_DMA_CCR2(lch));	w = omap_readw(OMAP_DMA_LCH_CTRL(lch)) & ~0x0f;	/* Default is channel type 2D */	if (mode) {		omap_writew((u16)color, OMAP_DMA_COLOR_L(lch));		omap_writew((u16)(color >> 16), OMAP_DMA_COLOR_U(lch));		w |= 1;		/* Channel type G */	}	omap_writew(w, OMAP_DMA_LCH_CTRL(lch));}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1a8bfa1eb998af6e650ad26201f7cae9f2a2fdc8/dma.c/clean/arch/arm/plat-omap/dma.c