Lines Matching refs:dmadev
36 struct device *dmadev; in spi_controller_dma_map_mem_op_data() local
42 dmadev = ctlr->dma_tx->device->dev; in spi_controller_dma_map_mem_op_data()
44 dmadev = ctlr->dma_rx->device->dev; in spi_controller_dma_map_mem_op_data()
46 dmadev = ctlr->dev.parent; in spi_controller_dma_map_mem_op_data()
48 if (!dmadev) in spi_controller_dma_map_mem_op_data()
51 return spi_map_buf(ctlr, dmadev, sgt, op->data.buf.in, op->data.nbytes, in spi_controller_dma_map_mem_op_data()
82 struct device *dmadev; in spi_controller_dma_unmap_mem_op_data() local
88 dmadev = ctlr->dma_tx->device->dev; in spi_controller_dma_unmap_mem_op_data()
90 dmadev = ctlr->dma_rx->device->dev; in spi_controller_dma_unmap_mem_op_data()
92 dmadev = ctlr->dev.parent; in spi_controller_dma_unmap_mem_op_data()
94 spi_unmap_buf(ctlr, dmadev, sgt, in spi_controller_dma_unmap_mem_op_data()