Searched refs:tx_sgl (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/spi/ |
D | spi-mt65xx.c | 165 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 …]
|
D | spi-qup.c | 450 struct scatterlist *tx_sgl, *rx_sgl; in spi_qup_do_dma() local 459 tx_sgl = xfer->tx_sg.sgl; in spi_qup_do_dma() 467 if (tx_sgl) in spi_qup_do_dma() 468 qup->n_words = spi_qup_sgl_get_nents_len(tx_sgl, in spi_qup_do_dma() 491 if (tx_sgl) { in spi_qup_do_dma() 492 ret = spi_qup_prep_sg(host, tx_sgl, tx_nents, in spi_qup_do_dma() 505 for (; tx_sgl && tx_nents--; tx_sgl = sg_next(tx_sgl)) in spi_qup_do_dma() 508 } while (rx_sgl || tx_sgl); in spi_qup_do_dma()
|
/Linux-v6.6/drivers/tty/serial/ |
D | mxs-auart.c | 431 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()
|
D | imx.c | 220 struct scatterlist rx_sgl, tx_sgl[2]; member 573 struct scatterlist *sgl = &sport->tx_sgl[0]; in imx_uart_dma_tx_callback() 610 struct scatterlist *sgl = sport->tx_sgl; in imx_uart_dma_tx() 1550 dma_unmap_sg(sport->port.dev, &sport->tx_sgl[0], in imx_uart_shutdown() 1618 struct scatterlist *sgl = &sport->tx_sgl[0]; in imx_uart_flush_buffer()
|
D | fsl_lpuart.c | 283 struct scatterlist rx_sgl, tx_sgl[2]; member 477 struct scatterlist *sgl = sport->tx_sgl; in lpuart_dma_tx() 530 struct scatterlist *sgl = &sport->tx_sgl[0]; in lpuart_dma_tx_complete() 611 dma_unmap_sg(chan->device->dev, &sport->tx_sgl[0], in lpuart_flush_buffer()
|
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.h | 432 u64 tx_sgl; member
|
D | hns3_enet.c | 58 static unsigned int tx_sgl = 1; variable 59 module_param(tx_sgl, uint, 0600); 60 MODULE_PARM_DESC(tx_sgl, "Minimum number of frags when using dma_map_sg() to optimize the IOMMU map… 1019 if (skb->len <= ring->tx_copybreak || !tx_sgl || in hns3_can_use_tx_sgl() 1021 skb_shinfo(skb)->nr_frags < tx_sgl)) in hns3_can_use_tx_sgl() 2248 hns3_ring_stats_update(ring, tx_sgl); in hns3_handle_tx_sgl()
|
D | hns3_ethtool.c | 40 HNS3_TQP_STAT("sgl", tx_sgl),
|