Lines Matching defs:fc
42 int flexcop_dma_config(struct flexcop_device *fc,
54 fc->write_ibi_reg(fc, dma1_000, v0x0);
55 fc->write_ibi_reg(fc, dma1_004, v0x4);
56 fc->write_ibi_reg(fc, dma1_00c, v0xc);
58 fc->write_ibi_reg(fc, dma2_010, v0x0);
59 fc->write_ibi_reg(fc, dma2_014, v0x4);
60 fc->write_ibi_reg(fc, dma2_01c, v0xc);
72 int flexcop_dma_xfer_control(struct flexcop_device *fc,
92 v0x0 = fc->read_ibi_reg(fc, r0x0);
93 v0xc = fc->read_ibi_reg(fc, r0xc);
104 fc->write_ibi_reg(fc, r0x0, v0x0);
105 fc->write_ibi_reg(fc, r0xc, v0xc);
113 static int flexcop_dma_remap(struct flexcop_device *fc,
118 flexcop_ibi_value v = fc->read_ibi_reg(fc, r);
122 fc->write_ibi_reg(fc, r, v);
126 int flexcop_dma_control_size_irq(struct flexcop_device *fc,
130 flexcop_ibi_value v = fc->read_ibi_reg(fc, ctrl_208);
138 fc->write_ibi_reg(fc, ctrl_208, v);
143 int flexcop_dma_control_timer_irq(struct flexcop_device *fc,
147 flexcop_ibi_value v = fc->read_ibi_reg(fc, ctrl_208);
155 fc->write_ibi_reg(fc, ctrl_208, v);
161 int flexcop_dma_config_timer(struct flexcop_device *fc,
165 flexcop_ibi_value v = fc->read_ibi_reg(fc, r);
167 flexcop_dma_remap(fc, dma_idx, 0);
171 fc->write_ibi_reg(fc, r, v);