Lines Matching refs:vd
87 struct virt_dma_desc vd; member
201 return container_of(t, struct bcm2835_desc, vd.tx); in to_bcm2835_dma_desc()
215 static void bcm2835_dma_desc_free(struct virt_dma_desc *vd) in bcm2835_dma_desc_free() argument
218 container_of(vd, struct bcm2835_desc, vd)); in bcm2835_dma_desc_free()
440 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in bcm2835_dma_start_desc() local
443 if (!vd) { in bcm2835_dma_start_desc()
448 list_del(&vd->node); in bcm2835_dma_start_desc()
450 c->desc = d = to_bcm2835_dma_desc(&vd->tx); in bcm2835_dma_start_desc()
488 vchan_cyclic_callback(&d->vd); in bcm2835_dma_callback()
490 vchan_cookie_complete(&c->desc->vd); in bcm2835_dma_callback()
566 struct virt_dma_desc *vd; in bcm2835_dma_tx_status() local
575 vd = vchan_find_desc(&c->vc, cookie); in bcm2835_dma_tx_status()
576 if (vd) { in bcm2835_dma_tx_status()
578 bcm2835_dma_desc_size(to_bcm2835_dma_desc(&vd->tx)); in bcm2835_dma_tx_status()
579 } else if (c->desc && c->desc->vd.tx.cookie == cookie) { in bcm2835_dma_tx_status()
637 return vchan_tx_prep(&c->vc, &d->vd, flags); in bcm2835_dma_prep_dma_memcpy()
689 return vchan_tx_prep(&c->vc, &d->vd, flags); in bcm2835_dma_prep_slave_sg()
775 return vchan_tx_prep(&c->vc, &d->vd, flags); in bcm2835_dma_prep_dma_cyclic()
798 vchan_terminate_vdesc(&c->desc->vd); in bcm2835_dma_terminate_all()