Lines Matching refs:npcx_i3c_state_get
332 static inline uint32_t npcx_i3c_state_get(struct i3c_reg *inst) in npcx_i3c_state_get() function
536 uint32_t i3c_state = npcx_i3c_state_get(inst); in npcx_i3c_request_emit_stop()
562 state = npcx_i3c_state_get(inst); in npcx_i3c_request_hdr_exit()
585 state = npcx_i3c_state_get(inst); in npcx_i3c_xfer_stop()
675 if (npcx_i3c_state_get(inst) == MSTATUS_STATE_NORMACT) { in npcx_i3c_recover_bus()
706 if (WAIT_FOR((npcx_i3c_state_get(inst) == MSTATUS_STATE_IDLE), NPCX_I3C_CHK_TIMEOUT_US, in npcx_i3c_recover_bus()
1141 if (WAIT_FOR((npcx_i3c_state_get(inst) == MSTATUS_STATE_IDLE), NPCX_I3C_CHK_TIMEOUT_US, in npcx_i3c_transfer()
1143 LOG_ERR("%s: xfer state error: %d", __func__, npcx_i3c_state_get(inst)); in npcx_i3c_transfer()
1324 if (WAIT_FOR((npcx_i3c_state_get(inst) == MSTATUS_STATE_IDLE), NPCX_I3C_CHK_TIMEOUT_US, in npcx_i3c_do_daa()
1326 LOG_ERR("%s: DAA state error: %d", __func__, npcx_i3c_state_get(inst)); in npcx_i3c_do_daa()
1370 if ((npcx_i3c_state_get(inst) == MSTATUS_STATE_DAA) && in npcx_i3c_do_daa()
1456 npcx_i3c_state_get(inst) != MSTATUS_STATE_IDLE); in npcx_i3c_do_daa()
1624 if (npcx_i3c_state_get(inst) != MSTATUS_STATE_TGTREQ) { in npcx_i3c_ibi_work()
1627 npcx_i3c_state_get(inst)); in npcx_i3c_ibi_work()