Home
last modified time | relevance | path

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

/arch/arm/plat-samsung/include/plat/
Ddma.h45 enum dma_ch;
66 extern int s3c2410_dma_request(enum dma_ch channel,
75 extern int s3c2410_dma_ctrl(enum dma_ch channel, enum s3c2410_chan_op op);
82 extern int s3c2410_dma_setflags(enum dma_ch channel,
90 extern int s3c2410_dma_free(enum dma_ch channel, struct s3c2410_dma_client *);
99 extern int s3c2410_dma_enqueue(enum dma_ch channel, void *id,
107 extern int s3c2410_dma_config(enum dma_ch channel, int xferunit);
114 extern int s3c2410_dma_devconfig(enum dma_ch channel,
122 extern int s3c2410_dma_getposition(enum dma_ch channel,
125 extern int s3c2410_dma_set_opfn(enum dma_ch, s3c2410_dma_opfn_t rtn);
[all …]
Ddma-ops.h41 unsigned (*request)(enum dma_ch ch, struct samsung_dma_req *param,
Ddma-pl330.h23 enum dma_ch { enum
/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/arm/plat-samsung/
Ds3c-dma-ops.c38 static unsigned s3c_dma_request(enum dma_ch dma_ch, in s3c_dma_request() argument
44 if (s3c2410_dma_request(dma_ch, param->client, NULL) < 0) { in s3c_dma_request()
45 s3c2410_dma_free(dma_ch, param->client); in s3c_dma_request()
50 s3c2410_dma_setflags(dma_ch, S3C2410_DMAF_CIRCULAR); in s3c_dma_request()
53 data->ch = dma_ch; in s3c_dma_request()
56 return (unsigned)dma_ch; in s3c_dma_request()
Ddma.c44 int s3c2410_dma_set_opfn(enum dma_ch channel, s3c2410_dma_opfn_t rtn) in s3c2410_dma_set_opfn()
59 int s3c2410_dma_set_buffdone_fn(enum dma_ch channel, s3c2410_dma_cbfn_t rtn) in s3c2410_dma_set_buffdone_fn()
74 int s3c2410_dma_setflags(enum dma_ch channel, unsigned int flags) in s3c2410_dma_setflags()
Ddma-ops.c27 static unsigned samsung_dmadev_request(enum dma_ch dma_ch, in samsung_dmadev_request() argument
40 (void *)dma_ch); in samsung_dmadev_request()
/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/mach-shmobile/
Dsetup-r8a7778.c319 .dma_ch = (28 + _id), \
329 .dma_ch = (28 + _id), \
342 .dma_ch = (28 + _id), \
352 .dma_ch = (28 + _id), \
369 .dma_ch = 21,
383 .dma_ch = 22,
391 .dma_ch = 14,
399 .dma_ch = 15,
Dsetup-r8a7779.c584 .dma_ch = 21,
600 .dma_ch = 22,
/arch/arm/mach-s3c24xx/include/mach/
Ddma.h26 enum dma_ch { enum
182 enum dma_ch req_ch;
/arch/unicore32/include/mach/
Ddma.h36 extern void puv3_free_dma(int dma_ch);
/arch/arm/plat-pxa/
Ddma.c320 void pxa_free_dma (int dma_ch) in pxa_free_dma() argument
324 if (!dma_channels[dma_ch].name) { in pxa_free_dma()
327 __func__, dma_ch); in pxa_free_dma()
332 DCSR(dma_ch) = DCSR_STARTINTR|DCSR_ENDINTR|DCSR_BUSERR; in pxa_free_dma()
333 dma_channels[dma_ch].name = NULL; in pxa_free_dma()
/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/arm/mach-s3c24xx/
Ddma.c432 int s3c2410_dma_enqueue(enum dma_ch channel, void *id, in s3c2410_dma_enqueue()
714 int s3c2410_dma_request(enum dma_ch channel, in s3c2410_dma_request()
785 int s3c2410_dma_free(enum dma_ch channel, struct s3c2410_dma_client *client) in s3c2410_dma_free()
976 s3c2410_dma_ctrl(enum dma_ch channel, enum s3c2410_chan_op op) in s3c2410_dma_ctrl()
1023 int s3c2410_dma_config(enum dma_ch channel, in s3c2410_dma_config()
1102 int s3c2410_dma_devconfig(enum dma_ch channel, in s3c2410_dma_devconfig()
1172 int s3c2410_dma_getposition(enum dma_ch channel, dma_addr_t *src, dma_addr_t *dst) in s3c2410_dma_getposition()
/arch/blackfin/mach-bf561/boards/
Dezkit.c439 .dma_ch = CH_PPI0,
/arch/blackfin/mach-bf609/boards/
Dezkit.c887 .dma_ch = CH_EPPI0_CH0,
1076 .dma_ch = CH_EPPI0_CH0,
/arch/blackfin/mach-bf548/boards/
Dezkit.c1634 .dma_ch = CH_EPPI1,
/arch/blackfin/mach-bf537/boards/
Dstamp.c1552 .dma_ch = CH_PPI,