/kernel/linux/linux-5.10/drivers/dma/ |
D | virt-dma.h | 15 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 …]
|
D | virt-dma.c | 14 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()
|
D | pxa_dma.c | 84 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 *vd) in pxad_free_desc() [all …]
|
D | uniphier-mdmac.c | 52 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()
|
D | milbeaut-xdmac.c | 62 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()
|
D | fsl-edma-common.h | 132 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);
|
D | milbeaut-hdmac.c | 60 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()
|
D | idma64.h | 114 struct virt_dma_desc vdesc; 122 static inline struct idma64_desc *to_idma64_desc(struct virt_dma_desc *vdesc) in to_idma64_desc()
|
D | sprd-dma.c | 188 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() 1079 struct virt_dma_desc *cur_vd = NULL; in sprd_dma_terminate_all() 1099 static void sprd_dma_free_desc(struct virt_dma_desc *vd) in sprd_dma_free_desc()
|
D | hisi_dma.c | 84 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() 240 static void hisi_dma_desc_free(struct virt_dma_desc *vd) in hisi_dma_desc_free() 275 struct virt_dma_desc *vd; in hisi_dma_start_transfer()
|
D | uniphier-xdmac.c | 78 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()
|
D | moxart-dma.c | 128 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()
|
D | img-mdc-dma.c | 106 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()
|
D | st_fdma.c | 27 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()
|
/kernel/linux/linux-5.10/drivers/dma/hsu/ |
D | hsu.h | 68 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()
|
D | hsu.c | 110 struct virt_dma_desc *vdesc; in hsu_dma_start_transfer() 250 static void hsu_dma_desc_free(struct virt_dma_desc *vdesc) in hsu_dma_desc_free() 319 struct virt_dma_desc *vdesc; in hsu_dma_tx_status()
|
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/ |
D | dpaa2-qdma.h | 72 struct virt_dma_desc vdesc; 95 struct virt_dma_desc vdesc;
|
/kernel/linux/linux-5.10/drivers/dma/mediatek/ |
D | mtk-hsdma.c | 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()
|
D | mtk-cqdma.c | 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-5.10/drivers/dma/sf-pdma/ |
D | sf-pdma.c | 47 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()
|
D | sf-pdma.h | 83 struct virt_dma_desc vdesc;
|
/kernel/linux/linux-5.10/drivers/dma/dw-axi-dmac/ |
D | dw-axi-dmac.h | 86 struct virt_dma_desc vd; 101 static inline struct axi_dma_desc *vd_to_axi_desc(struct virt_dma_desc *vd) in vd_to_axi_desc()
|
/kernel/linux/linux-5.10/drivers/dma/dw-edma/ |
D | dw-edma-core.c | 38 struct dw_edma_desc *vd2dw_edma_desc(struct virt_dma_desc *vd) in vd2dw_edma_desc() 164 static void vchan_free_desc(struct virt_dma_desc *vdesc) in vchan_free_desc() 173 struct virt_dma_desc *vd; in dw_edma_start_transfer() 292 struct virt_dma_desc *vd; in dw_edma_device_tx_status() 489 struct virt_dma_desc *vd; in dw_edma_done_interrupt() 531 struct virt_dma_desc *vd; in dw_edma_abort_interrupt()
|
/kernel/linux/linux-5.10/drivers/staging/mt7621-dma/ |
D | hsdma-mt7621.c | 138 struct virt_dma_desc vdesc; 178 struct virt_dma_desc *vdesc) in to_mtk_hsdma_desc() 387 struct virt_dma_desc *vdesc; in gdma_next_desc() 495 static void mtk_hsdma_desc_free(struct virt_dma_desc *vdesc) in mtk_hsdma_desc_free()
|
/kernel/linux/linux-5.10/drivers/staging/ralink-gdma/ |
D | ralink-gdma.c | 97 struct virt_dma_desc vdesc; 150 static struct gdma_dma_desc *to_gdma_dma_desc(struct virt_dma_desc *vdesc) in to_gdma_dma_desc() 415 struct virt_dma_desc *vdesc; in gdma_next_desc() 660 struct virt_dma_desc *vdesc; in gdma_dma_tx_status() 699 static void gdma_dma_desc_free(struct virt_dma_desc *vdesc) in gdma_dma_desc_free()
|