Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_npcx.c539 if (IS_BIT_SET(mdma_reg_base->MDMA_CTL1, NPCX_MDMA_CTL_MDMAEN)) { in uart_npcx_async_tx_dma_get_status()
579 mdma_reg_base->MDMA_CTL1 |= BIT(NPCX_MDMA_CTL_MDMAEN) | BIT(NPCX_MDMA_CTL_SIEN); in uart_npcx_async_tx()
602 mdma_reg_base->MDMA_CTL1 &= ~BIT(NPCX_MDMA_CTL_MDMAEN); in uart_npcx_async_tx_abort()
871 if (IS_BIT_SET(mdma_reg_base->MDMA_CTL1, NPCX_MDMA_CTL_TC) && in uart_npcx_isr()
872 IS_BIT_SET(mdma_reg_base->MDMA_CTL1, NPCX_MDMA_CTL_SIEN)) { in uart_npcx_isr()
873 mdma_reg_base->MDMA_CTL1 &= ~BIT(NPCX_MDMA_CTL_SIEN); in uart_npcx_isr()
875 mdma_reg_base->MDMA_CTL1 &= ~BIT(NPCX_MDMA_CTL_TC); in uart_npcx_isr()
/Zephyr-latest/drivers/i3c/
Di3c_npcx.c848 mdma_inst->MDMA_CTL1 |= BIT(NPCX_MDMA_CTL_MDMAEN); /* Start DMA transfer */ in npcx_i3c_xfer_write_fifo_dma()
858 if (!IS_BIT_SET(mdma_inst->MDMA_CTL1, NPCX_MDMA_CTL_TC)) { in npcx_i3c_xfer_write_fifo_dma()
859 LOG_DBG("DMA busy, TC=%d", IS_BIT_SET(mdma_inst->MDMA_CTL1, NPCX_MDMA_CTL_TC)); in npcx_i3c_xfer_write_fifo_dma()
864 mdma_inst->MDMA_CTL1 &= ~BIT(NPCX_MDMA_CTL_TC); /* Clear TC, W0C */ in npcx_i3c_xfer_write_fifo_dma()
2094 mdma_inst->MDMA_CTL1 &= ~BIT(NPCX_MDMA_CTL_MDMAEN); in npcx_i3c_target_disable_mdmatb()
2095 mdma_inst->MDMA_CTL1 &= ~BIT(NPCX_MDMA_CTL_TC); /* W0C */ in npcx_i3c_target_disable_mdmatb()
2096 mdma_inst->MDMA_CTL1 &= ~BIT(NPCX_MDMA_CTL_SIEN); in npcx_i3c_target_disable_mdmatb()
2113 if (IS_BIT_SET(mdma_inst->MDMA_CTL1, NPCX_MDMA_CTL_MDMAEN) != 0) { in npcx_i3c_target_enable_mdmatb()
2114 mdma_inst->MDMA_CTL1 &= ~BIT(NPCX_MDMA_CTL_MDMAEN); in npcx_i3c_target_enable_mdmatb()
2134 mdma_inst->MDMA_CTL1 &= ~BIT(NPCX_MDMA_CTL_TC); /* W0C */ in npcx_i3c_target_enable_mdmatb()
[all …]
/Zephyr-latest/soc/nuvoton/npcx/common/
Dregisters.c235 NPCX_REG_OFFSET_CHECK(mdma_reg, MDMA_CTL1, 0x020);
/Zephyr-latest/soc/nuvoton/npcx/common/reg/
Dreg_def.h2224 volatile uint32_t MDMA_CTL1; member