Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_npcx.c39 struct mdma_reg *mdma_reg_base; member
471 struct mdma_reg *const mdma_reg_base = config->mdma_reg_base; in uart_npcx_async_rx_dma_get_status() local
473 if (IS_BIT_SET(mdma_reg_base->MDMA_CTL0, NPCX_MDMA_CTL_MDMAEN)) { in uart_npcx_async_rx_dma_get_status()
474 *pending_length = mdma_reg_base->MDMA_CTCNT0; in uart_npcx_async_rx_dma_get_status()
537 struct mdma_reg *const mdma_reg_base = config->mdma_reg_base; in uart_npcx_async_tx_dma_get_status() local
539 if (IS_BIT_SET(mdma_reg_base->MDMA_CTL1, NPCX_MDMA_CTL_MDMAEN)) { in uart_npcx_async_tx_dma_get_status()
540 *pending_length = mdma_reg_base->MDMA_CTCNT1; in uart_npcx_async_tx_dma_get_status()
554 struct mdma_reg *const mdma_reg_base = config->mdma_reg_base; in uart_npcx_async_tx() local
575 mdma_reg_base->MDMA_SRCB1 = (uint32_t)buf; in uart_npcx_async_tx()
576 mdma_reg_base->MDMA_TCNT1 = len; in uart_npcx_async_tx()
[all …]