Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/dma/
Dvirt-dma.h18 struct virt_dma_desc { struct
27 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);
55 struct virt_dma_desc *vd, unsigned long tx_flags) in vchan_tx_prep()
84 static inline void vchan_cookie_complete(struct virt_dma_desc *vd) in vchan_cookie_complete()
102 static inline void vchan_cyclic_callback(struct virt_dma_desc *vd) in vchan_cyclic_callback()
116 static inline struct virt_dma_desc *vchan_next_desc(struct virt_dma_chan *vc) in vchan_next_desc()
121 return list_first_entry(&vc->desc_issued, struct virt_dma_desc, node); in vchan_next_desc()
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()
42 struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *vc, in vchan_find_desc()
45 struct virt_dma_desc *vd; in vchan_find_desc()
62 struct virt_dma_desc *vd; in vchan_complete()
81 vd = list_first_entry(&head, struct virt_dma_desc, node); in vchan_complete()
97 struct virt_dma_desc *vd = list_first_entry(head, in vchan_dma_desc_free_list()
98 struct virt_dma_desc, node); in vchan_dma_desc_free_list()
Dpxa_dma.c86 struct virt_dma_desc vd; /* Virtual descriptor */
593 static bool is_desc_completed(struct virt_dma_desc *vd) in is_desc_completed()
602 static void pxad_desc_chain(struct virt_dma_desc *vd1, in pxad_desc_chain()
603 struct virt_dma_desc *vd2) in pxad_desc_chain()
614 struct virt_dma_desc *vd) in pxad_try_hotchain()
616 struct virt_dma_desc *vd_last_issued = NULL; in pxad_try_hotchain()
634 struct virt_dma_desc, node); in pxad_try_hotchain()
666 struct virt_dma_desc *vd, *tmp; in pxad_chan_handler()
706 struct virt_dma_desc, node); in pxad_chan_handler()
768 static void pxad_free_desc(struct virt_dma_desc *vd) in pxad_free_desc()
[all …]
Ddma-jz4740.c106 struct virt_dma_desc vdesc;
146 static struct jz4740_dma_desc *to_jz4740_dma_desc(struct virt_dma_desc *vdesc) in to_jz4740_dma_desc()
293 struct virt_dma_desc *vdesc; in jz4740_dma_start_transfer()
471 struct virt_dma_desc *vdesc; in jz4740_dma_tx_status()
500 static void jz4740_dma_desc_free(struct virt_dma_desc *vdesc) in jz4740_dma_desc_free()
Didma64.h116 struct virt_dma_desc vdesc;
124 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;
180 static void moxart_dma_desc_free(struct virt_dma_desc *vd) in moxart_dma_desc_free()
421 struct virt_dma_desc *vd; in moxart_dma_start_desc()
481 struct virt_dma_desc *vd; in moxart_tx_status()
Dbcm2835-dma.c89 struct virt_dma_desc vd;
149 static void bcm2835_dma_desc_free(struct virt_dma_desc *vd) in bcm2835_dma_desc_free()
199 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in bcm2835_dma_start_desc()
303 struct virt_dma_desc *vd; in bcm2835_dma_tx_status()
Ddma-axi-dmac.c86 struct virt_dma_desc vdesc;
137 static struct axi_dmac_desc *to_axi_dmac_desc(struct virt_dma_desc *vdesc) in to_axi_dmac_desc()
182 struct virt_dma_desc *vdesc; in axi_dmac_start_transfer()
488 static void axi_dmac_desc_free(struct virt_dma_desc *vdesc) in axi_dmac_desc_free()
Dimg-mdc-dma.c108 struct virt_dma_desc vd;
178 struct virt_dma_desc *vdesc = container_of(t, struct virt_dma_desc, tx); in to_mdc_desc()
279 static void mdc_desc_free(struct virt_dma_desc *vd) in mdc_desc_free()
532 struct virt_dma_desc *vd; in mdc_issue_desc()
581 struct virt_dma_desc *vd; in mdc_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()
429 struct virt_dma_desc *vdesc; in jz4780_dma_begin()
562 struct virt_dma_desc *vdesc; in jz4780_dma_tx_status()
Dfsl-edma.c157 struct virt_dma_desc vdesc;
223 static struct fsl_edma_desc *to_fsl_edma_desc(struct virt_dma_desc *vd) in to_fsl_edma_desc()
280 static void fsl_edma_free_desc(struct virt_dma_desc *vdesc) in fsl_edma_free_desc()
358 struct virt_dma_desc *vdesc, bool in_progress) in fsl_edma_desc_residue()
404 struct virt_dma_desc *vdesc; in fsl_edma_tx_status()
642 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()
Didma64.c119 struct virt_dma_desc *vdesc; in idma64_start_transfer()
235 static void idma64_vdesc_free(struct virt_dma_desc *vdesc) in idma64_vdesc_free()
379 struct virt_dma_desc *vdesc; in idma64_tx_status()
Dk3dma.c67 struct virt_dma_desc vd;
233 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in k3_dma_start_txd()
335 struct virt_dma_desc *vd; in k3_dma_tx_status()
643 static void k3_dma_free_desc(struct virt_dma_desc *vd) in k3_dma_free_desc()
Dqcom_bam_dma.c67 struct virt_dma_desc vd;
826 struct virt_dma_desc *vd; in bam_tx_status()
884 struct virt_dma_desc *vd = vchan_next_desc(&bchan->vc); in bam_start_dma()
992 static void bam_dma_free_desc(struct virt_dma_desc *vd) in bam_dma_free_desc()
Dsun6i-dma.c130 struct virt_dma_desc vd;
332 static void sun6i_dma_free_desc(struct virt_dma_desc *vd) in sun6i_dma_free_desc()
361 struct virt_dma_desc *desc = vchan_next_desc(&vchan->vc); in sun6i_dma_start_desc()
741 struct virt_dma_desc *vd; in sun6i_dma_tx_status()
Dzx296702_dma.c91 struct virt_dma_desc vd;
193 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in zx_dma_start_txd()
340 struct virt_dma_desc *vd; in zx_dma_tx_status()
718 static void zx_dma_free_desc(struct virt_dma_desc *vd) in zx_dma_free_desc()
Ds3c24xx-dma.c170 struct virt_dma_desc vd;
514 struct virt_dma_desc *vd = vchan_next_desc(&s3cchan->vc); in s3c24xx_dma_start_next_txd()
643 static void s3c24xx_dma_desc_free(struct virt_dma_desc *vd) in s3c24xx_dma_desc_free()
764 struct virt_dma_desc *vd; in s3c24xx_dma_tx_status()
Dsa11x0-dma.c77 struct virt_dma_desc vd;
142 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in sa11x0_dma_next_desc()
147 static void sa11x0_dma_free_desc(struct virt_dma_desc *vd) in sa11x0_dma_free_desc()
427 struct virt_dma_desc *vd; in sa11x0_dma_tx_status()
Domap-dma.c67 struct virt_dma_desc vd;
180 static void omap_dma_desc_free(struct virt_dma_desc *vd) in omap_dma_desc_free()
390 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in omap_dma_start_desc()
704 struct virt_dma_desc *vd; in omap_dma_tx_status()
Damba-pl08x.c186 struct virt_dma_desc vd;
400 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); in pl08x_start_next_txd()
1172 static void pl08x_desc_free(struct virt_dma_desc *vd) in pl08x_desc_free()
1219 struct virt_dma_desc *vd; in pl08x_dma_tx_status()
Dedma.c165 struct virt_dma_desc vdesc;
737 static void edma_desc_free(struct virt_dma_desc *vdesc) in edma_desc_free()
746 struct virt_dma_desc *vdesc; in edma_execute()
1737 struct virt_dma_desc *vdesc; in edma_tx_status()
/linux-4.4.14/drivers/dma/hsu/
Dhsu.h67 struct virt_dma_desc vdesc;
75 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()
206 static void hsu_dma_desc_free(struct virt_dma_desc *vdesc) in hsu_dma_desc_free()
281 struct virt_dma_desc *vdesc; in hsu_dma_tx_status()
/linux-4.4.14/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()