Home
last modified time | relevance | path

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

/drivers/dma/
Diop-adma.c471 static int iop_adma_alloc_chan_resources(struct dma_chan *chan) in iop_adma_alloc_chan_resources()
538 iop_adma_prep_dma_interrupt(struct dma_chan *chan, unsigned long flags) in iop_adma_prep_dma_interrupt()
561 iop_adma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dma_dest, in iop_adma_prep_dma_memcpy()
594 iop_adma_prep_dma_memset(struct dma_chan *chan, dma_addr_t dma_dest, in iop_adma_prep_dma_memset()
627 iop_adma_prep_dma_xor(struct dma_chan *chan, dma_addr_t dma_dest, in iop_adma_prep_dma_xor()
664 iop_adma_prep_dma_zero_sum(struct dma_chan *chan, dma_addr_t *dma_src, in iop_adma_prep_dma_zero_sum()
700 static void iop_adma_free_chan_resources(struct dma_chan *chan) in iop_adma_free_chan_resources()
737 static enum dma_status iop_adma_is_complete(struct dma_chan *chan, in iop_adma_is_complete()
820 static void iop_adma_issue_pending(struct dma_chan *chan) in iop_adma_issue_pending()
840 struct dma_chan *dma_chan; in iop_adma_memcpy_self_test() local
[all …]
Ddmaengine.c75 static struct dma_chan *dev_to_dma_chan(struct device *dev) in dev_to_dma_chan()
85 struct dma_chan *chan; in show_memcpy_count()
106 struct dma_chan *chan; in show_bytes_transferred()
126 struct dma_chan *chan; in show_in_use()
181 static struct module *dma_chan_to_owner(struct dma_chan *chan) in dma_chan_to_owner()
192 static void balance_ref_count(struct dma_chan *chan) in balance_ref_count()
208 static int dma_chan_get(struct dma_chan *chan) in dma_chan_get()
243 static void dma_chan_put(struct dma_chan *chan) in dma_chan_put()
253 enum dma_status dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie) in dma_sync_wait()
281 struct dma_chan *chan;
[all …]
Dmv_xor.c30 static void mv_xor_issue_pending(struct dma_chan *chan);
609 static int mv_xor_alloc_chan_resources(struct dma_chan *chan) in mv_xor_alloc_chan_resources()
660 mv_xor_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src, in mv_xor_prep_dma_memcpy()
699 mv_xor_prep_dma_memset(struct dma_chan *chan, dma_addr_t dest, int value, in mv_xor_prep_dma_memset()
736 mv_xor_prep_dma_xor(struct dma_chan *chan, dma_addr_t dest, dma_addr_t *src, in mv_xor_prep_dma_xor()
775 static void mv_xor_free_chan_resources(struct dma_chan *chan) in mv_xor_free_chan_resources()
816 static enum dma_status mv_xor_is_complete(struct dma_chan *chan, in mv_xor_is_complete()
915 static void mv_xor_issue_pending(struct dma_chan *chan) in mv_xor_issue_pending()
935 struct dma_chan *dma_chan; in mv_xor_memcpy_self_test() local
956 dma_chan = container_of(device->common.channels.next, in mv_xor_memcpy_self_test()
[all …]
Ddmatest.c61 struct dma_chan *chan;
68 struct dma_chan *chan;
79 static bool dmatest_match_channel(struct dma_chan *chan) in dmatest_match_channel()
196 struct dma_chan *chan; in dmatest_func()
347 static int dmatest_add_channel(struct dma_chan *chan) in dmatest_add_channel()
393 static bool filter(struct dma_chan *chan, void *param) in filter()
404 struct dma_chan *chan; in dmatest_init()
433 struct dma_chan *chan; in dmatest_exit()
Dioat_dma.c228 static void ioat1_dma_memcpy_issue_pending(struct dma_chan *chan) in ioat1_dma_memcpy_issue_pending()
247 static void ioat2_dma_memcpy_issue_pending(struct dma_chan *chan) in ioat2_dma_memcpy_issue_pending()
739 static int ioat_dma_alloc_chan_resources(struct dma_chan *chan) in ioat_dma_alloc_chan_resources()
804 static void ioat_dma_free_chan_resources(struct dma_chan *chan) in ioat_dma_free_chan_resources()
996 struct dma_chan *chan, in ioat1_dma_prep_memcpy()
1024 struct dma_chan *chan, in ioat2_dma_prep_memcpy()
1253 static enum dma_status ioat_dma_is_complete(struct dma_chan *chan, in ioat_dma_is_complete()
1360 struct dma_chan *dma_chan; in ioat_dma_self_test() local
1382 dma_chan = container_of(device->common.channels.next, in ioat_dma_self_test()
1383 struct dma_chan, in ioat_dma_self_test()
[all …]
Ddw_dmac.c73 static struct device *chan2dev(struct dma_chan *chan) in chan2dev()
77 static struct device *chan2parent(struct dma_chan *chan) in chan2parent()
471 dwc_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest, dma_addr_t src, in dwc_prep_dma_memcpy()
558 dwc_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl, in dwc_prep_slave_sg()
698 static void dwc_terminate_all(struct dma_chan *chan) in dwc_terminate_all()
730 dwc_is_tx_complete(struct dma_chan *chan, in dwc_is_tx_complete()
760 static void dwc_issue_pending(struct dma_chan *chan) in dwc_issue_pending()
770 static int dwc_alloc_chan_resources(struct dma_chan *chan) in dwc_alloc_chan_resources()
851 static void dwc_free_chan_resources(struct dma_chan *chan) in dwc_free_chan_resources()
Dfsldma.c373 static int fsl_dma_alloc_chan_resources(struct dma_chan *chan) in fsl_dma_alloc_chan_resources()
400 static void fsl_dma_free_chan_resources(struct dma_chan *chan) in fsl_dma_free_chan_resources()
424 fsl_dma_prep_interrupt(struct dma_chan *chan, unsigned long flags) in fsl_dma_prep_interrupt()
453 struct dma_chan *chan, dma_addr_t dma_dest, dma_addr_t dma_src, in fsl_dma_prep_memcpy()
640 static void fsl_dma_memcpy_issue_pending(struct dma_chan *chan) in fsl_dma_memcpy_issue_pending()
674 static enum dma_status fsl_dma_is_complete(struct dma_chan *chan, in fsl_dma_is_complete()
Ddw_dmac_regs.h130 struct dma_chan chan;
156 static inline struct dw_dma_chan *to_dw_dma_chan(struct dma_chan *chan) in to_dw_dma_chan()
Diovlock.c150 dma_cookie_t dma_memcpy_to_iovec(struct dma_chan *chan, struct iovec *iov, in dma_memcpy_to_iovec()
206 dma_cookie_t dma_memcpy_pg_to_iovec(struct dma_chan *chan, struct iovec *iov, in dma_memcpy_pg_to_iovec()
Dioatdma.h99 struct dma_chan common;
Dmv_xor.h104 struct dma_chan common;
Dfsldma.h136 struct dma_chan common; /* DMA common channel */
/drivers/dma/ipu/
Dipu_idmac.c620 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_enable_channel()
672 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_init_channel_buffer()
673 struct idmac *idmac = to_idmac(ichan->dma_chan.device); in ipu_init_channel_buffer()
825 ret = ipu_update_channel_buffer(ichan->dma_chan.chan_id, i, in ipu_submit_channel_buffers()
830 ipu_select_buffer(ichan->dma_chan.chan_id, i); in ipu_submit_channel_buffers()
851 dev_err(&ichan->dma_chan.dev->device, in idmac_tx_submit()
892 cookie = ichan->dma_chan.cookie; in idmac_tx_submit()
898 ichan->dma_chan.cookie = cookie; in idmac_tx_submit()
912 ichan->dma_chan.cookie = cookie; in idmac_tx_submit()
928 struct idmac *idmac = to_idmac(ichan->dma_chan.device); in idmac_desc_alloc()
[all …]
/drivers/scsi/
DNCR53c406a.c197 static int dma_chan; variable
292 if (dma_chan <= 3) { in NCR53c406a_dma_setup()
310 disable_dma(dma_chan); in NCR53c406a_dma_setup()
311 clear_dma_ff(dma_chan); in NCR53c406a_dma_setup()
312 set_dma_addr(dma_chan, (long) ptr); in NCR53c406a_dma_setup()
313 set_dma_count(dma_chan, count); in NCR53c406a_dma_setup()
314 set_dma_mode(dma_chan, mode); in NCR53c406a_dma_setup()
315 enable_dma(dma_chan); in NCR53c406a_dma_setup()
337 clear_dma_ff(dma_chan); in NCR53c406a_dma_residual()
338 tmp = get_dma_residue(dma_chan); in NCR53c406a_dma_residual()
[all …]
Daha1542.c765 static int __init aha1542_getconfig(int base_io, unsigned char *irq_level, unsigned char *dma_chan,… in aha1542_getconfig() argument
784 *dma_chan = 7; in aha1542_getconfig()
787 *dma_chan = 6; in aha1542_getconfig()
790 *dma_chan = 5; in aha1542_getconfig()
793 *dma_chan = 0; in aha1542_getconfig()
798 *dma_chan = 0xFF; in aha1542_getconfig()
986 unsigned char dma_chan; in aha1542_detect() local
1178 if (aha1542_getconfig(base_io, &irq_level, &dma_chan, &scsi_id) == -1) in aha1542_detect()
1182 if (dma_chan != 0xFF) in aha1542_detect()
1183 printk(", DMA priority %d", dma_chan); in aha1542_detect()
[all …]
/drivers/video/
Dmx3fb.c323 struct dma_chan *dma_chan = &ichan->dma_chan; in sdc_enable_channel() local
332 mx3_fbi->txd = dma_chan->device->device_prep_slave_sg(dma_chan, in sdc_enable_channel()
336 dma_chan->chan_id); in sdc_enable_channel()
349 dma_chan->chan_id); in sdc_enable_channel()
354 dma_async_issue_pending(dma_chan); in sdc_enable_channel()
696 struct dma_chan *chan = tx_desc->txd.chan; in mx3fb_dma_done()
1020 struct dma_chan *dma_chan = &mx3_fbi->idmac_channel->dma_chan; in mx3fb_pan_display() local
1076 txd = dma_chan->device->device_prep_slave_sg(dma_chan, sg + in mx3fb_pan_display()
1304 if (ichan->dma_chan.chan_id != IDMAC_SDC_0) in init_fb_chan()
1350 mx3fbi->ipu_ch = ichan->dma_chan.chan_id; in init_fb_chan()
[all …]
/drivers/mmc/host/
Datmel-mci.c58 struct dma_chan *chan;
142 struct dma_chan *data_chan;
515 struct dma_chan *chan = host->data_chan; in atmci_stop_dma()
572 struct dma_chan *chan; in atmci_submit_data_dma()
1547 static bool filter(struct dma_chan *chan, void *slave) in filter()