Lines Matching refs:vd
94 struct virt_dma_desc vd; member
208 return container_of(t, struct bcm2835_desc, vd.tx); in to_bcm2835_dma_desc()
222 static void bcm2835_dma_desc_free(struct virt_dma_desc *vd) in bcm2835_dma_desc_free() argument
225 container_of(vd, struct bcm2835_desc, vd)); in bcm2835_dma_desc_free()
455 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in bcm2835_dma_start_desc() local
458 if (!vd) { in bcm2835_dma_start_desc()
463 list_del(&vd->node); in bcm2835_dma_start_desc()
465 c->desc = d = to_bcm2835_dma_desc(&vd->tx); in bcm2835_dma_start_desc()
496 vchan_cyclic_callback(&d->vd); in bcm2835_dma_callback()
502 vchan_cookie_complete(&c->desc->vd); in bcm2835_dma_callback()
574 struct virt_dma_desc *vd; in bcm2835_dma_tx_status() local
583 vd = vchan_find_desc(&c->vc, cookie); in bcm2835_dma_tx_status()
584 if (vd) { in bcm2835_dma_tx_status()
586 bcm2835_dma_desc_size(to_bcm2835_dma_desc(&vd->tx)); in bcm2835_dma_tx_status()
587 } else if (c->desc && c->desc->vd.tx.cookie == cookie) { in bcm2835_dma_tx_status()
645 return vchan_tx_prep(&c->vc, &d->vd, flags); in bcm2835_dma_prep_dma_memcpy()
697 return vchan_tx_prep(&c->vc, &d->vd, flags); in bcm2835_dma_prep_slave_sg()
773 return vchan_tx_prep(&c->vc, &d->vd, flags); in bcm2835_dma_prep_dma_cyclic()
815 vchan_terminate_vdesc(&c->desc->vd); in bcm2835_dma_terminate_all()