Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_npcx_controller.c155 enum npcx_i2c_oper_state oper_state; /* controller operation state */ member
480 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 …]
/Zephyr-latest/tests/net/iface/src/
Dmain.c376 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()
/Zephyr-latest/include/zephyr/net/
Dnet_if.h682 enum net_if_oper_state oper_state; member
875 struct net_if *iface, enum net_if_oper_state oper_state) in net_if_oper_state_set() argument
882 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()
/Zephyr-latest/tests/subsys/modem/modem_ppp/src/
Dmain.c106 .oper_state = NET_IF_OPER_UP,
/Zephyr-latest/drivers/i3c/
Di3c_npcx.c231 enum npcx_i3c_oper_state oper_state; /* Operation state */ member
290 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()
/Zephyr-latest/subsys/net/ip/
Dnet_if.c5517 enum net_if_oper_state prev_state = iface->if_dev->oper_state; in update_operational_state()