Lines Matching refs:vd
170 struct virt_dma_desc vd; member
420 return container_of(tx, struct s3c24xx_txd, vd.tx); in to_s3c24xx_txd()
514 struct virt_dma_desc *vd = vchan_next_desc(&s3cchan->vc); in s3c24xx_dma_start_next_txd() local
515 struct s3c24xx_txd *txd = to_s3c24xx_txd(&vd->tx); in s3c24xx_dma_start_next_txd()
517 list_del(&txd->vd.node); in s3c24xx_dma_start_next_txd()
643 static void s3c24xx_dma_desc_free(struct virt_dma_desc *vd) in s3c24xx_dma_desc_free() argument
645 struct s3c24xx_txd *txd = to_s3c24xx_txd(&vd->tx); in s3c24xx_dma_desc_free()
646 struct s3c24xx_dma_chan *s3cchan = to_s3c24xx_dma_chan(vd->tx.chan); in s3c24xx_dma_desc_free()
649 dma_descriptor_unmap(&vd->tx); in s3c24xx_dma_desc_free()
685 vchan_cyclic_callback(&txd->vd); in s3c24xx_dma_irq()
689 vchan_cookie_complete(&txd->vd); in s3c24xx_dma_irq()
700 vchan_cyclic_callback(&txd->vd); in s3c24xx_dma_irq()
740 s3c24xx_dma_desc_free(&s3cchan->at->vd); in s3c24xx_dma_terminate_all()
764 struct virt_dma_desc *vd; in s3c24xx_dma_tx_status() local
785 vd = vchan_find_desc(&s3cchan->vc, cookie); in s3c24xx_dma_tx_status()
786 if (vd) { in s3c24xx_dma_tx_status()
788 txd = to_s3c24xx_txd(&vd->tx); in s3c24xx_dma_tx_status()
879 return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags); in s3c24xx_dma_prep_memcpy()
976 return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags); in s3c24xx_dma_prep_dma_cyclic()
1065 return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags); in s3c24xx_dma_prep_slave_sg()