Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/dma/
Dvirt-dma.h18 struct virt_dma_desc { struct
27 void (*desc_free)(struct virt_dma_desc *); argument
37 struct virt_dma_desc *cyclic;
38 struct virt_dma_desc *vd_terminated;
48 struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *, dma_cookie_t);
59 struct virt_dma_desc *vd, unsigned long tx_flags) in vchan_tx_prep()
93 static inline void vchan_cookie_complete(struct virt_dma_desc *vd) in vchan_cookie_complete()
111 static inline void vchan_vdesc_fini(struct virt_dma_desc *vd) in vchan_vdesc_fini()
125 static inline void vchan_cyclic_callback(struct virt_dma_desc *vd) in vchan_cyclic_callback()
139 static inline void vchan_terminate_vdesc(struct virt_dma_desc *vd) in vchan_terminate_vdesc()
[all …]
Dvirt-dma.c17 static struct virt_dma_desc *to_virt_desc(struct dma_async_tx_descriptor *tx) in to_virt_desc()
19 return container_of(tx, struct virt_dma_desc, tx); in to_virt_desc()
25 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_submit()
55 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_desc_free()
69 struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *vc, in vchan_find_desc()
72 struct virt_dma_desc *vd; in vchan_find_desc()
89 struct virt_dma_desc *vd, *_vd; in vchan_complete()
118 struct virt_dma_desc *vd, *_vd; in vchan_dma_desc_free_list()
Dpxa_dma.c87 struct virt_dma_desc vd; /* Virtual descriptor */
583 static bool is_desc_completed(struct virt_dma_desc *vd) in is_desc_completed()
592 static void pxad_desc_chain(struct virt_dma_desc *vd1, in pxad_desc_chain()
593 struct virt_dma_desc *vd2) in pxad_desc_chain()
604 struct virt_dma_desc *vd) in pxad_try_hotchain()
606 struct virt_dma_desc *vd_last_issued = NULL; in pxad_try_hotchain()
624 struct virt_dma_desc, node); in pxad_try_hotchain()
656 struct virt_dma_desc *vd, *tmp; in pxad_chan_handler()
706 struct virt_dma_desc, node); in pxad_chan_handler()
769 static void pxad_free_desc(struct virt_dma_desc *vd) in pxad_free_desc()
[all …]
Ddma-jz4740.c104 struct virt_dma_desc vdesc;
144 static struct jz4740_dma_desc *to_jz4740_dma_desc(struct virt_dma_desc *vdesc) in to_jz4740_dma_desc()
291 struct virt_dma_desc *vdesc; in jz4740_dma_start_transfer()
469 struct virt_dma_desc *vdesc; in jz4740_dma_tx_status()
498 static void jz4740_dma_desc_free(struct virt_dma_desc *vdesc) in jz4740_dma_desc_free()
Didma64.h117 struct virt_dma_desc vdesc;
125 static inline struct idma64_desc *to_idma64_desc(struct virt_dma_desc *vdesc) in to_idma64_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()
Ddma-jz4780.c116 struct virt_dma_desc vdesc;
160 struct virt_dma_desc *vdesc) in to_jz4780_dma_desc()
209 static void jz4780_dma_desc_free(struct virt_dma_desc *vdesc) in jz4780_dma_desc_free()
433 struct virt_dma_desc *vdesc; in jz4780_dma_begin()
573 struct virt_dma_desc *vdesc; in jz4780_dma_tx_status()
Dimg-mdc-dma.c109 struct virt_dma_desc vd;
179 struct virt_dma_desc *vdesc = container_of(t, struct virt_dma_desc, tx); in to_mdc_desc()
280 static void mdc_desc_free(struct virt_dma_desc *vd) in mdc_desc_free()
530 struct virt_dma_desc *vd; in mdc_issue_desc()
579 struct virt_dma_desc *vd; in mdc_tx_status()
Ddma-axi-dmac.c90 struct virt_dma_desc vdesc;
141 static struct axi_dmac_desc *to_axi_dmac_desc(struct virt_dma_desc *vdesc) in to_axi_dmac_desc()
186 struct virt_dma_desc *vdesc; in axi_dmac_start_transfer()
533 static void axi_dmac_desc_free(struct virt_dma_desc *vdesc) in axi_dmac_desc_free()
Dtegra210-adma.c109 struct virt_dma_desc vd;
191 static void tegra_adma_desc_free(struct virt_dma_desc *vd) in tegra_adma_desc_free()
341 struct virt_dma_desc *vd = vchan_next_desc(&tdc->vc); in tegra_adma_start()
456 struct virt_dma_desc *vd; in tegra_adma_tx_status()
Dst_fdma.c30 static struct st_fdma_desc *to_st_fdma_desc(struct virt_dma_desc *vd) in to_st_fdma_desc()
79 struct virt_dma_desc *vdesc; in st_fdma_xfer_desc()
228 static void st_fdma_free_desc(struct virt_dma_desc *vdesc) in st_fdma_free_desc()
562 struct virt_dma_desc *vdesc, in st_fdma_desc_residue()
591 struct virt_dma_desc *vd; in st_fdma_tx_status()
Dsprd-dma.c159 struct virt_dma_desc vd;
201 static inline struct sprd_dma_desc *to_sprd_dma_desc(struct virt_dma_desc *vd) in to_sprd_dma_desc()
403 struct virt_dma_desc *vd = vchan_next_desc(&schan->vc); in sprd_dma_start()
511 struct virt_dma_desc *vd; in sprd_dma_tx_status()
830 static void sprd_dma_free_desc(struct virt_dma_desc *vd) in sprd_dma_free_desc()
Dfsl-edma.c164 struct virt_dma_desc vdesc;
230 static struct fsl_edma_desc *to_fsl_edma_desc(struct virt_dma_desc *vd) in to_fsl_edma_desc()
287 static void fsl_edma_free_desc(struct virt_dma_desc *vdesc) in fsl_edma_free_desc()
368 struct virt_dma_desc *vdesc, bool in_progress) in fsl_edma_desc_residue()
414 struct virt_dma_desc *vdesc; in fsl_edma_tx_status()
652 struct virt_dma_desc *vdesc; in fsl_edma_xfer_desc()
Dsun4i-dma.c159 struct virt_dma_desc vd;
186 static struct sun4i_dma_contract *to_sun4i_dma_contract(struct virt_dma_desc *vd) in to_sun4i_dma_contract()
329 struct virt_dma_desc *vd; in __execute_vchan_pending()
599 static void sun4i_dma_free_contract(struct virt_dma_desc *vd) in sun4i_dma_free_contract()
949 struct virt_dma_desc *vd; in sun4i_dma_tx_status()
Dowl-dma.c166 struct virt_dma_desc vd;
449 struct virt_dma_desc *vd = vchan_next_desc(&vchan->vc); in owl_dma_start_next_txd()
597 static void owl_dma_desc_free(struct virt_dma_desc *vd) in owl_dma_desc_free()
669 struct virt_dma_desc *vd; in owl_dma_tx_status()
Dbcm2835-dma.c94 struct virt_dma_desc vd;
222 static void bcm2835_dma_desc_free(struct virt_dma_desc *vd) in bcm2835_dma_desc_free()
455 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in bcm2835_dma_start_desc()
574 struct virt_dma_desc *vd; in bcm2835_dma_tx_status()
Didma64.c119 struct virt_dma_desc *vdesc; in idma64_start_transfer()
227 static void idma64_vdesc_free(struct virt_dma_desc *vdesc) in idma64_vdesc_free()
374 struct virt_dma_desc *vdesc; in idma64_tx_status()
/Linux-v4.19/drivers/dma/hsu/
Dhsu.h71 struct virt_dma_desc vdesc;
80 static inline struct hsu_dma_desc *to_hsu_dma_desc(struct virt_dma_desc *vdesc) in to_hsu_dma_desc()
Dhsu.c113 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-v4.19/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()
/Linux-v4.19/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac.h86 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()
Ddw-axi-dmac-platform.c241 static void vchan_desc_put(struct virt_dma_desc *vdesc) in vchan_desc_put()
313 struct virt_dma_desc *vd; in axi_chan_start_first_queued()
544 struct virt_dma_desc *vd; in axi_chan_handle_err()
572 struct virt_dma_desc *vd; in axi_chan_block_xfer_complete()
/Linux-v4.19/drivers/staging/mt7621-dma/
Dmtk-hsdma.c143 struct virt_dma_desc vdesc;
183 struct virt_dma_desc *vdesc) in to_mtk_hsdma_desc()
393 struct virt_dma_desc *vdesc; in gdma_next_desc()
500 static void mtk_hsdma_desc_free(struct virt_dma_desc *vdesc) in mtk_hsdma_desc_free()
Dralink-gdma.c103 struct virt_dma_desc vdesc;
156 static struct gdma_dma_desc *to_gdma_dma_desc(struct virt_dma_desc *vdesc) in to_gdma_dma_desc()
428 struct virt_dma_desc *vdesc; in gdma_next_desc()
670 struct virt_dma_desc *vdesc; in gdma_dma_tx_status()
709 static void gdma_dma_desc_free(struct virt_dma_desc *vdesc) in gdma_dma_desc_free()
/Linux-v4.19/drivers/dma/sh/
Dusb-dmac.c55 struct virt_dma_desc vd;
227 struct virt_dma_desc *vd; in usb_dmac_chan_start_desc()
510 struct virt_dma_desc *vd; in usb_dmac_chan_get_residue()
568 static void usb_dmac_virt_desc_free(struct virt_dma_desc *vd) in usb_dmac_virt_desc_free()

12