Lines Matching full:tx_desc

585  * @tx_desc: tx descriptor to dump
590 struct xilinx_dpdma_tx_desc *tx_desc) in xilinx_dpdma_chan_dump_tx_desc() argument
599 list_for_each_entry(sw_desc, &tx_desc->descriptors, node) { in xilinx_dpdma_chan_dump_tx_desc()
636 struct xilinx_dpdma_tx_desc *tx_desc; in xilinx_dpdma_chan_alloc_tx_desc() local
638 tx_desc = kzalloc(sizeof(*tx_desc), GFP_NOWAIT); in xilinx_dpdma_chan_alloc_tx_desc()
639 if (!tx_desc) in xilinx_dpdma_chan_alloc_tx_desc()
642 INIT_LIST_HEAD(&tx_desc->descriptors); in xilinx_dpdma_chan_alloc_tx_desc()
643 tx_desc->chan = chan; in xilinx_dpdma_chan_alloc_tx_desc()
644 tx_desc->error = false; in xilinx_dpdma_chan_alloc_tx_desc()
646 return tx_desc; in xilinx_dpdma_chan_alloc_tx_desc()
691 struct xilinx_dpdma_tx_desc *tx_desc; in xilinx_dpdma_chan_prep_cyclic() local
696 tx_desc = xilinx_dpdma_chan_alloc_tx_desc(chan); in xilinx_dpdma_chan_prep_cyclic()
697 if (!tx_desc) in xilinx_dpdma_chan_prep_cyclic()
727 list_add_tail(&sw_desc->node, &tx_desc->descriptors); in xilinx_dpdma_chan_prep_cyclic()
733 sw_desc = list_first_entry(&tx_desc->descriptors, in xilinx_dpdma_chan_prep_cyclic()
743 return vchan_tx_prep(&chan->vchan, &tx_desc->vdesc, flags); in xilinx_dpdma_chan_prep_cyclic()
746 xilinx_dpdma_chan_free_tx_desc(&tx_desc->vdesc); in xilinx_dpdma_chan_prep_cyclic()
766 struct xilinx_dpdma_tx_desc *tx_desc; in xilinx_dpdma_chan_prep_interleaved_dma() local
779 tx_desc = xilinx_dpdma_chan_alloc_tx_desc(chan); in xilinx_dpdma_chan_prep_interleaved_dma()
780 if (!tx_desc) in xilinx_dpdma_chan_prep_interleaved_dma()
785 xilinx_dpdma_chan_free_tx_desc(&tx_desc->vdesc); in xilinx_dpdma_chan_prep_interleaved_dma()
804 list_add_tail(&sw_desc->node, &tx_desc->descriptors); in xilinx_dpdma_chan_prep_interleaved_dma()
806 return tx_desc; in xilinx_dpdma_chan_prep_interleaved_dma()