Lines Matching refs:dma_dev
53 const struct device *dma_dev; member
481 ret = dma_config(data->dma_tx.dma_dev, data->dma_tx.channel, in spi_mcux_dma_tx_load()
508 return dma_start(data->dma_tx.dma_dev, data->dma_tx.channel); in spi_mcux_dma_tx_load()
546 ret = dma_config(data->dma_rx.dma_dev, data->dma_rx.channel, in spi_mcux_dma_rx_load()
554 return dma_start(data->dma_rx.dma_dev, data->dma_rx.channel); in spi_mcux_dma_rx_load()
805 if (!device_is_ready(data->dma_tx.dma_dev)) { in spi_mcux_init()
806 LOG_ERR("%s device is not ready", data->dma_tx.dma_dev->name); in spi_mcux_init()
810 if (!device_is_ready(data->dma_rx.dma_dev)) { in spi_mcux_init()
811 LOG_ERR("%s device is not ready", data->dma_rx.dma_dev->name); in spi_mcux_init()
857 .dma_dev = DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_NAME(id, tx)), \
868 .dma_dev = DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_NAME(id, rx)), \