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

/linux-4.4.14/drivers/tty/serial/
H A Dpch_uart.c252 struct scatterlist *sg_tx_p; member in struct:eg20t_port
798 struct scatterlist *sg = priv->sg_tx_p; pch_dma_tx_complete()
810 kfree(priv->sg_tx_p); pch_dma_tx_complete()
1010 priv->sg_tx_p = kzalloc(sizeof(struct scatterlist)*num, GFP_ATOMIC); dma_handle_tx()
1011 if (!priv->sg_tx_p) { dma_handle_tx()
1016 sg_init_table(priv->sg_tx_p, num); /* Initialize SG table */ dma_handle_tx()
1017 sg = priv->sg_tx_p; dma_handle_tx()
1028 sg = priv->sg_tx_p; dma_handle_tx()
1048 priv->sg_tx_p, nent, DMA_MEM_TO_DEV, dma_handle_tx()
1055 dma_sync_sg_for_device(port->dev, priv->sg_tx_p, nent, DMA_TO_DEVICE); dma_handle_tx()
/linux-4.4.14/drivers/spi/
H A Dspi-topcliff-pch.c121 struct scatterlist *sg_tx_p; member in struct:pch_spi_dma_ctrl
806 dma_sync_sg_for_cpu(&data->master->dev, dma->sg_tx_p, dma->nent, pch_spi_start_transfer()
812 kfree(dma->sg_tx_p); pch_spi_start_transfer()
1075 dma->sg_tx_p = kzalloc(sizeof(struct scatterlist)*num, GFP_ATOMIC); pch_spi_handle_dma()
1076 sg_init_table(dma->sg_tx_p, num); /* Initialize SG table */ pch_spi_handle_dma()
1078 sg = dma->sg_tx_p; pch_spi_handle_dma()
1100 sg = dma->sg_tx_p; pch_spi_handle_dma()

Completed in 199 milliseconds