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