Lines Matching refs:rx_dev
1118 struct device *tx_dev, *rx_dev; in __spi_map_msg() local
1133 rx_dev = ctlr->dma_rx->device->dev; in __spi_map_msg()
1135 rx_dev = ctlr->dma_map_dev; in __spi_map_msg()
1137 rx_dev = ctlr->dev.parent; in __spi_map_msg()
1156 ret = spi_map_buf_attrs(ctlr, rx_dev, &xfer->rx_sg, in __spi_map_msg()
1169 ctlr->cur_rx_dma_dev = rx_dev; in __spi_map_msg()
1178 struct device *rx_dev = ctlr->cur_rx_dma_dev; in __spi_unmap_msg() local
1192 spi_unmap_buf_attrs(ctlr, rx_dev, &xfer->rx_sg, in __spi_unmap_msg()
1206 struct device *rx_dev = ctlr->cur_rx_dma_dev; in spi_dma_sync_for_device() local
1215 dma_sync_sgtable_for_device(rx_dev, &xfer->rx_sg, DMA_FROM_DEVICE); in spi_dma_sync_for_device()
1221 struct device *rx_dev = ctlr->cur_rx_dma_dev; in spi_dma_sync_for_cpu() local
1228 dma_sync_sgtable_for_cpu(rx_dev, &xfer->rx_sg, DMA_FROM_DEVICE); in spi_dma_sync_for_cpu()