Searched refs: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() argument 59 shell_error(shell_ctx, "I2C: Device driver %s not found.", in cmd_i2c_scan() 64 shell_print(shell_ctx, in cmd_i2c_scan() 67 shell_fprintf(shell_ctx, SHELL_NORMAL, "%02x: ", i); in cmd_i2c_scan() 70 shell_fprintf(shell_ctx, SHELL_NORMAL, " "); in cmd_i2c_scan() 82 shell_fprintf(shell_ctx, SHELL_NORMAL, in cmd_i2c_scan() 86 shell_fprintf(shell_ctx, SHELL_NORMAL, "-- "); in cmd_i2c_scan() 89 shell_print(shell_ctx, ""); in cmd_i2c_scan() 92 shell_print(shell_ctx, "%u devices found on %s", in cmd_i2c_scan() 99 static int cmd_i2c_recover(const struct shell *shell_ctx, in cmd_i2c_recover() argument [all …]
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell.h | 835 struct shell_ctx { struct 916 struct shell_ctx *ctx; /*!< Internal context.*/ argument 952 static struct shell_ctx UTIL_CAT(_name, _ctx); \
|