Home
last modified time | relevance | path

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

/Zephyr-latest/samples/userspace/prod_consumer/src/
Dsample_driver.h30 sample_driver_state_set_t state_set; member
66 return api->state_set(dev, active); in z_impl_sample_driver_state_set()
Dsample_driver_handlers.c13 if (K_SYSCALL_DRIVER_SAMPLE(dev, state_set)) { in z_vrfy_sample_driver_state_set()
Dsample_driver_foo.c71 .state_set = sample_driver_foo_state_set
/Zephyr-latest/subsys/shell/
Dshell.c96 static inline void state_set(const struct shell *sh, enum shell_state state) in state_set() function
891 state_set(sh, SHELL_STATE_ACTIVE); in ctrl_metakeys_handle()
987 state_set(sh, SHELL_STATE_ACTIVE); in state_collect()
1019 state_set(sh, SHELL_STATE_ACTIVE); in state_collect()
1260 state_set(sh, SHELL_STATE_INITIALIZED); in instance_init()
1288 state_set(sh, SHELL_STATE_UNINITIALIZED); in instance_uninit()
1454 state_set(sh, SHELL_STATE_ACTIVE); in shell_start()
1481 state_set(sh, SHELL_STATE_INITIALIZED); in shell_stop()