Lines Matching refs:vd
91 struct virt_dma_desc vd; member
193 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in zx_dma_start_txd() local
201 if (vd) { in zx_dma_start_txd()
203 container_of(vd, struct zx_dma_desc_sw, vd); in zx_dma_start_txd()
208 list_del(&ds->vd.node); in zx_dma_start_txd()
295 vchan_cyclic_callback(&p->ds_run->vd); in zx_dma_int_handler()
297 vchan_cookie_complete(&p->ds_run->vd); in zx_dma_int_handler()
340 struct virt_dma_desc *vd; in zx_dma_tx_status() local
357 vd = vchan_find_desc(&c->vc, cookie); in zx_dma_tx_status()
358 if (vd) { in zx_dma_tx_status()
359 bytes = container_of(vd, struct zx_dma_desc_sw, vd)->size; in zx_dma_tx_status()
545 return vchan_tx_prep(&c->vc, &ds->vd, flags); in zx_dma_prep_memcpy()
603 return vchan_tx_prep(&c->vc, &ds->vd, flags); in zx_dma_prep_slave_sg()
646 return vchan_tx_prep(&c->vc, &ds->vd, flags); in zx_dma_prep_dma_cyclic()
718 static void zx_dma_free_desc(struct virt_dma_desc *vd) in zx_dma_free_desc() argument
721 container_of(vd, struct zx_dma_desc_sw, vd); in zx_dma_free_desc()
722 struct zx_dma_dev *d = to_zx_dma(vd->tx.chan->device); in zx_dma_free_desc()