Lines Matching defs:rx_sgl
261 struct scatterlist rx_sgl, tx_sgl[2];
1037 count = sport->rx_sgl.length - ring->tail;
1125 dma_sync_sg_for_cpu(chan->device->dev, &sport->rx_sgl, 1,
1135 ring->head = sport->rx_sgl.length - state.residue;
1136 BUG_ON(ring->head > sport->rx_sgl.length);
1149 * 0 <= ring->head <= sport->rx_sgl.length
1152 * 0 <= ring->tail <= sport->rx_sgl.length - 1
1159 count = sport->rx_sgl.length - ring->tail;
1171 if (ring->head >= sport->rx_sgl.length)
1178 dma_sync_sg_for_device(chan->device->dev, &sport->rx_sgl, 1,
1231 sg_init_one(&sport->rx_sgl, ring->buf, sport->rx_dma_rng_buf_len);
1232 nent = dma_map_sg(chan->device->dev, &sport->rx_sgl, 1,
1253 sg_dma_address(&sport->rx_sgl),
1254 sport->rx_sgl.length,
1255 sport->rx_sgl.length / 2,
1288 dma_unmap_sg(chan->device->dev, &sport->rx_sgl, 1, DMA_FROM_DEVICE);