Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/tty/serial/
Dpch_uart.c231 struct scatterlist *sg_tx_p; member
743 struct scatterlist *sg = priv->sg_tx_p; in pch_dma_tx_complete()
756 kfree(priv->sg_tx_p); in pch_dma_tx_complete()
927 priv->sg_tx_p = kmalloc_array(num, sizeof(struct scatterlist), GFP_ATOMIC); in dma_handle_tx()
928 if (!priv->sg_tx_p) { in dma_handle_tx()
933 sg_init_table(priv->sg_tx_p, num); /* Initialize SG table */ in dma_handle_tx()
934 sg = priv->sg_tx_p; in dma_handle_tx()
945 sg = priv->sg_tx_p; in dma_handle_tx()
966 priv->sg_tx_p, nent, DMA_MEM_TO_DEV, in dma_handle_tx()
973 dma_sync_sg_for_device(port->dev, priv->sg_tx_p, nent, DMA_TO_DEVICE); in dma_handle_tx()
/linux-5.19.10/drivers/spi/
Dspi-topcliff-pch.c113 struct scatterlist *sg_tx_p; member
800 dma_sync_sg_for_cpu(&data->master->dev, dma->sg_tx_p, dma->nent, in pch_spi_start_transfer()
806 kfree(dma->sg_tx_p); in pch_spi_start_transfer()
1077 dma->sg_tx_p = kmalloc_array(num, sizeof(*dma->sg_tx_p), GFP_ATOMIC); in pch_spi_handle_dma()
1078 if (!dma->sg_tx_p) in pch_spi_handle_dma()
1081 sg_init_table(dma->sg_tx_p, num); /* Initialize SG table */ in pch_spi_handle_dma()
1083 sg = dma->sg_tx_p; in pch_spi_handle_dma()
1105 sg = dma->sg_tx_p; in pch_spi_handle_dma()