Home
last modified time | relevance | path

Searched refs:rx_sgl (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/spi/
Dspi-mt65xx.c165 struct scatterlist *tx_sgl, *rx_sgl; member
612 if (mdata->rx_sgl) { in mtk_spi_setup_dma_addr()
661 mdata->rx_sgl = NULL; in mtk_spi_dma_transfer()
679 mdata->rx_sgl = xfer->rx_sg.sgl; in mtk_spi_dma_transfer()
685 if (mdata->rx_sgl) { in mtk_spi_dma_transfer()
686 xfer->rx_dma = sg_dma_address(mdata->rx_sgl); in mtk_spi_dma_transfer()
687 mdata->rx_sgl_len = sg_dma_len(mdata->rx_sgl); in mtk_spi_dma_transfer()
810 if (mdata->rx_sgl) in mtk_spi_interrupt()
820 if (mdata->rx_sgl && (mdata->rx_sgl_len == 0)) { in mtk_spi_interrupt()
821 mdata->rx_sgl = sg_next(mdata->rx_sgl); in mtk_spi_interrupt()
[all …]
Dspi-qup.c451 struct scatterlist *tx_sgl, *rx_sgl; in spi_qup_do_dma() local
459 rx_sgl = xfer->rx_sg.sgl; in spi_qup_do_dma()
465 if (rx_sgl) in spi_qup_do_dma()
466 qup->n_words = spi_qup_sgl_get_nents_len(rx_sgl, in spi_qup_do_dma()
484 if (rx_sgl) { in spi_qup_do_dma()
485 ret = spi_qup_prep_sg(master, rx_sgl, rx_nents, in spi_qup_do_dma()
504 for (; rx_sgl && rx_nents--; rx_sgl = sg_next(rx_sgl)) in spi_qup_do_dma()
509 } while (rx_sgl || tx_sgl); in spi_qup_do_dma()
/linux-6.1.9/drivers/tty/serial/
Dfsl_lpuart.c273 struct scatterlist rx_sgl, tx_sgl[2]; member
1075 count = sport->rx_sgl.length - ring->tail; in lpuart_handle_sysrq()
1174 dma_sync_sg_for_cpu(chan->device->dev, &sport->rx_sgl, 1, in lpuart_copy_rx_to_tty()
1184 ring->head = sport->rx_sgl.length - state.residue; in lpuart_copy_rx_to_tty()
1185 BUG_ON(ring->head > sport->rx_sgl.length); in lpuart_copy_rx_to_tty()
1208 count = sport->rx_sgl.length - ring->tail; in lpuart_copy_rx_to_tty()
1226 if (ring->head >= sport->rx_sgl.length) in lpuart_copy_rx_to_tty()
1233 dma_sync_sg_for_device(chan->device->dev, &sport->rx_sgl, 1, in lpuart_copy_rx_to_tty()
1281 sg_init_one(&sport->rx_sgl, ring->buf, sport->rx_dma_rng_buf_len); in lpuart_start_rx_dma()
1282 nent = dma_map_sg(chan->device->dev, &sport->rx_sgl, 1, in lpuart_start_rx_dma()
[all …]
Dmxs-auart.c435 struct scatterlist rx_sgl; member
841 dma_unmap_sg(s->dev, &s->rx_sgl, 1, DMA_FROM_DEVICE); in dma_rx_callback()
860 struct scatterlist *sgl = &s->rx_sgl; in mxs_auart_dma_prep_rx()
Dimx.c225 struct scatterlist rx_sgl, tx_sgl[2]; member
1130 struct scatterlist *sgl = &sport->rx_sgl; in imx_uart_dma_rx_callback()
1201 struct scatterlist *sgl = &sport->rx_sgl; in imx_uart_start_rx_dma()
1521 dma_unmap_sg(sport->port.dev, &sport->rx_sgl, in imx_uart_shutdown()