Lines Matching refs:vchan

226 	struct virt_dma_chan vchan;  member
248 container_of(_chan, struct xilinx_dpdma_chan, vchan.chan)
846 vdesc = vchan_next_desc(&chan->vchan); in xilinx_dpdma_chan_queue_transfer()
1176 list_empty(&chan->vchan.desc_issued)) { in xilinx_dpdma_chan_handle_err()
1179 &chan->vchan.desc_issued); in xilinx_dpdma_chan_handle_err()
1213 vchan_tx_prep(&chan->vchan, &desc->vdesc, flags | DMA_CTRL_ACK); in xilinx_dpdma_prep_interleaved_dma()
1256 vchan_free_chan_resources(&chan->vchan); in xilinx_dpdma_free_chan_resources()
1267 spin_lock_irqsave(&chan->vchan.lock, flags); in xilinx_dpdma_issue_pending()
1268 if (vchan_issue_pending(&chan->vchan)) in xilinx_dpdma_issue_pending()
1270 spin_unlock_irqrestore(&chan->vchan.lock, flags); in xilinx_dpdma_issue_pending()
1355 spin_lock_irqsave(&chan->vchan.lock, flags); in xilinx_dpdma_terminate_all()
1356 vchan_get_all_descriptors(&chan->vchan, &descriptors); in xilinx_dpdma_terminate_all()
1357 spin_unlock_irqrestore(&chan->vchan.lock, flags); in xilinx_dpdma_terminate_all()
1359 vchan_dma_desc_free_list(&chan->vchan, &descriptors); in xilinx_dpdma_terminate_all()
1384 spin_lock_irqsave(&chan->vchan.lock, flags); in xilinx_dpdma_synchronize()
1393 spin_unlock_irqrestore(&chan->vchan.lock, flags); in xilinx_dpdma_synchronize()
1395 vchan_synchronize(&chan->vchan); in xilinx_dpdma_synchronize()
1574 chan->vchan.desc_free = xilinx_dpdma_chan_free_tx_desc; in xilinx_dpdma_chan_init()
1575 vchan_init(&chan->vchan, &xdev->common); in xilinx_dpdma_chan_init()
1588 list_del(&chan->vchan.chan.device_node); in xilinx_dpdma_chan_remove()
1603 return dma_get_slave_channel(&xdev->chan[chan_id]->vchan.chan); in of_dma_xilinx_xlate()