Searched defs:shell_ctx (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/i2c/ |
D | i2c_shell.c | 50 static int cmd_i2c_scan(const struct shell *shell_ctx, in cmd_i2c_scan() 99 static int cmd_i2c_recover(const struct shell *shell_ctx, in cmd_i2c_recover() 122 static int i2c_write_from_buffer(const struct shell *shell_ctx, in i2c_write_from_buffer() 175 static int cmd_i2c_write(const struct shell *shell_ctx, in cmd_i2c_write() 184 static int cmd_i2c_write_byte(const struct shell *shell_ctx, in cmd_i2c_write_byte() 192 static int i2c_read_to_buffer(const struct shell *shell_ctx, in i2c_read_to_buffer() 236 static int cmd_i2c_read_byte(const struct shell *shell_ctx, in cmd_i2c_read_byte() 253 static int cmd_i2c_read(const struct shell *shell_ctx, size_t argc, char **argv) in cmd_i2c_read() 279 static int cmd_i2c_direct_read(const struct shell *shell_ctx, size_t argc, char **argv) in cmd_i2c_direct_read() 305 static int cmd_i2c_speed(const struct shell *shell_ctx, size_t argc, char **argv) in cmd_i2c_speed()
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell.h | 835 struct shell_ctx { struct 837 char prompt[CONFIG_SHELL_PROMPT_BUFF_SIZE]; /*!< shell current prompt. */ 842 enum shell_state state; /*!< Internal module state.*/ 843 enum shell_receive_state receive_state;/*!< Escape sequence indicator.*/ 846 struct shell_static_entry active_cmd; 849 const struct shell_static_entry *selected_cmd; 852 struct shell_vt100_ctx vt100_ctx; 857 shell_uninit_cb_t uninit_cb; 860 shell_bypass_cb_t bypass; 863 uint32_t log_level; [all …]
|