Home
last modified time | relevance | path

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

123

/linux-5.19.10/drivers/dma/
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()
161 static inline struct virt_dma_desc *vchan_next_desc(struct virt_dma_chan *vc) in vchan_next_desc()
[all …]
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()
Dpxa_dma.c84 struct virt_dma_desc vd; /* Virtual descriptor */
534 static bool is_desc_completed(struct virt_dma_desc *vd) in is_desc_completed()
543 static void pxad_desc_chain(struct virt_dma_desc *vd1, in pxad_desc_chain()
544 struct virt_dma_desc *vd2) in pxad_desc_chain()
555 struct virt_dma_desc *vd) in pxad_try_hotchain()
557 struct virt_dma_desc *vd_last_issued = NULL; 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()
719 static void pxad_free_desc(struct virt_dma_desc *vd) in pxad_free_desc()
[all …]
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()
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()
Dfsl-edma-common.h133 struct virt_dma_desc vdesc;
220 static inline struct fsl_edma_desc *to_fsl_edma_desc(struct virt_dma_desc *vd) in to_fsl_edma_desc()
228 void fsl_edma_free_desc(struct virt_dma_desc *vdesc);
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()
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()
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()
Dmoxart-dma.c128 struct virt_dma_desc vd;
181 static void moxart_dma_desc_free(struct virt_dma_desc *vd) in moxart_dma_desc_free()
422 struct virt_dma_desc *vd; in moxart_dma_start_desc()
482 struct virt_dma_desc *vd; in moxart_tx_status()
Dhisi_dma.c84 struct virt_dma_desc vd;
116 static inline struct hisi_dma_desc *to_hisi_dma_desc(struct virt_dma_desc *vd) in to_hisi_dma_desc()
231 static void hisi_dma_desc_free(struct virt_dma_desc *vd) in hisi_dma_desc_free()
266 struct virt_dma_desc *vd; in hisi_dma_start_transfer()
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()
Dimg-mdc-dma.c106 struct virt_dma_desc vd;
176 struct virt_dma_desc *vdesc = container_of(t, struct virt_dma_desc, tx); in to_mdc_desc()
277 static void mdc_desc_free(struct virt_dma_desc *vd) in mdc_desc_free()
527 struct virt_dma_desc *vd; in mdc_issue_desc()
576 struct virt_dma_desc *vd; in mdc_tx_status()
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()
/linux-5.19.10/drivers/dma/hsu/
Dhsu.h68 struct virt_dma_desc vdesc;
77 static inline struct hsu_dma_desc *to_hsu_dma_desc(struct virt_dma_desc *vdesc) in to_hsu_dma_desc()
Dhsu.c110 struct virt_dma_desc *vdesc; in hsu_dma_start_transfer()
253 static void hsu_dma_desc_free(struct virt_dma_desc *vdesc) in hsu_dma_desc_free()
322 struct virt_dma_desc *vdesc; in hsu_dma_tx_status()
/linux-5.19.10/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.h72 struct virt_dma_desc vdesc;
95 struct virt_dma_desc vdesc;
/linux-5.19.10/drivers/dma/ptdma/
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()
/linux-5.19.10/drivers/dma/mediatek/
Dmtk-hsdma.c132 struct virt_dma_desc vd;
148 struct virt_dma_desc *vd;
259 static struct mtk_hsdma_vdesc *to_hsdma_vdesc(struct virt_dma_desc *vd) in to_hsdma_vdesc()
300 static void mtk_hsdma_vdesc_free(struct virt_dma_desc *vd) in mtk_hsdma_vdesc_free()
498 struct virt_dma_desc *vd, *vd2; in mtk_hsdma_issue_vchan_pending()
660 static struct virt_dma_desc *mtk_hsdma_find_active_desc(struct dma_chan *c, in mtk_hsdma_find_active_desc()
664 struct virt_dma_desc *vd; in mtk_hsdma_find_active_desc()
683 struct virt_dma_desc *vd; in mtk_hsdma_tx_status()
Dmtk-cqdma.c80 struct virt_dma_desc vd;
159 static struct mtk_cqdma_vdesc *to_cqdma_vdesc(struct virt_dma_desc *vd) in to_cqdma_vdesc()
200 static void mtk_cqdma_vdesc_free(struct virt_dma_desc *vd) in mtk_cqdma_vdesc_free()
268 struct virt_dma_desc *vd, *vd2; in mtk_cqdma_issue_vchan_pending()
419 static struct virt_dma_desc *mtk_cqdma_find_active_desc(struct dma_chan *c, in mtk_cqdma_find_active_desc()
423 struct virt_dma_desc *vd; in mtk_cqdma_find_active_desc()
447 struct virt_dma_desc *vd; in mtk_cqdma_tx_status()
/linux-5.19.10/drivers/dma/sf-pdma/
Dsf-pdma.c47 static inline struct sf_pdma_desc *to_sf_pdma_desc(struct virt_dma_desc *vd) in to_sf_pdma_desc()
157 struct virt_dma_desc *vd = NULL; in sf_pdma_desc_residue()
242 struct virt_dma_desc *vdesc; in sf_pdma_get_first_pending_desc()
247 vdesc = list_first_entry(&vchan->desc_issued, struct virt_dma_desc, node); in sf_pdma_get_first_pending_desc()
288 static void sf_pdma_free_desc(struct virt_dma_desc *vdesc) in sf_pdma_free_desc()
Dsf-pdma.h79 struct virt_dma_desc vdesc;
/linux-5.19.10/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac.h101 struct virt_dma_desc vd;
129 static inline struct axi_dma_desc *vd_to_axi_desc(struct virt_dma_desc *vd) in vd_to_axi_desc()
/linux-5.19.10/drivers/dma/dw-edma/
Ddw-edma-core.c38 struct dw_edma_desc *vd2dw_edma_desc(struct virt_dma_desc *vd) in vd2dw_edma_desc()
169 static void vchan_free_desc(struct virt_dma_desc *vdesc) in vchan_free_desc()
178 struct virt_dma_desc *vd; in dw_edma_start_transfer()
296 struct virt_dma_desc *vd; in dw_edma_device_tx_status()
542 struct virt_dma_desc *vd; in dw_edma_done_interrupt()
584 struct virt_dma_desc *vd; in dw_edma_abort_interrupt()
/linux-5.19.10/drivers/dma/sh/
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