Home
last modified time | relevance | path

Searched refs:rx_dma (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_mcux_flexcomm.c48 struct mcux_flexcomm_uart_dma_config rx_dma; member
548 if (config->rx_dma.dev == NULL) { in mcux_flexcomm_uart_rx_enable()
555 ret = dma_get_status(config->rx_dma.dev, config->rx_dma.channel, &status); in mcux_flexcomm_uart_rx_enable()
576 ret = dma_config(config->rx_dma.dev, config->rx_dma.channel, in mcux_flexcomm_uart_rx_enable()
577 (struct dma_config *) &config->rx_dma.cfg); in mcux_flexcomm_uart_rx_enable()
596 ret = dma_start(config->rx_dma.dev, config->rx_dma.channel); in mcux_flexcomm_uart_rx_enable()
618 (void)dma_get_status(config->rx_dma.dev, config->rx_dma.channel, &status); in flexcomm_uart_rx_update()
673 ret = dma_stop(config->rx_dma.dev, config->rx_dma.channel); in mcux_flexcomm_uart_rx_disable()
791 dma_reload(config->rx_dma.dev, config->rx_dma.channel, in mcux_flexcomm_uart_dma_rx_callback()
804 dma_start(config->rx_dma.dev, config->rx_dma.channel); in mcux_flexcomm_uart_dma_rx_callback()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_max32.c49 struct max32_i2c_dma_config rx_dma; member
344 dma_cfg.dma_slot = config->rx_dma.slot; in i2c_max32_rx_dma_load()
354 ret = dma_config(config->rx_dma.dev, config->rx_dma.channel, &dma_cfg); in i2c_max32_rx_dma_load()
359 return dma_start(config->rx_dma.dev, config->rx_dma.channel); in i2c_max32_rx_dma_load()
418 dma_stop(cfg->rx_dma.dev, cfg->rx_dma.channel); in i2c_max32_transfer_dma()
599 if ((cfg->tx_dma.channel != 0xFF) && (cfg->rx_dma.channel != 0xFF)) { in api_transfer()
817 if ((cfg->tx_dma.channel != 0xFF) && (cfg->rx_dma.channel != 0xFF)) { in i2c_max32_isr()
928 .rx_dma.dev = MAX32_DT_INST_DMA_CTLR(n, rx), \
929 .rx_dma.channel = MAX32_DT_INST_DMA_CELL(n, rx, channel), \
930 .rx_dma.slot = MAX32_DT_INST_DMA_CELL(n, rx, slot),
/Zephyr-latest/drivers/spi/
Dspi_max32.c48 struct max32_spi_dma_config rx_dma; member
444 } else if (channel == config->rx_dma.channel) { in spi_max32_dma_callback()
503 dma_cfg.dma_slot = config->rx_dma.slot; in spi_max32_rx_dma_load()
517 ret = dma_config(config->rx_dma.dev, config->rx_dma.channel, &dma_cfg); in spi_max32_rx_dma_load()
522 return dma_start(config->rx_dma.dev, config->rx_dma.channel); in spi_max32_rx_dma_load()
548 ret = dma_get_status(cfg->rx_dma.dev, cfg->rx_dma.channel, &status); in transceive_dma()
724 if (cfg->tx_dma.channel != 0xFF && cfg->rx_dma.channel != 0xFF) { in api_transceive()
941 .rx_dma.dev = MAX32_DT_INST_DMA_CTLR(n, rx), \
942 .rx_dma.channel = MAX32_DT_INST_DMA_CELL(n, rx, channel), \
943 .rx_dma.slot = MAX32_DT_INST_DMA_CELL(n, rx, slot),