Lines Matching refs:rx_sgl
284 struct scatterlist rx_sgl, tx_sgl[2]; member
1079 count = sport->rx_sgl.length - ring->tail; in lpuart_handle_sysrq()
1178 dma_sync_sg_for_cpu(chan->device->dev, &sport->rx_sgl, 1, in lpuart_copy_rx_to_tty()
1188 ring->head = sport->rx_sgl.length - state.residue; in lpuart_copy_rx_to_tty()
1189 BUG_ON(ring->head > sport->rx_sgl.length); in lpuart_copy_rx_to_tty()
1212 count = sport->rx_sgl.length - ring->tail; in lpuart_copy_rx_to_tty()
1230 if (ring->head >= sport->rx_sgl.length) in lpuart_copy_rx_to_tty()
1239 dma_sync_sg_for_device(chan->device->dev, &sport->rx_sgl, 1, in lpuart_copy_rx_to_tty()
1270 ring->head = sport->rx_sgl.length - state.residue; in lpuart32_dma_idleint()
1271 count = CIRC_CNT(ring->head, ring->tail, sport->rx_sgl.length); in lpuart32_dma_idleint()
1323 ring->head = sport->rx_sgl.length - state.residue; in lpuart_timer_func()
1324 count = CIRC_CNT(ring->head, ring->tail, sport->rx_sgl.length); in lpuart_timer_func()
1375 sg_init_one(&sport->rx_sgl, ring->buf, sport->rx_dma_rng_buf_len); in lpuart_start_rx_dma()
1376 nent = dma_map_sg(chan->device->dev, &sport->rx_sgl, 1, in lpuart_start_rx_dma()
1397 sg_dma_address(&sport->rx_sgl), in lpuart_start_rx_dma()
1398 sport->rx_sgl.length, in lpuart_start_rx_dma()
1399 sport->rx_sgl.length / 2, in lpuart_start_rx_dma()
1440 dma_unmap_sg(chan->device->dev, &sport->rx_sgl, 1, DMA_FROM_DEVICE); in lpuart_dma_rx_free()