Searched refs:rx_sgl (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/spi/ |
D | spi-mt65xx.c | 166 struct scatterlist *tx_sgl, *rx_sgl; member 613 if (mdata->rx_sgl) { in mtk_spi_setup_dma_addr() 662 mdata->rx_sgl = NULL; in mtk_spi_dma_transfer() 680 mdata->rx_sgl = xfer->rx_sg.sgl; in mtk_spi_dma_transfer() 686 if (mdata->rx_sgl) { in mtk_spi_dma_transfer() 687 xfer->rx_dma = sg_dma_address(mdata->rx_sgl); in mtk_spi_dma_transfer() 688 mdata->rx_sgl_len = sg_dma_len(mdata->rx_sgl); in mtk_spi_dma_transfer() 799 if (mdata->rx_sgl) in mtk_spi_interrupt_thread() 809 if (mdata->rx_sgl && (mdata->rx_sgl_len == 0)) { in mtk_spi_interrupt_thread() 810 mdata->rx_sgl = sg_next(mdata->rx_sgl); in mtk_spi_interrupt_thread() [all …]
|
D | spi-pci1xxxx.c | 145 struct scatterlist *tx_sgl, *rx_sgl; member 484 p->rx_sgl = xfer->rx_sg.sgl; in pci1xxxx_spi_transfer_with_dma() 502 rx_dma_addr = sg_dma_address(p->rx_sgl); in pci1xxxx_spi_transfer_with_dma() 504 p->rx_sgl_len = sg_dma_len(p->rx_sgl); in pci1xxxx_spi_transfer_with_dma() 605 if (p->rx_sgl) in pci1xxxx_spi_setup_next_dma_transfer() 606 p->rx_sgl = sg_next(p->rx_sgl); in pci1xxxx_spi_setup_next_dma_transfer() 618 if (p->rx_sgl) { in pci1xxxx_spi_setup_next_dma_transfer() 619 rx_dma_addr = sg_dma_address(p->rx_sgl); in pci1xxxx_spi_setup_next_dma_transfer() 620 p->rx_sgl_len = sg_dma_len(p->rx_sgl); in pci1xxxx_spi_setup_next_dma_transfer()
|
D | spi-qup.c | 475 struct scatterlist *tx_sgl, *rx_sgl; in spi_qup_do_dma() local 489 rx_sgl = xfer->rx_sg.sgl; in spi_qup_do_dma() 495 if (rx_sgl) in spi_qup_do_dma() 496 qup->n_words = spi_qup_sgl_get_nents_len(rx_sgl, in spi_qup_do_dma() 514 if (rx_sgl) { in spi_qup_do_dma() 515 ret = spi_qup_prep_sg(host, rx_sgl, rx_nents, in spi_qup_do_dma() 534 for (; rx_sgl && rx_nents--; rx_sgl = sg_next(rx_sgl)) in spi_qup_do_dma() 539 } while (rx_sgl || tx_sgl); in spi_qup_do_dma()
|
/linux-6.12.1/drivers/tty/serial/ |
D | fsl_lpuart.c | 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() [all …]
|
D | mxs-auart.c | 435 struct scatterlist rx_sgl; member 816 dma_unmap_sg(s->dev, &s->rx_sgl, 1, DMA_FROM_DEVICE); in dma_rx_callback() 835 struct scatterlist *sgl = &s->rx_sgl; in mxs_auart_dma_prep_rx()
|
D | imx.c | 221 struct scatterlist rx_sgl, tx_sgl[2]; member 1182 struct scatterlist *sgl = &sport->rx_sgl; in imx_uart_dma_rx_callback() 1260 struct scatterlist *sgl = &sport->rx_sgl; in imx_uart_start_rx_dma() 1586 dma_unmap_sg(sport->port.dev, &sport->rx_sgl, in imx_uart_shutdown()
|