Home
last modified time | relevance | path

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

/arch/arm/plat-omap/
Ddma.c71 static void omap_clear_dma(int lch);
72 static int omap_dma_set_prio_lch(int lch, unsigned char read_prio,
140 static inline void disable_lnk(int lch);
141 static void omap_disable_channel_irq(int lch);
142 static inline void omap_enable_channel_irq(int lch);
176 void omap_set_dma_priority(int lch, int dst_port, int priority) in omap_set_dma_priority() argument
208 void omap_set_dma_priority(int lch, int dst_port, int priority) in omap_set_dma_priority() argument
212 ccr = p->dma_read(CCR, lch); in omap_set_dma_priority()
217 p->dma_write(ccr, CCR, lch); in omap_set_dma_priority()
222 void omap_set_dma_transfer_params(int lch, int data_type, int elem_count, in omap_set_dma_transfer_params() argument
[all …]
/arch/arm/mach-omap1/
Ddma.c177 static inline void dma_write(u32 val, int reg, int lch) in dma_write() argument
182 addr += reg_map[reg].stride * lch; in dma_write()
189 static inline u32 dma_read(int reg, int lch) in dma_read() argument
195 addr += reg_map[reg].stride * lch; in dma_read()
204 static void omap1_clear_lch_regs(int lch) in omap1_clear_lch_regs() argument
209 dma_write(0, i, lch); in omap1_clear_lch_regs()
212 static void omap1_clear_dma(int lch) in omap1_clear_dma() argument
216 l = dma_read(CCR, lch); in omap1_clear_dma()
218 dma_write(l, CCR, lch); in omap1_clear_dma()
221 l = dma_read(CSR, lch); in omap1_clear_dma()
/arch/arm/mach-omap2/
Ddma.c87 static inline void dma_write(u32 val, int reg, int lch) in dma_write() argument
92 addr += reg_map[reg].stride * lch; in dma_write()
97 static inline u32 dma_read(int reg, int lch) in dma_read() argument
102 addr += reg_map[reg].stride * lch; in dma_read()
107 static void omap2_clear_dma(int lch) in omap2_clear_dma() argument
112 dma_write(0, i, lch); in omap2_clear_dma()