} else { /* (dma_idx & FC_DMA_2) */ 
} else if ((dma_idx & FC_DMA_2) == dma_idx) { 
int flexcop_dma_config(struct flexcop_device *fc, struct flexcop_dma *dma, flexcop_dma_index_t dma_idx,flexcop_dma_addr_index_t index){	flexcop_ibi_value v0x0,v0x4,v0xc;	v0x0.raw = v0x4.raw = v0xc.raw = 0;	v0x0.dma_0x0.dma_address0        = dma->dma_addr0 >> 2;	v0xc.dma_0xc.dma_address1        = dma->dma_addr1 >> 2;	v0x4.dma_0x4_write.dma_addr_size = dma->size / 4;	if (index & FC_DMA_SUBADDR_0)		v0x0.dma_0x0.dma_0start = 1;	if (index & FC_DMA_SUBADDR_1)		v0xc.dma_0xc.dma_1start = 1;	if (dma_idx & FC_DMA_1) {		fc->write_ibi_reg(fc,dma1_000,v0x0);		fc->write_ibi_reg(fc,dma1_004,v0x4);		fc->write_ibi_reg(fc,dma1_00c,v0xc);	} else { /* (dma_idx & FC_DMA_2) */		fc->write_ibi_reg(fc,dma2_010,v0x0);		fc->write_ibi_reg(fc,dma2_014,v0x4);		fc->write_ibi_reg(fc,dma2_01c,v0xc);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/64221be7b9006338e4a45228f013e467ee4bf045/flexcop-dma.c/clean/drivers/media/dvb/b2c2/flexcop-dma.c