Searched refs:sg_tx_p (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/tty/serial/ |
D | pch_uart.c | 234 struct scatterlist *sg_tx_p; member 781 struct scatterlist *sg = priv->sg_tx_p; in pch_dma_tx_complete() 793 kfree(priv->sg_tx_p); in pch_dma_tx_complete() 989 priv->sg_tx_p = kcalloc(num, sizeof(struct scatterlist), GFP_ATOMIC); in dma_handle_tx() 990 if (!priv->sg_tx_p) { in dma_handle_tx() 995 sg_init_table(priv->sg_tx_p, num); /* Initialize SG table */ in dma_handle_tx() 996 sg = priv->sg_tx_p; in dma_handle_tx() 1007 sg = priv->sg_tx_p; in dma_handle_tx() 1027 priv->sg_tx_p, nent, DMA_MEM_TO_DEV, in dma_handle_tx() 1034 dma_sync_sg_for_device(port->dev, priv->sg_tx_p, nent, DMA_TO_DEVICE); in dma_handle_tx()
|
/Linux-v5.4/drivers/spi/ |
D | spi-topcliff-pch.c | 112 struct scatterlist *sg_tx_p; member 793 dma_sync_sg_for_cpu(&data->master->dev, dma->sg_tx_p, dma->nent, in pch_spi_start_transfer() 799 kfree(dma->sg_tx_p); in pch_spi_start_transfer() 1064 dma->sg_tx_p = kcalloc(num, sizeof(*dma->sg_tx_p), GFP_ATOMIC); in pch_spi_handle_dma() 1065 if (!dma->sg_tx_p) in pch_spi_handle_dma() 1068 sg_init_table(dma->sg_tx_p, num); /* Initialize SG table */ in pch_spi_handle_dma() 1070 sg = dma->sg_tx_p; in pch_spi_handle_dma() 1092 sg = dma->sg_tx_p; in pch_spi_handle_dma()
|