Lines Matching refs:dma_dev
39 const struct device *dma_dev; member
403 static void spi_sam0_dma_rx_done(const struct device *dma_dev, void *arg,
439 retval = dma_config(cfg->dma_dev, cfg->rx_dma_channel, in spi_sam0_dma_rx_load()
445 return dma_start(cfg->dma_dev, cfg->rx_dma_channel); in spi_sam0_dma_rx_load()
478 retval = dma_config(cfg->dma_dev, cfg->tx_dma_channel, in spi_sam0_dma_tx_load()
485 return dma_start(cfg->dma_dev, cfg->tx_dma_channel); in spi_sam0_dma_tx_load()
549 static void spi_sam0_dma_rx_done(const struct device *dma_dev, void *arg, in spi_sam0_dma_rx_done() argument
572 dma_stop(cfg->dma_dev, cfg->tx_dma_channel); in spi_sam0_dma_rx_done()
573 dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in spi_sam0_dma_rx_done()
620 dma_stop(cfg->dma_dev, cfg->tx_dma_channel); in spi_sam0_transceive_async()
621 dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in spi_sam0_transceive_async()
674 if (!device_is_ready(cfg->dma_dev)) { in spi_sam0_init()
707 .dma_dev = DEVICE_DT_GET(ATMEL_SAM0_DT_INST_DMA_CTLR(n, tx)), \