Searched refs:tx_dma_channel (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/spi/ |
D | spi_sam0.c | 41 uint8_t tx_dma_channel; member 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() 572 dma_stop(cfg->dma_dev, cfg->tx_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() 620 dma_stop(cfg->dma_dev, cfg->tx_dma_channel); in spi_sam0_transceive_async() 709 .tx_dma_channel = ATMEL_SAM0_DT_INST_DMA_CHANNEL(n, tx), \
|
/Zephyr-latest/drivers/serial/ |
D | uart_sam0.c | 52 uint8_t tx_dma_channel; member 165 dma_stop(cfg->dma_dev, cfg->tx_dma_channel); in uart_sam0_tx_halt() 169 if (dma_get_status(cfg->dma_dev, cfg->tx_dma_channel, &st) == 0) { in uart_sam0_tx_halt() 583 if (cfg->tx_dma_channel != 0xFFU) { in uart_sam0_init() 600 retval = dma_config(cfg->dma_dev, cfg->tx_dma_channel, in uart_sam0_init() 975 if (cfg->tx_dma_channel == 0xFFU) { in uart_sam0_tx() 995 retval = dma_reload(cfg->dma_dev, cfg->tx_dma_channel, (uint32_t)buf, in uart_sam0_tx() 1006 return dma_start(cfg->dma_dev, cfg->tx_dma_channel); in uart_sam0_tx() 1017 if (cfg->tx_dma_channel == 0xFFU) { in uart_sam0_tx_abort() 1261 .tx_dma_channel = ATMEL_SAM0_DT_INST_DMA_CHANNEL(n, tx), \
|
D | uart_esp32.c | 89 uint8_t tx_dma_channel; member 662 err = dma_stop(config->dma_dev, config->tx_dma_channel); in uart_esp32_async_tx_abort() 745 if (config->tx_dma_channel == 0xFF) { in uart_esp32_async_tx() 751 err = dma_get_status(config->dma_dev, config->tx_dma_channel, &dma_status); in uart_esp32_async_tx() 775 err = dma_config(config->dma_dev, config->tx_dma_channel, &dma_cfg); in uart_esp32_async_tx() 783 err = dma_start(config->dma_dev, config->tx_dma_channel); in uart_esp32_async_tx() 1030 .tx_dma_channel = ESP32_DT_INST_DMA_CELL(n, tx, channel), \
|