Lines Matching refs:vdesc
147 void fsl_edma_free_desc(struct virt_dma_desc *vdesc) in fsl_edma_free_desc() argument
152 fsl_desc = to_fsl_edma_desc(vdesc); in fsl_edma_free_desc()
271 struct virt_dma_desc *vdesc, bool in_progress) in fsl_edma_desc_residue() argument
317 struct virt_dma_desc *vdesc; in fsl_edma_tx_status() local
329 vdesc = vchan_find_desc(&fsl_chan->vchan, cookie); in fsl_edma_tx_status()
330 if (fsl_chan->edesc && cookie == fsl_chan->edesc->vdesc.tx.cookie) in fsl_edma_tx_status()
332 fsl_edma_desc_residue(fsl_chan, vdesc, true); in fsl_edma_tx_status()
333 else if (vdesc) in fsl_edma_tx_status()
335 fsl_edma_desc_residue(fsl_chan, vdesc, false); in fsl_edma_tx_status()
521 return vchan_tx_prep(&fsl_chan->vchan, &fsl_desc->vdesc, flags); in fsl_edma_prep_dma_cyclic()
590 return vchan_tx_prep(&fsl_chan->vchan, &fsl_desc->vdesc, flags); in fsl_edma_prep_slave_sg()
613 return vchan_tx_prep(&fsl_chan->vchan, &fsl_desc->vdesc, flags); in fsl_edma_prep_memcpy()
619 struct virt_dma_desc *vdesc; in fsl_edma_xfer_desc() local
623 vdesc = vchan_next_desc(&fsl_chan->vchan); in fsl_edma_xfer_desc()
624 if (!vdesc) in fsl_edma_xfer_desc()
626 fsl_chan->edesc = to_fsl_edma_desc(vdesc); in fsl_edma_xfer_desc()