Home
last modified time | relevance | path

Searched refs:virt_dma_desc (Results 1 - 25 of 113) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/dma/
H A Dvirt-dma.h15 struct virt_dma_desc { struct
25 void (*desc_free)(struct virt_dma_desc *);
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_des
[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 Dfsl-edma-common.h132 struct virt_dma_desc vdesc;
219 static inline struct fsl_edma_desc *to_fsl_edma_desc(struct virt_dma_desc *vd) in to_fsl_edma_desc()
227 void fsl_edma_free_desc(struct virt_dma_desc *vdesc);
H A 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()
657 struct virt_dma_desc, node); in pxad_chan_handler()
720 static void pxad_free_desc(struct virt_dma_desc *v
[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-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 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()
257 static void milbeaut_xdmac_desc_free(struct virt_dma_desc *vd) in milbeaut_xdmac_desc_free()
/kernel/linux/linux-6.6/drivers/dma/
H A Dvirt-dma.h15 struct virt_dma_desc { struct
25 void (*desc_free)(struct virt_dma_desc *);
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_des
[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.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 *v
[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 Dfsl-edma-common.h164 struct virt_dma_desc vdesc;
311 static inline struct fsl_edma_desc *to_fsl_edma_desc(struct virt_dma_desc *vd) in to_fsl_edma_desc()
326 void fsl_edma_free_desc(struct virt_dma_desc *vdesc);
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 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()
/kernel/linux/linux-5.10/drivers/dma/hsu/
H A 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()
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.h72 struct virt_dma_desc vdesc;
95 struct virt_dma_desc vdesc;
/kernel/linux/linux-6.6/drivers/dma/fsl-dpaa2-qdma/
H A Ddpaa2-qdma.h72 struct virt_dma_desc vdesc;
95 struct virt_dma_desc vdesc;
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/dma/mediatek/
H A Dmtk-hsdma.c125 * @vd: An instance for struct virt_dma_desc
132 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()
H A Dmtk-cqdma.c70 * @vd: An instance for struct virt_dma_desc
80 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()
/kernel/linux/linux-6.6/drivers/dma/mediatek/
H A Dmtk-hsdma.c124 * @vd: An instance for struct virt_dma_desc
131 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.c69 * @vd: An instance for struct virt_dma_desc
79 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()
/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()

Completed in 24 milliseconds

12345