Lines Matching refs:seg_v
442 struct xilinx_axidma_tx_segment *seg_v; member
913 dma_free_coherent(chan->dev, sizeof(*chan->seg_v) * in xilinx_dma_free_chan_resources()
914 XILINX_DMA_NUM_DESCS, chan->seg_v, in xilinx_dma_free_chan_resources()
1098 chan->seg_v = dma_alloc_coherent(chan->dev, in xilinx_dma_alloc_chan_resources()
1099 sizeof(*chan->seg_v) * XILINX_DMA_NUM_DESCS, in xilinx_dma_alloc_chan_resources()
1101 if (!chan->seg_v) { in xilinx_dma_alloc_chan_resources()
1120 dma_free_coherent(chan->dev, sizeof(*chan->seg_v) * in xilinx_dma_alloc_chan_resources()
1121 XILINX_DMA_NUM_DESCS, chan->seg_v, in xilinx_dma_alloc_chan_resources()
1128 chan->seg_v[i].hw.next_desc = in xilinx_dma_alloc_chan_resources()
1129 lower_32_bits(chan->seg_p + sizeof(*chan->seg_v) * in xilinx_dma_alloc_chan_resources()
1131 chan->seg_v[i].hw.next_desc_msb = in xilinx_dma_alloc_chan_resources()
1132 upper_32_bits(chan->seg_p + sizeof(*chan->seg_v) * in xilinx_dma_alloc_chan_resources()
1134 chan->seg_v[i].phys = chan->seg_p + in xilinx_dma_alloc_chan_resources()
1135 sizeof(*chan->seg_v) * i; in xilinx_dma_alloc_chan_resources()
1136 list_add_tail(&chan->seg_v[i].node, in xilinx_dma_alloc_chan_resources()