Home
last modified time | relevance | path

Searched refs:virt_dma_desc (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/linux/drivers/dma/
H A Dvirt-dma.h15 struct virt_dma_desc { struct
25 void (*desc_free)(struct virt_dma_desc *); argument
36 struct virt_dma_desc *cyclic;
46 struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *, dma_cookie_t);
57 struct virt_dma_desc *vd, unsigned long tx_flags) in vchan_tx_prep()
94 static inline void vchan_cookie_complete(struct virt_dma_desc *vd) in vchan_cookie_complete()
112 static inline void vchan_vdesc_fini(struct virt_dma_desc *vd) in vchan_vdesc_fini()
131 static inline void vchan_cyclic_callback(struct virt_dma_desc *vd) in vchan_cyclic_callback()
145 static inline void vchan_terminate_vdesc(struct virt_dma_desc *vd) in vchan_terminate_vdesc()
164 struct virt_dma_desc, node); in vchan_next_desc()
[all …]
H A Dvirt-dma.c14 static struct virt_dma_desc *to_virt_desc(struct dma_async_tx_descriptor *tx) in to_virt_desc()
16 return container_of(tx, struct virt_dma_desc, tx); in to_virt_desc()
22 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_submit()
52 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_desc_free()
66 struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *vc, in vchan_find_desc()
69 struct virt_dma_desc *vd; in vchan_find_desc()
86 struct virt_dma_desc *vd, *_vd; in vchan_complete()
114 struct virt_dma_desc *vd, *_vd; in vchan_dma_desc_free_list()
H A Dpxa_dma.c544 struct virt_dma_desc *vd2) in pxad_desc_chain()
555 struct virt_dma_desc *vd) in pxad_try_hotchain()
575 struct virt_dma_desc, node); in pxad_try_hotchain()
607 struct virt_dma_desc *vd, *tmp; in pxad_chan_handler()
656 struct virt_dma_desc, node); in pxad_chan_handler()
777 struct virt_dma_desc *vd_chained = NULL, in pxad_tx_submit()
800 struct virt_dma_desc, node); in pxad_tx_submit()
826 struct virt_dma_desc *vd_first; in pxad_issue_pending()
834 struct virt_dma_desc, node); in pxad_issue_pending()
1079 struct virt_dma_desc *vd = NULL; in pxad_terminate_all()
[all …]
H A Duniphier-mdmac.c52 struct virt_dma_desc vd;
81 to_uniphier_mdmac_desc(struct virt_dma_desc *vd) in to_uniphier_mdmac_desc()
90 struct virt_dma_desc *vd; in uniphier_mdmac_next_desc()
286 struct virt_dma_desc *vd; in uniphier_mdmac_tx_status()
342 static void uniphier_mdmac_desc_free(struct virt_dma_desc *vd) in uniphier_mdmac_desc_free()
H A Dmilbeaut-xdmac.c62 struct virt_dma_desc vd;
87 to_milbeaut_xdmac_desc(struct virt_dma_desc *vd) in to_milbeaut_xdmac_desc()
96 struct virt_dma_desc *vd; in milbeaut_xdmac_next_desc()
256 static void milbeaut_xdmac_desc_free(struct virt_dma_desc *vd) in milbeaut_xdmac_desc_free()
H A Dmilbeaut-hdmac.c60 struct virt_dma_desc vd;
90 to_milbeaut_hdmac_desc(struct virt_dma_desc *vd) in to_milbeaut_hdmac_desc()
99 struct virt_dma_desc *vd; in milbeaut_hdmac_next_desc()
326 struct virt_dma_desc *vd; in milbeaut_hdmac_tx_status()
394 static void milbeaut_hdmac_desc_free(struct virt_dma_desc *vd) in milbeaut_hdmac_desc_free()
H A Didma64.h114 struct virt_dma_desc vdesc;
122 static inline struct idma64_desc *to_idma64_desc(struct virt_dma_desc *vdesc) in to_idma64_desc()
H A Dfsl-edma-common.h165 struct virt_dma_desc vdesc;
313 static inline struct fsl_edma_desc *to_fsl_edma_desc(struct virt_dma_desc *vd) in to_fsl_edma_desc()
328 void fsl_edma_free_desc(struct virt_dma_desc *vdesc);
H A Dsprd-dma.c188 struct virt_dma_desc vd;
218 static void sprd_dma_free_desc(struct virt_dma_desc *vd);
236 static inline struct sprd_dma_desc *to_sprd_dma_desc(struct virt_dma_desc *vd) in to_sprd_dma_desc()
536 struct virt_dma_desc *vd = vchan_next_desc(&schan->vc); in sprd_dma_start()
644 struct virt_dma_desc *cur_vd = NULL; in sprd_dma_free_chan_resources()
666 struct virt_dma_desc *vd; in sprd_dma_tx_status()
1076 struct virt_dma_desc *cur_vd = NULL; in sprd_dma_terminate_all()
1096 static void sprd_dma_free_desc(struct virt_dma_desc *vd) in sprd_dma_free_desc()
H A Dmoxart-dma.c125 struct virt_dma_desc vd;
178 static void moxart_dma_desc_free(struct virt_dma_desc *vd) in moxart_dma_desc_free()
419 struct virt_dma_desc *vd; in moxart_dma_start_desc()
479 struct virt_dma_desc *vd; in moxart_tx_status()
H A Duniphier-xdmac.c78 struct virt_dma_desc vd;
110 to_uniphier_xdmac_desc(struct virt_dma_desc *vd) in to_uniphier_xdmac_desc()
119 struct virt_dma_desc *vd; in uniphier_xdmac_next_desc()
449 static void uniphier_xdmac_desc_free(struct virt_dma_desc *vd) in uniphier_xdmac_desc_free()
H A Dimg-mdc-dma.c105 struct virt_dma_desc vd;
175 struct virt_dma_desc *vdesc = container_of(t, struct virt_dma_desc, tx); in to_mdc_desc()
276 static void mdc_desc_free(struct virt_dma_desc *vd) in mdc_desc_free()
526 struct virt_dma_desc *vd; in mdc_issue_desc()
575 struct virt_dma_desc *vd; in mdc_tx_status()
H A Dst_fdma.c27 static struct st_fdma_desc *to_st_fdma_desc(struct virt_dma_desc *vd) in to_st_fdma_desc()
76 struct virt_dma_desc *vdesc; in st_fdma_xfer_desc()
225 static void st_fdma_free_desc(struct virt_dma_desc *vdesc) in st_fdma_free_desc()
556 struct virt_dma_desc *vdesc, in st_fdma_desc_residue()
585 struct virt_dma_desc *vd; in st_fdma_tx_status()
/openbmc/linux/drivers/dma/hsu/
H A Dhsu.h72 struct virt_dma_desc vdesc;
81 static inline struct hsu_dma_desc *to_hsu_dma_desc(struct virt_dma_desc *vdesc) in to_hsu_dma_desc()
H A Dhsu.c118 struct virt_dma_desc *vdesc; in hsu_dma_start_transfer()
261 static void hsu_dma_desc_free(struct virt_dma_desc *vdesc) in hsu_dma_desc_free()
330 struct virt_dma_desc *vdesc; in hsu_dma_tx_status()
/openbmc/linux/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.h72 struct virt_dma_desc vdesc;
95 struct virt_dma_desc vdesc;
/openbmc/linux/drivers/dma/ptdma/
H A Dptdma-dmaengine.c21 static inline struct pt_dma_desc *to_pt_desc(struct virt_dma_desc *vd) in to_pt_desc()
40 static void pt_do_cleanup(struct virt_dma_desc *vd) in pt_do_cleanup()
73 struct virt_dma_desc *vd = vchan_next_desc(&chan->vc); in pt_next_dma_desc()
82 struct virt_dma_desc *vd; in pt_handle_active_desc()
/openbmc/linux/drivers/dma/mediatek/
H A Dmtk-hsdma.c131 struct virt_dma_desc vd;
147 struct virt_dma_desc *vd;
258 static struct mtk_hsdma_vdesc *to_hsdma_vdesc(struct virt_dma_desc *vd) in to_hsdma_vdesc()
299 static void mtk_hsdma_vdesc_free(struct virt_dma_desc *vd) in mtk_hsdma_vdesc_free()
497 struct virt_dma_desc *vd, *vd2; in mtk_hsdma_issue_vchan_pending()
659 static struct virt_dma_desc *mtk_hsdma_find_active_desc(struct dma_chan *c, in mtk_hsdma_find_active_desc()
663 struct virt_dma_desc *vd; in mtk_hsdma_find_active_desc()
682 struct virt_dma_desc *vd; in mtk_hsdma_tx_status()
H A Dmtk-cqdma.c79 struct virt_dma_desc vd;
158 static struct mtk_cqdma_vdesc *to_cqdma_vdesc(struct virt_dma_desc *vd) in to_cqdma_vdesc()
199 static void mtk_cqdma_vdesc_free(struct virt_dma_desc *vd) in mtk_cqdma_vdesc_free()
267 struct virt_dma_desc *vd, *vd2; in mtk_cqdma_issue_vchan_pending()
418 static struct virt_dma_desc *mtk_cqdma_find_active_desc(struct dma_chan *c, in mtk_cqdma_find_active_desc()
422 struct virt_dma_desc *vd; in mtk_cqdma_find_active_desc()
446 struct virt_dma_desc *vd; in mtk_cqdma_tx_status()
/openbmc/linux/drivers/dma/sf-pdma/
H A Dsf-pdma.c47 static inline struct sf_pdma_desc *to_sf_pdma_desc(struct virt_dma_desc *vd) in to_sf_pdma_desc()
156 struct virt_dma_desc *vd = NULL; in sf_pdma_desc_residue()
241 struct virt_dma_desc *vdesc; in sf_pdma_get_first_pending_desc()
246 vdesc = list_first_entry(&vchan->desc_issued, struct virt_dma_desc, node); in sf_pdma_get_first_pending_desc()
287 static void sf_pdma_free_desc(struct virt_dma_desc *vdesc) in sf_pdma_free_desc()
H A Dsf-pdma.h79 struct virt_dma_desc vdesc;
/openbmc/linux/drivers/dma/dw-axi-dmac/
H A Ddw-axi-dmac.h102 struct virt_dma_desc vd;
131 static inline struct axi_dma_desc *vd_to_axi_desc(struct virt_dma_desc *vd) in vd_to_axi_desc()
/openbmc/linux/drivers/dma/xilinx/
H A Dxdma.c88 struct virt_dma_desc vdesc;
182 static inline struct xdma_desc *to_xdma_desc(struct virt_dma_desc *vdesc) in to_xdma_desc()
213 static void xdma_free_desc(struct virt_dma_desc *vdesc) in xdma_free_desc()
284 struct virt_dma_desc *vd = vchan_next_desc(&xchan->vchan); in xdma_xfer_start()
590 struct virt_dma_desc *vd; in xdma_channel_isr()
/openbmc/linux/drivers/dma/dw-edma/
H A Ddw-edma-core.c38 struct dw_edma_desc *vd2dw_edma_desc(struct virt_dma_desc *vd) in vd2dw_edma_desc()
180 static void vchan_free_desc(struct virt_dma_desc *vdesc) in vchan_free_desc()
190 struct virt_dma_desc *vd; in dw_edma_start_transfer()
331 struct virt_dma_desc *vd; in dw_edma_device_tx_status()
601 struct virt_dma_desc *vd; in dw_edma_done_interrupt()
641 struct virt_dma_desc *vd; in dw_edma_abort_interrupt()
/openbmc/linux/drivers/dma/sh/
H A Dusb-dmac.c52 struct virt_dma_desc vd;
224 struct virt_dma_desc *vd; in usb_dmac_chan_start_desc()
507 struct virt_dma_desc *vd; in usb_dmac_chan_get_residue()
565 static void usb_dmac_virt_desc_free(struct virt_dma_desc *vd) in usb_dmac_virt_desc_free()

123