Home
last modified time | relevance | path

Searched refs:tx_sgl (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/spi/
Dspi-mt65xx.c165 struct scatterlist *tx_sgl, *rx_sgl; member
602 if (mdata->tx_sgl) { in mtk_spi_setup_dma_addr()
660 mdata->tx_sgl = NULL; in mtk_spi_dma_transfer()
677 mdata->tx_sgl = xfer->tx_sg.sgl; in mtk_spi_dma_transfer()
681 if (mdata->tx_sgl) { in mtk_spi_dma_transfer()
682 xfer->tx_dma = sg_dma_address(mdata->tx_sgl); in mtk_spi_dma_transfer()
683 mdata->tx_sgl_len = sg_dma_len(mdata->tx_sgl); in mtk_spi_dma_transfer()
808 if (mdata->tx_sgl) in mtk_spi_interrupt()
813 if (mdata->tx_sgl && (mdata->tx_sgl_len == 0)) { in mtk_spi_interrupt()
814 mdata->tx_sgl = sg_next(mdata->tx_sgl); in mtk_spi_interrupt()
[all …]
Dspi-qup.c451 struct scatterlist *tx_sgl, *rx_sgl; in spi_qup_do_dma() local
460 tx_sgl = xfer->tx_sg.sgl; in spi_qup_do_dma()
468 if (tx_sgl) in spi_qup_do_dma()
469 qup->n_words = spi_qup_sgl_get_nents_len(tx_sgl, in spi_qup_do_dma()
492 if (tx_sgl) { in spi_qup_do_dma()
493 ret = spi_qup_prep_sg(master, tx_sgl, tx_nents, in spi_qup_do_dma()
506 for (; tx_sgl && tx_nents--; tx_sgl = sg_next(tx_sgl)) in spi_qup_do_dma()
509 } while (rx_sgl || tx_sgl); in spi_qup_do_dma()
/linux-6.1.9/drivers/tty/serial/
Dmxs-auart.c431 struct scatterlist tx_sgl; member
522 dma_unmap_sg(s->dev, &s->tx_sgl, 1, DMA_TO_DEVICE); in dma_tx_callback()
538 struct scatterlist *sgl = &s->tx_sgl; in mxs_auart_dma_tx()
Dimx.c225 struct scatterlist rx_sgl, tx_sgl[2]; member
580 struct scatterlist *sgl = &sport->tx_sgl[0]; in imx_uart_dma_tx_callback()
619 struct scatterlist *sgl = sport->tx_sgl; in imx_uart_dma_tx()
1515 dma_unmap_sg(sport->port.dev, &sport->tx_sgl[0], in imx_uart_shutdown()
1571 struct scatterlist *sgl = &sport->tx_sgl[0]; in imx_uart_flush_buffer()
Dfsl_lpuart.c273 struct scatterlist rx_sgl, tx_sgl[2]; member
445 struct scatterlist *sgl = sport->tx_sgl; in lpuart_dma_tx()
498 struct scatterlist *sgl = &sport->tx_sgl[0]; in lpuart_dma_tx_complete()
581 dma_unmap_sg(chan->device->dev, &sport->tx_sgl[0], in lpuart_flush_buffer()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h432 u64 tx_sgl; member
Dhns3_enet.c57 static unsigned int tx_sgl = 1; variable
58 module_param(tx_sgl, uint, 0600);
59 MODULE_PARM_DESC(tx_sgl, "Minimum number of frags when using dma_map_sg() to optimize the IOMMU map…
1018 if (skb->len <= ring->tx_copybreak || !tx_sgl || in hns3_can_use_tx_sgl()
1020 skb_shinfo(skb)->nr_frags < tx_sgl)) in hns3_can_use_tx_sgl()
2239 hns3_ring_stats_update(ring, tx_sgl); in hns3_handle_tx_sgl()
Dhns3_ethtool.c40 HNS3_TQP_STAT("sgl", tx_sgl),