Home
last modified time | relevance | path

Searched refs:dma_chan (Results 1 – 11 of 11) sorted by relevance

/arch/mips/include/asm/mach-au1x00/
Dau1000_dma.h111 struct dma_chan { struct
123 extern struct dma_chan au1000_dma_table[]; argument
135 static inline struct dma_chan *get_dma_chan(unsigned int dmanr) in get_dma_chan()
161 struct dma_chan *chan = get_dma_chan(dmanr); in enable_dma_buffer0()
170 struct dma_chan *chan = get_dma_chan(dmanr); in enable_dma_buffer1()
178 struct dma_chan *chan = get_dma_chan(dmanr); in enable_dma_buffers()
187 struct dma_chan *chan = get_dma_chan(dmanr); in start_dma()
198 struct dma_chan *chan = get_dma_chan(dmanr); in halt_dma()
215 struct dma_chan *chan = get_dma_chan(dmanr); in disable_dma()
228 struct dma_chan *chan = get_dma_chan(dmanr); in dma_halted()
[all …]
/arch/arm/kernel/
Ddma.c26 static dma_t dma_chan[MAX_DMA_CHANNELS]; variable
35 dma_t *dma = dma_chan + channel; in request_dma()
73 dma_t *dma = dma_chan + channel; in free_dma()
102 dma_t *dma = dma_chan + channel; in set_dma_sg()
120 dma_t *dma = dma_chan + channel; in __set_dma_addr()
138 dma_t *dma = dma_chan + channel; in set_dma_count()
154 dma_t *dma = dma_chan + channel; in set_dma_mode()
169 dma_t *dma = dma_chan + channel; in enable_dma()
190 dma_t *dma = dma_chan + channel; in disable_dma()
212 return dma_chan[channel].active; in dma_channel_active()
[all …]
/arch/arm/plat-omap/
Ddma.c128 static struct omap_dma_lch *dma_chan; variable
600 dma_write(dma_chan[lch].enabled_irqs, CICR(lch)); in omap_enable_channel_irq()
611 dma_chan[lch].enabled_irqs |= bits; in omap_enable_dma_irq()
617 dma_chan[lch].enabled_irqs &= ~bits; in omap_disable_dma_irq()
631 if (dma_chan[lch].next_lch != -1) in enable_lnk()
632 l = dma_chan[lch].next_lch | (1 << 15); in enable_lnk()
636 if (dma_chan[lch].next_linked_ch != -1) in enable_lnk()
637 l = dma_chan[lch].next_linked_ch | (1 << 15); in enable_lnk()
663 dma_chan[lch].flags &= ~OMAP_DMA_ACTIVE; in disable_lnk()
688 if (free_ch == -1 && dma_chan[ch].dev_id == -1) { in omap_request_dma()
[all …]
/arch/arm/mach-sa1100/
Ddma.c40 static sa1100_dma_t dma_chan[SA1100_DMA_CHANNELS]; variable
48 sa1100_dma_t *dma = dma_chan + (((u_int)dma_regs >> 5) & 7); in dma_irq_handler()
108 if (dma_chan[i].device == device) { in sa1100_request_dma()
111 } else if (!dma_chan[i].device && !dma) { in sa1100_request_dma()
112 dma = &dma_chan[i]; in sa1100_request_dma()
125 i = dma - dma_chan; in sa1100_request_dma()
172 if (!dma_chan[i].device) { in sa1100_free_dma()
181 dma_chan[i].device = 0; in sa1100_free_dma()
339 regs->DDAR = dma_chan[i].device; in sa1100_reset_dma()
/arch/mips/alchemy/common/
Ddma.c61 struct dma_chan au1000_dma_table[NUM_AU1000_DMA_CHANNELS] = {
100 struct dma_chan *chan; in au1000_dma_read_proc()
132 struct dma_chan *chan; in dump_au1000_dma_channel()
163 struct dma_chan *chan; in request_au1000_dma()
221 struct dma_chan *chan = get_dma_chan(dmanr); in free_au1000_dma()
/arch/arm/plat-mxc/include/mach/
Dipu.h159 struct dma_chan dma_chan; member
179 #define to_idmac_chan(c) container_of(c, struct idmac_channel, dma_chan)
/arch/blackfin/include/asm/
Dbfin_sdh.h13 int dma_chan; member
/arch/arm/include/asm/hardware/
Diop_adma.h70 struct dma_chan common;
/arch/blackfin/mach-bf518/boards/
Dezbrd.c567 .dma_chan = CH_RSI,
/arch/blackfin/mach-bf548/boards/
Dcm_bf548.c454 .dma_chan = CH_SDH,
Dezkit.c510 .dma_chan = CH_SDH,