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()
1096 chan->seg_v = dma_alloc_coherent(chan->dev, in xilinx_dma_alloc_chan_resources()
1097 sizeof(*chan->seg_v) * XILINX_DMA_NUM_DESCS, in xilinx_dma_alloc_chan_resources()
1099 if (!chan->seg_v) { in xilinx_dma_alloc_chan_resources()
1118 dma_free_coherent(chan->dev, sizeof(*chan->seg_v) * in xilinx_dma_alloc_chan_resources()
1119 XILINX_DMA_NUM_DESCS, chan->seg_v, in xilinx_dma_alloc_chan_resources()
1126 chan->seg_v[i].hw.next_desc = in xilinx_dma_alloc_chan_resources()
1127 lower_32_bits(chan->seg_p + sizeof(*chan->seg_v) * in xilinx_dma_alloc_chan_resources()
1129 chan->seg_v[i].hw.next_desc_msb = in xilinx_dma_alloc_chan_resources()
1130 upper_32_bits(chan->seg_p + sizeof(*chan->seg_v) * in xilinx_dma_alloc_chan_resources()
1132 chan->seg_v[i].phys = chan->seg_p + in xilinx_dma_alloc_chan_resources()
1133 sizeof(*chan->seg_v) * i; in xilinx_dma_alloc_chan_resources()
1134 list_add_tail(&chan->seg_v[i].node, in xilinx_dma_alloc_chan_resources()