Lines Matching refs:channel
256 uint32_t channel; member
431 static void spi_pl022_dma_callback(const struct device *dma_dev, void *arg, uint32_t channel,
498 ret = dma_config(dma->dev, dma->channel, dma_cfg); in spi_pl022_dma_setup()
506 ret = dma_start(dma->dev, dma->channel); in spi_pl022_dma_setup()
534 dma_stop(cfg->dma[i].dev, cfg->dma[i].channel); in spi_pl022_start_dma_transceive()
555 dma_stop(cfg->dma[i].dev, cfg->dma[i].channel); in spi_pl022_complete()
561 static void spi_pl022_dma_callback(const struct device *dma_dev, void *arg, uint32_t channel, in spi_pl022_dma_callback() argument
575 LOG_ERR("dma:%p ch:%d callback gets error: %d", dma_dev, channel, status); in spi_pl022_dma_callback()
586 if (dma_dev == cfg->dma[i].dev && channel == cfg->dma[i].channel) { in spi_pl022_dma_callback()
816 dma_stop(cfg->dma[i].dev, cfg->dma[i].channel); in spi_pl022_transceive_impl()
820 cfg->dma[i].channel, &stat); in spi_pl022_transceive_impl()
948 uint32_t ch_filter = BIT(cfg->dma[i].channel); in spi_pl022_init()
989 .channel = DT_INST_DMAS_CELL_BY_NAME(idx, dir, channel), \