Searched refs:MSTATUS (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/i3c/ |
D | i3c_npcx.c | 322 if (WAIT_FOR(IS_BIT_SET(inst->MSTATUS, bit_offset), NPCX_I3C_CHK_TIMEOUT_US, NULL) == in npcx_i3c_status_wait_clear() 327 inst->MSTATUS = BIT(bit_offset); /* W1C */ in npcx_i3c_status_wait_clear() 334 return GET_FIELD(inst->MSTATUS, NPCX_I3C_MSTATUS_STATE); in npcx_i3c_state_get() 374 if (IS_BIT_SET(inst->MSTATUS, NPCX_I3C_MSTATUS_ERRWARN)) { in npcx_i3c_has_error() 375 LOG_ERR("ERROR: MSTATUS 0x%08x MERRWARN 0x%08x", inst->MSTATUS, inst->MERRWARN); in npcx_i3c_has_error() 387 inst->MSTATUS = mask; in npcx_i3c_status_clear_all() 680 while (IS_BIT_SET(inst->MSTATUS, NPCX_I3C_MSTATUS_TGTSTART)) { in npcx_i3c_recover_bus() 681 inst->MSTATUS = BIT(NPCX_I3C_MSTATUS_TGTSTART); /* W1C */ in npcx_i3c_recover_bus() 686 if (WAIT_FOR(IS_BIT_SET(inst->MSTATUS, NPCX_I3C_MSTATUS_COMPLETE), in npcx_i3c_recover_bus() 692 while (IS_BIT_SET(inst->MSTATUS, NPCX_I3C_MSTATUS_RXPEND)) { in npcx_i3c_recover_bus() [all …]
|
D | i3c_mcux.c | 240 mstatus = base->MSTATUS; in mcux_i3c_has_error() 308 return reg32_test(&base->MSTATUS, mask); in mcux_i3c_status_is_set() 340 return reg32_poll_timeout(&base->MSTATUS, mask, mask, timeout_us); in mcux_i3c_status_wait_timeout() 355 base->MSTATUS = mask; in mcux_i3c_status_clear() 402 base->MSTATUS = mask; in mcux_i3c_status_clear_timeout() 408 result = WAIT_FOR(!mcux_i3c_status_is_set(base, mask), timeout_us, base->MSTATUS = mask); in mcux_i3c_status_clear_timeout() 515 uint32_t mstatus = base->MSTATUS; in mcux_i3c_state_get() 643 while (reg32_test_match(&base->MSTATUS, I3C_MSTATUS_STATE_MASK, in mcux_i3c_do_request_emit_stop() 694 if (!reg32_test_match(&base->MSTATUS, I3C_MSTATUS_STATE_MASK, in mcux_i3c_request_emit_stop() 874 if (reg32_poll_timeout(&base->MSTATUS, I3C_MSTATUS_STATE_MASK, in mcux_i3c_recover_bus() [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/common/reg/ |
D | reg_def.h | 1865 volatile uint32_t MSTATUS; member
|