Home
last modified time | relevance | path

Searched refs:lch (Results 1 – 2 of 2) sorted by relevance

/arch/arm/plat-omap/
Ddma.c67 static void omap_clear_dma(int lch);
91 static inline void disable_lnk(int lch);
92 static void omap_disable_channel_irq(int lch);
93 static inline void omap_enable_channel_irq(int lch);
124 void omap_set_dma_priority(int lch, int dst_port, int priority) in omap_set_dma_priority() argument
156 void omap_set_dma_priority(int lch, int dst_port, int priority) in omap_set_dma_priority() argument
160 ccr = p->dma_read(CCR, lch); in omap_set_dma_priority()
165 p->dma_write(ccr, CCR, lch); in omap_set_dma_priority()
170 void omap_set_dma_transfer_params(int lch, int data_type, int elem_count, in omap_set_dma_transfer_params() argument
176 l = p->dma_read(CSDP, lch); in omap_set_dma_transfer_params()
[all …]
/arch/arm/mach-omap1/
Ddma.c175 static inline void dma_write(u32 val, int reg, int lch) in dma_write() argument
180 addr += reg_map[reg].stride * lch; in dma_write()
187 static inline u32 dma_read(int reg, int lch) in dma_read() argument
193 addr += reg_map[reg].stride * lch; in dma_read()
202 static void omap1_clear_lch_regs(int lch) in omap1_clear_lch_regs() argument
207 dma_write(0, i, lch); in omap1_clear_lch_regs()
210 static void omap1_clear_dma(int lch) in omap1_clear_dma() argument
214 l = dma_read(CCR, lch); in omap1_clear_dma()
216 dma_write(l, CCR, lch); in omap1_clear_dma()
219 l = dma_read(CSR, lch); in omap1_clear_dma()