Lines Matching refs:lch
184 static inline void dma_write(u32 val, int reg, int lch) in dma_write() argument
190 offset = reg_map[reg] + (stride * lch); in dma_write()
195 u32 offset2 = reg_map[reg] + 2 + (stride * lch); in dma_write()
200 static inline u32 dma_read(int reg, int lch) in dma_read() argument
206 offset = reg_map[reg] + (stride * lch); in dma_read()
212 u32 offset2 = reg_map[reg] + 2 + (stride * lch); in dma_read()
219 static void omap1_clear_lch_regs(int lch) in omap1_clear_lch_regs() argument
224 dma_write(0, i, lch); in omap1_clear_lch_regs()
227 static void omap1_clear_dma(int lch) in omap1_clear_dma() argument
231 l = dma_read(CCR, lch); in omap1_clear_dma()
233 dma_write(l, CCR, lch); in omap1_clear_dma()
236 l = dma_read(CSR, lch); in omap1_clear_dma()