Lines Matching defs:vd
384 * @vd: descriptor for virt dma
396 struct virt_dma_desc vd;
412 * @desc: sdma description including vd and other special member
836 return container_of(t, struct sdma_desc, vd.tx);
841 struct virt_dma_desc *vd = vchan_next_desc(&sdmac->vc);
846 if (!vd) {
850 sdmac->desc = desc = to_sdma_desc(&vd->tx);
852 list_del(&vd->node);
900 dmaengine_desc_get_callback_invoke(&desc->vd.tx, NULL);
967 vchan_cyclic_callback(&desc->vd);
970 vchan_cookie_complete(&desc->vd);
1211 vchan_terminate_vdesc(&sdmac->desc->vd);
1442 static void sdma_desc_free(struct virt_dma_desc *vd)
1444 struct sdma_desc *desc = container_of(vd, struct sdma_desc, vd);
1636 return vchan_tx_prep(&sdmac->vc, &desc->vd, flags);
1717 return vchan_tx_prep(&sdmac->vc, &desc->vd, flags);
1760 return vchan_tx_prep(&sdmac->vc, &desc->vd, flags);
1794 return vchan_tx_prep(&sdmac->vc, &desc->vd, flags);
1881 struct virt_dma_desc *vd;
1891 vd = vchan_find_desc(&sdmac->vc, cookie);
1892 if (vd)
1893 desc = to_sdma_desc(&vd->tx);
1894 else if (sdmac->desc && sdmac->desc->vd.tx.cookie == cookie)