Searched refs:oper_state (Results 1 – 6 of 6) sorted by relevance
155 enum npcx_i2c_oper_state oper_state; /* controller operation state */ member480 if (data->oper_state != NPCX_I2C_ERROR_RECOVERY) { in i2c_ctrl_recovery()481 data->oper_state = NPCX_I2C_ERROR_RECOVERY; in i2c_ctrl_recovery()519 data->oper_state = NPCX_I2C_IDLE; in i2c_ctrl_recovery()555 if (data->oper_state == NPCX_I2C_WAIT_START) { in i2c_ctrl_handle_write_int_event()559 data->oper_state = NPCX_I2C_WRITE_FIFO; in i2c_ctrl_handle_write_int_event()564 if (data->oper_state == NPCX_I2C_WRITE_FIFO) { in i2c_ctrl_handle_write_int_event()576 data->oper_state = NPCX_I2C_WRITE_SUSPEND; in i2c_ctrl_handle_write_int_event()582 if (data->oper_state == NPCX_I2C_WRITE_SUSPEND) { in i2c_ctrl_handle_write_int_event()589 data->oper_state = NPCX_I2C_WAIT_STOP; in i2c_ctrl_handle_write_int_event()[all …]
376 zassert_equal(iface1->if_dev->oper_state, NET_IF_OPER_DOWN, in iface_setup()378 iface1->if_dev->oper_state); in iface_setup()387 zassert_equal(iface1->if_dev->oper_state, NET_IF_OPER_DORMANT, in iface_setup()389 iface1->if_dev->oper_state); in iface_setup()392 zassert_equal(iface1->if_dev->oper_state, NET_IF_OPER_UP, in iface_setup()394 iface1->if_dev->oper_state); in iface_setup()
682 enum net_if_oper_state oper_state; member875 struct net_if *iface, enum net_if_oper_state oper_state) in net_if_oper_state_set() argument882 if (oper_state <= NET_IF_OPER_UP) { in net_if_oper_state_set()883 iface->if_dev->oper_state = oper_state; in net_if_oper_state_set()886 return iface->if_dev->oper_state; in net_if_oper_state_set()902 return iface->if_dev->oper_state; in net_if_oper_state()
106 .oper_state = NET_IF_OPER_UP,
231 enum npcx_i3c_oper_state oper_state; /* Operation state */ member290 return data->oper_state; in get_oper_state()298 data->oper_state = state; in set_oper_state()2663 data->oper_state); in npcx_i3c_target_isr()
5517 enum net_if_oper_state prev_state = iface->if_dev->oper_state; in update_operational_state()