Lines Matching refs:offset
162 uint32_t offset = 0, ccr; in dma_pl330_setup_ch() local
175 offset += dma_pl330_gen_mov(dma_exec_addr, in dma_pl330_setup_ch()
178 offset += dma_pl330_gen_mov(dma_exec_addr + offset, in dma_pl330_setup_ch()
183 offset += dma_pl330_gen_mov(dma_exec_addr + offset, in dma_pl330_setup_ch()
192 dma_pl330_gen_op(OP_DMA_LOOP_COUNT1, dma_exec_addr + offset, in dma_pl330_setup_ch()
194 offset = offset + 2; in dma_pl330_setup_ch()
195 dma_pl330_gen_op(OP_DMA_LOOP, dma_exec_addr + offset, in dma_pl330_setup_ch()
197 offset = offset + 2; in dma_pl330_setup_ch()
198 lp1_start = offset; in dma_pl330_setup_ch()
199 lp0_start = offset; in dma_pl330_setup_ch()
200 sys_write8(OP_DMA_LD, dma_exec_addr + offset); in dma_pl330_setup_ch()
201 sys_write8(OP_DMA_ST, dma_exec_addr + offset + 1); in dma_pl330_setup_ch()
202 offset = offset + 2; in dma_pl330_setup_ch()
203 dma_pl330_gen_op(OP_DMA_LP_BK_JMP1, dma_exec_addr + offset, in dma_pl330_setup_ch()
204 ((offset - lp0_start) & 0xff)); in dma_pl330_setup_ch()
205 offset = offset + 2; in dma_pl330_setup_ch()
206 dma_pl330_gen_op(OP_DMA_LOOP, dma_exec_addr + offset, in dma_pl330_setup_ch()
208 offset = offset + 2; in dma_pl330_setup_ch()
210 dma_pl330_gen_op(OP_DMA_LP_BK_JMP2, dma_exec_addr + offset, in dma_pl330_setup_ch()
211 ((offset - lp1_start) & 0xff)); in dma_pl330_setup_ch()
212 offset = offset + 2; in dma_pl330_setup_ch()
217 dma_pl330_gen_op(OP_DMA_LOOP, dma_exec_addr + offset, in dma_pl330_setup_ch()
219 offset = offset + 2; in dma_pl330_setup_ch()
221 lp0_start = offset; in dma_pl330_setup_ch()
222 sys_write8(OP_DMA_LD, dma_exec_addr + offset); in dma_pl330_setup_ch()
223 sys_write8(OP_DMA_ST, dma_exec_addr + offset + 1); in dma_pl330_setup_ch()
224 offset = offset + 2; in dma_pl330_setup_ch()
225 dma_pl330_gen_op(OP_DMA_LP_BK_JMP1, dma_exec_addr + offset, in dma_pl330_setup_ch()
226 ((offset - lp0_start) & 0xff)); in dma_pl330_setup_ch()
227 offset = offset + 2; in dma_pl330_setup_ch()
239 offset += dma_pl330_gen_mov(dma_exec_addr + offset, in dma_pl330_setup_ch()
241 dma_pl330_gen_op(OP_DMA_LOOP, dma_exec_addr + offset, in dma_pl330_setup_ch()
243 offset = offset + 2; in dma_pl330_setup_ch()
244 lp0_start = offset; in dma_pl330_setup_ch()
245 sys_write8(OP_DMA_LD, dma_exec_addr + offset); in dma_pl330_setup_ch()
246 sys_write8(OP_DMA_ST, dma_exec_addr + offset + 1); in dma_pl330_setup_ch()
247 offset = offset + 2; in dma_pl330_setup_ch()
248 dma_pl330_gen_op(OP_DMA_LP_BK_JMP1, dma_exec_addr + offset, in dma_pl330_setup_ch()
249 ((offset - lp0_start) & 0xff)); in dma_pl330_setup_ch()
250 offset = offset + 2; in dma_pl330_setup_ch()
253 sys_write8(OP_DMA_END, dma_exec_addr + offset); in dma_pl330_setup_ch()
254 sys_write8(OP_DMA_END, dma_exec_addr + offset + 1); in dma_pl330_setup_ch()
255 sys_write8(OP_DMA_END, dma_exec_addr + offset + 2); in dma_pl330_setup_ch()
256 sys_write8(OP_DMA_END, dma_exec_addr + offset + 3); in dma_pl330_setup_ch()