Searched refs:sg_tx (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/drivers/spi/ |
D | spi-davinci.c | 594 struct scatterlist sg_rx, sg_tx; in davinci_spi_bufs() local 665 sg_init_table(&sg_tx, 1); in davinci_spi_bufs() 676 sg_dma_address(&sg_tx) = t->tx_dma; in davinci_spi_bufs() 677 sg_dma_len(&sg_tx) = t->len; in davinci_spi_bufs() 686 &sg_tx, 1, DMA_MEM_TO_DEV, in davinci_spi_bufs()
|
D | spi-topcliff-pch.c | 123 struct scatterlist sg_tx; member
|
/linux-4.1.27/drivers/tty/serial/ |
D | atmel_serial.c | 163 struct scatterlist sg_tx; member 732 xmit->tail += sg_dma_len(&atmel_port->sg_tx); in atmel_complete_tx_dma() 735 port->icount.tx += sg_dma_len(&atmel_port->sg_tx); in atmel_complete_tx_dma() 765 dma_unmap_sg(port->dev, &atmel_port->sg_tx, 1, in atmel_release_tx_dma() 783 struct scatterlist *sg = &atmel_port->sg_tx; in atmel_tx_dma() 854 sg_init_table(&atmel_port->sg_tx, 1); in atmel_prepare_tx_dma() 857 sg_set_page(&atmel_port->sg_tx, in atmel_prepare_tx_dma() 862 &atmel_port->sg_tx, in atmel_prepare_tx_dma() 871 sg_dma_len(&atmel_port->sg_tx), in atmel_prepare_tx_dma() 873 sg_dma_address(&atmel_port->sg_tx)); in atmel_prepare_tx_dma()
|
D | sh-sci.c | 110 struct scatterlist sg_tx; member 1265 xmit->tail += sg_dma_len(&s->sg_tx); in sci_dma_tx_complete() 1268 port->icount.tx += sg_dma_len(&s->sg_tx); in sci_dma_tx_complete() 1478 struct scatterlist *sg = &s->sg_tx; in work_fn_tx() 1682 sg_init_table(&s->sg_tx, 1); in sci_request_dma() 1685 sg_set_page(&s->sg_tx, virt_to_page(port->state->xmit.buf), in sci_request_dma() 1688 nent = dma_map_sg(port->dev, &s->sg_tx, 1, DMA_TO_DEVICE); in sci_request_dma() 1694 sg_dma_len(&s->sg_tx), port->state->xmit.buf, in sci_request_dma() 1695 &sg_dma_address(&s->sg_tx)); in sci_request_dma()
|