Lines Matching refs:seg_v
446 struct xilinx_axidma_tx_segment *seg_v; member
943 dma_free_coherent(chan->dev, sizeof(*chan->seg_v) * in xilinx_dma_free_chan_resources()
944 XILINX_DMA_NUM_DESCS, chan->seg_v, in xilinx_dma_free_chan_resources()
1126 chan->seg_v = dma_alloc_coherent(chan->dev, in xilinx_dma_alloc_chan_resources()
1127 sizeof(*chan->seg_v) * XILINX_DMA_NUM_DESCS, in xilinx_dma_alloc_chan_resources()
1129 if (!chan->seg_v) { in xilinx_dma_alloc_chan_resources()
1148 dma_free_coherent(chan->dev, sizeof(*chan->seg_v) * in xilinx_dma_alloc_chan_resources()
1149 XILINX_DMA_NUM_DESCS, chan->seg_v, in xilinx_dma_alloc_chan_resources()
1156 chan->seg_v[i].hw.next_desc = in xilinx_dma_alloc_chan_resources()
1157 lower_32_bits(chan->seg_p + sizeof(*chan->seg_v) * in xilinx_dma_alloc_chan_resources()
1159 chan->seg_v[i].hw.next_desc_msb = in xilinx_dma_alloc_chan_resources()
1160 upper_32_bits(chan->seg_p + sizeof(*chan->seg_v) * in xilinx_dma_alloc_chan_resources()
1162 chan->seg_v[i].phys = chan->seg_p + in xilinx_dma_alloc_chan_resources()
1163 sizeof(*chan->seg_v) * i; in xilinx_dma_alloc_chan_resources()
1164 list_add_tail(&chan->seg_v[i].node, in xilinx_dma_alloc_chan_resources()