Searched defs:shell_ctx (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/i2c/ |
D | i2c_shell.c | 51 static int cmd_i2c_scan(const struct shell *shell_ctx, in cmd_i2c_scan() 100 static int cmd_i2c_recover(const struct shell *shell_ctx, in cmd_i2c_recover() 123 static int i2c_write_from_buffer(const struct shell *shell_ctx, in i2c_write_from_buffer() 176 static int cmd_i2c_write(const struct shell *shell_ctx, in cmd_i2c_write() 185 static int cmd_i2c_write_byte(const struct shell *shell_ctx, in cmd_i2c_write_byte() 193 static int i2c_read_to_buffer(const struct shell *shell_ctx, in i2c_read_to_buffer() 237 static int cmd_i2c_read_byte(const struct shell *shell_ctx, in cmd_i2c_read_byte() 254 static int cmd_i2c_read(const struct shell *shell_ctx, size_t argc, char **argv) in cmd_i2c_read() 280 static int cmd_i2c_direct_read(const struct shell *shell_ctx, size_t argc, char **argv) in cmd_i2c_direct_read() 306 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 …]
|