Lines Matching refs:tx_dev
1118 struct device *tx_dev, *rx_dev; in __spi_map_msg() local
1126 tx_dev = ctlr->dma_tx->device->dev; in __spi_map_msg()
1128 tx_dev = ctlr->dma_map_dev; in __spi_map_msg()
1130 tx_dev = ctlr->dev.parent; in __spi_map_msg()
1147 ret = spi_map_buf_attrs(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg()
1160 spi_unmap_buf_attrs(ctlr, tx_dev, in __spi_map_msg()
1170 ctlr->cur_tx_dma_dev = tx_dev; in __spi_map_msg()
1179 struct device *tx_dev = ctlr->cur_tx_dma_dev; in __spi_unmap_msg() local
1194 spi_unmap_buf_attrs(ctlr, tx_dev, &xfer->tx_sg, in __spi_unmap_msg()
1207 struct device *tx_dev = ctlr->cur_tx_dma_dev; in spi_dma_sync_for_device() local
1213 dma_sync_sgtable_for_device(tx_dev, &xfer->tx_sg, DMA_TO_DEVICE); in spi_dma_sync_for_device()
1222 struct device *tx_dev = ctlr->cur_tx_dma_dev; in spi_dma_sync_for_cpu() local
1230 dma_sync_sgtable_for_cpu(tx_dev, &xfer->tx_sg, DMA_TO_DEVICE); in spi_dma_sync_for_cpu()