Lines Matching defs:vd
81 struct virt_dma_desc vd;
140 return container_of(t, struct bcm2835_desc, vd.tx);
143 static void bcm2835_dma_desc_free(struct virt_dma_desc *vd)
145 struct bcm2835_desc *desc = container_of(vd, struct bcm2835_desc, vd);
146 dma_free_coherent(desc->vd.tx.chan->device->dev,
190 struct virt_dma_desc *vd = vchan_next_desc(&c->vc);
193 if (!vd) {
198 list_del(&vd->node);
200 c->desc = d = to_bcm2835_dma_desc(&vd->tx);
221 vchan_cyclic_callback(&d->vd);
287 struct virt_dma_desc *vd;
296 vd = vchan_find_desc(&c->vc, cookie);
297 if (vd) {
299 bcm2835_dma_desc_size(to_bcm2835_dma_desc(&vd->tx));
300 } else if (c->desc && c->desc->vd.tx.cookie == cookie) {
436 return vchan_tx_prep(&c->vc, &d->vd, flags);