Home
last modified time | relevance | path

Searched refs:sg_tx_p (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/tty/serial/
Dpch_uart.c230 struct scatterlist *sg_tx_p; member
746 struct scatterlist *sg = priv->sg_tx_p; in pch_dma_tx_complete()
755 dma_unmap_sg(port->dev, priv->sg_tx_p, priv->orig_nent, DMA_TO_DEVICE); in pch_dma_tx_complete()
759 kfree(priv->sg_tx_p); in pch_dma_tx_complete()
928 priv->sg_tx_p = kmalloc_array(num, sizeof(struct scatterlist), GFP_ATOMIC); in dma_handle_tx()
929 if (!priv->sg_tx_p) { in dma_handle_tx()
934 sg_init_table(priv->sg_tx_p, num); /* Initialize SG table */ in dma_handle_tx()
935 sg = priv->sg_tx_p; in dma_handle_tx()
946 sg = priv->sg_tx_p; in dma_handle_tx()
967 priv->sg_tx_p, nent, DMA_MEM_TO_DEV, in dma_handle_tx()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-topcliff-pch.c113 struct scatterlist *sg_tx_p; member
771 dma_sync_sg_for_cpu(&data->master->dev, dma->sg_tx_p, dma->nent, in pch_spi_start_transfer()
777 kfree(dma->sg_tx_p); in pch_spi_start_transfer()
1048 dma->sg_tx_p = kmalloc_array(num, sizeof(*dma->sg_tx_p), GFP_ATOMIC); in pch_spi_handle_dma()
1049 if (!dma->sg_tx_p) in pch_spi_handle_dma()
1052 sg_init_table(dma->sg_tx_p, num); /* Initialize SG table */ in pch_spi_handle_dma()
1054 sg = dma->sg_tx_p; in pch_spi_handle_dma()
1076 sg = dma->sg_tx_p; in pch_spi_handle_dma()