Home
last modified time | relevance | path

Searched refs:dma_ch (Results 1 – 12 of 12) sorted by relevance

/arch/blackfin/include/asm/
Ddma.h183 extern struct dma_channel dma_ch[MAX_DMA_CHANNELS];
189 dma_ch[channel].regs->start_addr = addr; in set_dma_start_addr()
193 dma_ch[channel].regs->next_desc_ptr = addr; in set_dma_next_desc_addr()
197 dma_ch[channel].regs->curr_desc_ptr = addr; in set_dma_curr_desc_addr()
201 dma_ch[channel].regs->x_count = x_count; in set_dma_x_count()
205 dma_ch[channel].regs->y_count = y_count; in set_dma_y_count()
209 dma_ch[channel].regs->x_modify = x_modify; in set_dma_x_modify()
213 dma_ch[channel].regs->y_modify = y_modify; in set_dma_y_modify()
217 dma_ch[channel].regs->cfg = config; in set_dma_config()
221 dma_ch[channel].regs->curr_addr_ptr = addr; in set_dma_curr_addr()
[all …]
/arch/blackfin/kernel/
Dbfin_dma.c30 struct dma_channel dma_ch[MAX_DMA_CHANNELS]; variable
31 EXPORT_SYMBOL(dma_ch);
45 atomic_set(&dma_ch[i].chan_status, 0); in blackfin_dma_init()
46 dma_ch[i].regs = dma_io_base_addr[i]; in blackfin_dma_init()
74 seq_printf(m, "%2d: %s\n", i, dma_ch[i].device_id); in proc_dma_show()
113 dma_ch[channel].regs->peripheral_map = per_map; in set_dma_peripheral_map()
139 if (atomic_cmpxchg(&dma_ch[channel].chan_status, 0, 1)) { in request_dma()
145 dma_ch[channel].device_id = device_id; in request_dma()
146 dma_ch[channel].irq = 0; in request_dma()
163 !atomic_read(&dma_ch[channel].chan_status)); in set_dma_callback()
[all …]
/arch/unicore32/kernel/
Ddma.c77 void puv3_free_dma(int dma_ch) in puv3_free_dma() argument
81 if (!dma_channels[dma_ch].name) { in puv3_free_dma()
84 __func__, dma_ch); in puv3_free_dma()
89 dma_channels[dma_ch].name = NULL; in puv3_free_dma()
90 dma_channels[dma_ch].err_handler = NULL; in puv3_free_dma()
/arch/arm/plat-pxa/
Ddma.c316 void pxa_free_dma (int dma_ch) in pxa_free_dma() argument
320 if (!dma_channels[dma_ch].name) { in pxa_free_dma()
323 __func__, dma_ch); in pxa_free_dma()
328 DCSR(dma_ch) = DCSR_STARTINTR|DCSR_ENDINTR|DCSR_BUSERR; in pxa_free_dma()
329 dma_channels[dma_ch].name = NULL; in pxa_free_dma()
330 pxad_toggle_reserved_channel(dma_ch); in pxa_free_dma()
/arch/arm/mach-s3c24xx/include/mach/
Ddma.h24 enum dma_ch { enum
/arch/unicore32/include/mach/
Ddma.h36 extern void puv3_free_dma(int dma_ch);
/arch/arm/mach-s3c64xx/include/mach/
Ddma.h50 enum dma_ch { enum
/arch/arm/plat-pxa/include/plat/
Ddma.h83 void pxa_free_dma (int dma_ch);
/arch/blackfin/mach-bf561/boards/
Dezkit.c440 .dma_ch = CH_PPI0,
/arch/blackfin/mach-bf609/boards/
Dezkit.c892 .dma_ch = CH_EPPI0_CH0,
1080 .dma_ch = CH_EPPI0_CH0,
/arch/blackfin/mach-bf548/boards/
Dezkit.c1639 .dma_ch = CH_EPPI1,
/arch/blackfin/mach-bf537/boards/
Dstamp.c1552 .dma_ch = CH_PPI,