Home
last modified time | relevance | path

Searched refs:rx_dma_channel (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/video/
Dvideo_esp32_dvp.c52 uint8_t rx_dma_channel; member
86 ret = dma_reload(cfg->dma_dev, cfg->rx_dma_channel, 0, (uint32_t)data->active_vbuf->buffer, in video_esp32_reload_dma()
93 ret = dma_start(cfg->dma_dev, cfg->rx_dma_channel); in video_esp32_reload_dma()
152 error = dma_get_status(cfg->dma_dev, cfg->rx_dma_channel, &dma_status); in video_esp32_stream_start()
160 LOG_ERR("Rx DMA Channel %d is busy", cfg->rx_dma_channel); in video_esp32_stream_start()
200 error = dma_config(cfg->dma_dev, cfg->rx_dma_channel, &dma_cfg); in video_esp32_stream_start()
206 error = dma_start(cfg->dma_dev, cfg->rx_dma_channel); in video_esp32_stream_start()
235 ret = dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in video_esp32_stream_stop()
423 .rx_dma_channel = DT_INST_DMAS_CELL_BY_NAME(0, rx, channel),
/Zephyr-latest/drivers/serial/
Duart_sam0.c54 uint8_t rx_dma_channel; member
275 dma_reload(cfg->dma_dev, cfg->rx_dma_channel, in uart_sam0_dma_rx_done()
293 dma_start(cfg->dma_dev, cfg->rx_dma_channel); in uart_sam0_dma_rx_done()
326 dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in uart_sam0_rx_timeout()
327 if (dma_get_status(cfg->dma_dev, cfg->rx_dma_channel, in uart_sam0_rx_timeout()
341 dma_reload(cfg->dma_dev, cfg->rx_dma_channel, in uart_sam0_rx_timeout()
607 if (cfg->rx_dma_channel != 0xFFU) { in uart_sam0_init()
624 retval = dma_config(cfg->dma_dev, cfg->rx_dma_channel, in uart_sam0_init()
776 dma_start(cfg->dma_dev, cfg->rx_dma_channel); in uart_sam0_isr()
1035 if (cfg->rx_dma_channel == 0xFFU) { in uart_sam0_rx_enable()
[all …]
Duart_esp32.c90 uint8_t rx_dma_channel; member
573 dma_reload(config->dma_dev, config->rx_dma_channel, 0, in uart_esp32_dma_rx_done()
576 dma_start(config->dma_dev, config->rx_dma_channel); in uart_esp32_dma_rx_done()
620 dma_reload(config->dma_dev, config->rx_dma_channel, 0, (uint32_t)data->async.rx_buf, in uart_esp32_dma_rx_done()
622 dma_start(config->dma_dev, config->rx_dma_channel); in uart_esp32_dma_rx_done()
805 if (config->rx_dma_channel == 0xFF) { in uart_esp32_async_rx_enable()
810 err = dma_get_status(config->dma_dev, config->rx_dma_channel, &dma_status); in uart_esp32_async_rx_enable()
836 err = dma_config(config->dma_dev, config->rx_dma_channel, &dma_cfg); in uart_esp32_async_rx_enable()
848 err = dma_start(config->dma_dev, config->rx_dma_channel); in uart_esp32_async_rx_enable()
894 err = dma_stop(config->dma_dev, config->rx_dma_channel); in uart_esp32_async_rx_disable()
[all …]
/Zephyr-latest/drivers/spi/
Dspi_sam0.c43 uint8_t rx_dma_channel; member
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()
573 dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in spi_sam0_dma_rx_done()
596 if (cfg->tx_dma_channel == 0xFF || cfg->rx_dma_channel == 0xFF) { in spi_sam0_transceive_async()
621 dma_stop(cfg->dma_dev, cfg->rx_dma_channel); in spi_sam0_transceive_async()
711 .rx_dma_channel = ATMEL_SAM0_DT_INST_DMA_CHANNEL(n, rx),