Home
last modified time | relevance | path

Searched defs:dchan (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/dma/
H A Dloongson1-apb-dma.c86 #define to_ls1x_dma_chan(dchan) \ argument
100 struct dma_chan *dchan = &chan->vc.chan; in ls1x_dma_query() local
118 struct dma_chan *dchan = &chan->vc.chan; in ls1x_dma_start() local
143 static void ls1x_dma_free_chan_resources(struct dma_chan *dchan) in ls1x_dma_free_chan_resources()
361 static int ls1x_dma_slave_config(struct dma_chan *dchan, in ls1x_dma_slave_config()
374 static int ls1x_dma_pause(struct dma_chan *dchan) in ls1x_dma_pause()
388 static int ls1x_dma_resume(struct dma_chan *dchan) in ls1x_dma_resume()
397 static int ls1x_dma_terminate_all(struct dma_chan *dchan) in ls1x_dma_terminate_all()
418 static void ls1x_dma_synchronize(struct dma_chan *dchan) in ls1x_dma_synchronize()
468 static void ls1x_dma_issue_pending(struct dma_chan *dchan) in ls1x_dma_issue_pending()
[all …]
H A Dmmp_pdma.c134 #define to_mmp_pdma_chan(dchan) \ argument
390 static int mmp_pdma_alloc_chan_resources(struct dma_chan *dchan) in mmp_pdma_alloc_chan_resources()
424 static void mmp_pdma_free_chan_resources(struct dma_chan *dchan) in mmp_pdma_free_chan_resources()
443 mmp_pdma_prep_memcpy(struct dma_chan *dchan, in mmp_pdma_prep_memcpy()
524 mmp_pdma_prep_slave_sg(struct dma_chan *dchan, struct scatterlist *sgl, in mmp_pdma_prep_slave_sg()
604 mmp_pdma_prep_dma_cyclic(struct dma_chan *dchan, in mmp_pdma_prep_dma_cyclic()
690 static int mmp_pdma_config_write(struct dma_chan *dchan, in mmp_pdma_config_write()
733 static int mmp_pdma_config(struct dma_chan *dchan, in mmp_pdma_config()
742 static int mmp_pdma_terminate_all(struct dma_chan *dchan) in mmp_pdma_terminate_all()
835 static enum dma_status mmp_pdma_tx_status(struct dma_chan *dchan, in mmp_pdma_tx_status()
[all …]
H A Dfsldma.c369 int fsl_dma_external_start(struct dma_chan *dchan, int enable) in fsl_dma_external_start()
690 static int fsl_dma_alloc_chan_resources(struct dma_chan *dchan) in fsl_dma_alloc_chan_resources()
743 static void fsl_dma_free_chan_resources(struct dma_chan *dchan) in fsl_dma_free_chan_resources()
760 fsl_dma_prep_memcpy(struct dma_chan *dchan, in fsl_dma_prep_memcpy()
824 static int fsl_dma_device_terminate_all(struct dma_chan *dchan) in fsl_dma_device_terminate_all()
848 static int fsl_dma_device_config(struct dma_chan *dchan, in fsl_dma_device_config()
878 static void fsl_dma_memcpy_issue_pending(struct dma_chan *dchan) in fsl_dma_memcpy_issue_pending()
891 static enum dma_status fsl_tx_status(struct dma_chan *dchan, in fsl_tx_status()
H A Dnbpfaxi.c601 static void nbpf_issue_pending(struct dma_chan *dchan) in nbpf_issue_pending()
625 static enum dma_status nbpf_tx_status(struct dma_chan *dchan, in nbpf_tx_status()
691 struct dma_chan *dchan = &chan->dma_chan; in nbpf_desc_page_alloc() local
863 static int nbpf_pause(struct dma_chan *dchan) in nbpf_pause()
877 static int nbpf_terminate_all(struct dma_chan *dchan) in nbpf_terminate_all()
890 static int nbpf_config(struct dma_chan *dchan, in nbpf_config()
989 struct dma_chan *dchan, dma_addr_t dst, dma_addr_t src, in nbpf_prep_memcpy()
1013 struct dma_chan *dchan, struct scatterlist *sgl, unsigned int sg_len, in nbpf_prep_slave_sg()
1039 static int nbpf_alloc_chan_resources(struct dma_chan *dchan) in nbpf_alloc_chan_resources()
1062 static void nbpf_free_chan_resources(struct dma_chan *dchan) in nbpf_free_chan_resources()
[all …]
H A Dpxa_dma.c138 #define to_pxad_chan(dchan) \ argument
684 static int pxad_alloc_chan_resources(struct dma_chan *dchan) in pxad_alloc_chan_resources()
707 static void pxad_free_chan_resources(struct dma_chan *dchan) in pxad_free_chan_resources()
825 static void pxad_issue_pending(struct dma_chan *dchan) in pxad_issue_pending()
916 pxad_prep_memcpy(struct dma_chan *dchan, in pxad_prep_memcpy()
963 pxad_prep_slave_sg(struct dma_chan *dchan, struct scatterlist *sgl, in pxad_prep_slave_sg()
1013 pxad_prep_dma_cyclic(struct dma_chan *dchan, in pxad_prep_dma_cyclic()
1065 static int pxad_config(struct dma_chan *dchan, in pxad_config()
1077 static int pxad_terminate_all(struct dma_chan *dchan) in pxad_terminate_all()
1189 static enum dma_status pxad_tx_status(struct dma_chan *dchan, in pxad_tx_status()
[all …]
H A Dbcm-sba-raid.c87 #define to_sba_device(dchan) \ argument
486 static void sba_free_chan_resources(struct dma_chan *dchan) in sba_free_chan_resources()
496 static int sba_device_terminate_all(struct dma_chan *dchan) in sba_device_terminate_all()
504 static void sba_issue_pending(struct dma_chan *dchan) in sba_issue_pending()
539 static enum dma_status sba_tx_status(struct dma_chan *dchan, in sba_tx_status()
615 sba_prep_dma_interrupt(struct dma_chan *dchan, unsigned long flags) in sba_prep_dma_interrupt()
728 sba_prep_dma_memcpy(struct dma_chan *dchan, dma_addr_t dst, dma_addr_t src, in sba_prep_dma_memcpy()
867 sba_prep_dma_xor(struct dma_chan *dchan, dma_addr_t dst, dma_addr_t *src, in sba_prep_dma_xor()
1334 sba_prep_dma_pq(struct dma_chan *dchan, dma_addr_t *dst, dma_addr_t *src, in sba_prep_dma_pq()
H A Daltera-msgdma.c332 msgdma_prep_memcpy(struct dma_chan *dchan, dma_addr_t dma_dst, in msgdma_prep_memcpy()
388 msgdma_prep_slave_sg(struct dma_chan *dchan, struct scatterlist *sgl, in msgdma_prep_slave_sg()
461 static int msgdma_dma_config(struct dma_chan *dchan, in msgdma_dma_config()
639 static void msgdma_free_chan_resources(struct dma_chan *dchan) in msgdma_free_chan_resources()
656 static int msgdma_alloc_chan_resources(struct dma_chan *dchan) in msgdma_alloc_chan_resources()
H A Dxgene-dma.c191 #define to_dma_chan(dchan) \ argument
775 static int xgene_dma_alloc_chan_resources(struct dma_chan *dchan) in xgene_dma_alloc_chan_resources()
812 static void xgene_dma_free_chan_resources(struct dma_chan *dchan) in xgene_dma_free_chan_resources()
839 struct dma_chan *dchan, dma_addr_t dst, dma_addr_t *src, in xgene_dma_prep_xor()
887 struct dma_chan *dchan, dma_addr_t *dst, dma_addr_t *src, in xgene_dma_prep_pq()
963 static void xgene_dma_issue_pending(struct dma_chan *dchan) in xgene_dma_issue_pending()
972 static enum dma_status xgene_dma_tx_status(struct dma_chan *dchan, in xgene_dma_tx_status()
H A Dmmp_tdma.c137 #define to_mmp_tdma_chan(dchan) container_of(dchan, struct mmp_tdma_chan, chan) argument
H A Dat_xdmac.c322 static inline struct at_xdmac_chan *to_at_xdmac_chan(struct dma_chan *dchan) in to_at_xdmac_chan()
H A Dste_dma40.c2231 d40_prep_sg(struct dma_chan *dchan, struct scatterlist *sg_src, in d40_prep_sg()
/linux/drivers/dma/dw-edma/
H A Ddw-edma-core.c26 struct device *dchan2dev(struct dma_chan *dchan) in dchan2dev()
215 static void dw_edma_device_caps(struct dma_chan *dchan, in dw_edma_device_caps()
233 static int dw_edma_device_config(struct dma_chan *dchan, in dw_edma_device_config()
244 static int dw_edma_device_pause(struct dma_chan *dchan) in dw_edma_device_pause()
261 static int dw_edma_device_resume(struct dma_chan *dchan) in dw_edma_device_resume()
280 static int dw_edma_device_terminate_all(struct dma_chan *dchan) in dw_edma_device_terminate_all()
308 static void dw_edma_device_issue_pending(struct dma_chan *dchan) in dw_edma_device_issue_pending()
326 dw_edma_device_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, in dw_edma_device_tx_status()
583 dw_edma_device_prep_interleaved_dma(struct dma_chan *dchan, in dw_edma_device_prep_interleaved_dma()
683 static int dw_edma_alloc_chan_resources(struct dma_chan *dchan) in dw_edma_alloc_chan_resources()
[all …]
H A Ddw-edma-core.h143 struct dma_chan *dchan; member
161 struct dw_edma_chan *dchan2dw_edma_chan(struct dma_chan *dchan) in dchan2dw_edma_chan()
/linux/drivers/dma/sf-pdma/
H A Dsf-pdma.c45 static inline struct sf_pdma_chan *to_sf_pdma_chan(struct dma_chan *dchan) in to_sf_pdma_chan()
85 sf_pdma_prep_dma_memcpy(struct dma_chan *dchan, dma_addr_t dest, dma_addr_t src, in sf_pdma_prep_dma_memcpy()
112 static int sf_pdma_slave_config(struct dma_chan *dchan, in sf_pdma_slave_config()
122 static int sf_pdma_alloc_chan_resources(struct dma_chan *dchan) in sf_pdma_alloc_chan_resources()
140 static void sf_pdma_free_chan_resources(struct dma_chan *dchan) in sf_pdma_free_chan_resources()
195 sf_pdma_tx_status(struct dma_chan *dchan, in sf_pdma_tx_status()
210 static int sf_pdma_terminate_all(struct dma_chan *dchan) in sf_pdma_terminate_all()
274 static void sf_pdma_issue_pending(struct dma_chan *dchan) in sf_pdma_issue_pending()
/linux/drivers/rapidio/devices/
H A Dtsi721_dma.c413 struct dma_chan *dchan = desc->txd.chan; in tsi721_submit_sg() local
723 static int tsi721_alloc_chan_resources(struct dma_chan *dchan) in tsi721_alloc_chan_resources()
781 static void tsi721_free_chan_resources(struct dma_chan *dchan) in tsi721_free_chan_resources()
800 enum dma_status tsi721_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, in tsi721_tx_status()
812 static void tsi721_issue_pending(struct dma_chan *dchan) in tsi721_issue_pending()
826 struct dma_async_tx_descriptor *tsi721_prep_rio_sg(struct dma_chan *dchan, in tsi721_prep_rio_sg()
895 static int tsi721_terminate_all(struct dma_chan *dchan) in tsi721_terminate_all()
H A Dtsi721.h701 struct dma_chan dchan; member
/linux/drivers/dma/dw-axi-dmac/
H A Ddw-axi-dmac-platform.c355 dma_chan_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, in dma_chan_tx_status()
498 static void dma_chan_issue_pending(struct dma_chan *dchan) in dma_chan_issue_pending()
509 static void dw_axi_dma_synchronize(struct dma_chan *dchan) in dw_axi_dma_synchronize()
516 static int dma_chan_alloc_chan_resources(struct dma_chan *dchan) in dma_chan_alloc_chan_resources()
543 static void dma_chan_free_chan_resources(struct dma_chan *dchan) in dma_chan_free_chan_resources()
921 dma_chan_prep_dma_memcpy(struct dma_chan *dchan, dma_addr_t dst_adr, in dma_chan_prep_dma_memcpy()
1023 static int dw_axi_dma_chan_slave_config(struct dma_chan *dchan, in dw_axi_dma_chan_slave_config()
1181 static int dma_chan_terminate_all(struct dma_chan *dchan) in dma_chan_terminate_all()
1217 static int dma_chan_pause(struct dma_chan *dchan) in dma_chan_pause()
1302 static int dma_chan_resume(struct dma_chan *dchan) in dma_chan_resume()
[all …]
H A Ddw-axi-dmac.h121 static inline struct device *dchan2dev(struct dma_chan *dchan) in dchan2dev()
141 static inline struct axi_dma_chan *dchan_to_axi_dma_chan(struct dma_chan *dchan) in dchan_to_axi_dma_chan()
/linux/drivers/dma/xilinx/
H A Dzynqmp_dma.c475 static int zynqmp_dma_alloc_chan_resources(struct dma_chan *dchan) in zynqmp_dma_alloc_chan_resources()
574 static int zynqmp_dma_device_config(struct dma_chan *dchan, in zynqmp_dma_device_config()
660 static void zynqmp_dma_issue_pending(struct dma_chan *dchan) in zynqmp_dma_issue_pending()
689 static void zynqmp_dma_free_chan_resources(struct dma_chan *dchan) in zynqmp_dma_free_chan_resources()
802 static int zynqmp_dma_device_terminate_all(struct dma_chan *dchan) in zynqmp_dma_device_terminate_all()
816 static void zynqmp_dma_synchronize(struct dma_chan *dchan) in zynqmp_dma_synchronize()
834 struct dma_chan *dchan, dma_addr_t dma_dst, in zynqmp_dma_prep_memcpy()
H A Dxilinx_dpdma.c1271 xilinx_dpdma_prep_dma_cyclic(struct dma_chan *dchan, dma_addr_t buf_addr, in xilinx_dpdma_prep_dma_cyclic()
1289 xilinx_dpdma_prep_interleaved_dma(struct dma_chan *dchan, in xilinx_dpdma_prep_interleaved_dma()
1322 static int xilinx_dpdma_alloc_chan_resources(struct dma_chan *dchan) in xilinx_dpdma_alloc_chan_resources()
1348 static void xilinx_dpdma_free_chan_resources(struct dma_chan *dchan) in xilinx_dpdma_free_chan_resources()
1358 static void xilinx_dpdma_issue_pending(struct dma_chan *dchan) in xilinx_dpdma_issue_pending()
1371 static int xilinx_dpdma_config(struct dma_chan *dchan, in xilinx_dpdma_config()
1402 static int xilinx_dpdma_pause(struct dma_chan *dchan) in xilinx_dpdma_pause()
1409 static int xilinx_dpdma_resume(struct dma_chan *dchan) in xilinx_dpdma_resume()
1431 static int xilinx_dpdma_terminate_all(struct dma_chan *dchan) in xilinx_dpdma_terminate_all()
1475 static void xilinx_dpdma_synchronize(struct dma_chan *dchan) in xilinx_dpdma_synchronize()
H A Dxilinx_dma.c930 static void xilinx_dma_free_chan_resources(struct dma_chan *dchan) in xilinx_dma_free_chan_resources()
1113 static int xilinx_dma_alloc_chan_resources(struct dma_chan *dchan) in xilinx_dma_alloc_chan_resources()
1269 static enum dma_status xilinx_dma_tx_status(struct dma_chan *dchan, in xilinx_dma_tx_status()
1683 static void xilinx_dma_issue_pending(struct dma_chan *dchan) in xilinx_dma_issue_pending()
1700 static int xilinx_dma_device_config(struct dma_chan *dchan, in xilinx_dma_device_config()
2040 xilinx_vdma_dma_prep_interleaved(struct dma_chan *dchan, in xilinx_vdma_dma_prep_interleaved()
2127 xilinx_cdma_prep_memcpy(struct dma_chan *dchan, dma_addr_t dma_dst, in xilinx_cdma_prep_memcpy()
2286 struct dma_chan *dchan, dma_addr_t buf_addr, size_t buf_len, in xilinx_dma_prep_dma_cyclic()
2485 static int xilinx_dma_terminate_all(struct dma_chan *dchan) in xilinx_dma_terminate_all()
2521 static void xilinx_dma_synchronize(struct dma_chan *dchan) in xilinx_dma_synchronize()
[all …]
/linux/drivers/rapidio/
H A Drio.c1794 void rio_release_dma(struct dma_chan *dchan) in rio_release_dma()
1816 struct dma_async_tx_descriptor *rio_dma_prep_xfer(struct dma_chan *dchan, in rio_dma_prep_xfer()
1854 struct dma_chan *dchan, struct rio_dma_data *data, in rio_dma_prep_slave_sg()
/linux/arch/mips/alchemy/common/
H A Dirq.c581 void au1300_set_dbdma_gpio(int dchan, unsigned int gpio) in au1300_set_dbdma_gpio()