/Zephyr-Core-2.7.6/subsys/shell/ |
D | shell_ops.h | 41 static inline void z_clear_eos(const struct shell *shell) in z_clear_eos() 47 static inline void z_cursor_save(const struct shell *shell) in z_cursor_save() 53 static inline void z_cursor_restore(const struct shell *shell) in z_cursor_restore() 61 static inline void z_cursor_next_line_move(const struct shell *shell) in z_cursor_next_line_move() 82 static inline bool z_flag_insert_mode_get(const struct shell *shell) in z_flag_insert_mode_get() 87 static inline bool z_flag_insert_mode_set(const struct shell *shell, bool val) in z_flag_insert_mode_set() 95 static inline bool z_flag_use_colors_get(const struct shell *shell) in z_flag_use_colors_get() 100 static inline bool z_flag_use_colors_set(const struct shell *shell, bool val) in z_flag_use_colors_set() 108 static inline bool z_flag_echo_get(const struct shell *shell) in z_flag_echo_get() 113 static inline bool z_flag_echo_set(const struct shell *shell, bool val) in z_flag_echo_set() [all …]
|
D | shell_ops.c | 10 void z_shell_op_cursor_vert_move(const struct shell *shell, int32_t delta) in z_shell_op_cursor_vert_move() 19 void z_shell_op_cursor_horiz_move(const struct shell *shell, int32_t delta) in z_shell_op_cursor_horiz_move() 31 static inline bool full_line_cmd(const struct shell *shell) in full_line_cmd() 38 bool z_shell_cursor_in_empty_line(const struct shell *shell) in z_shell_cursor_in_empty_line() 44 void z_shell_op_cond_next_line(const struct shell *shell) in z_shell_op_cond_next_line() 51 void z_shell_op_cursor_position_synchronize(const struct shell *shell) in z_shell_op_cursor_position_synchronize() 77 void z_shell_op_cursor_move(const struct shell *shell, int16_t val) in z_shell_op_cursor_move() 127 void z_shell_op_cursor_word_move(const struct shell *shell, int16_t val) in z_shell_op_cursor_word_move() 147 void z_shell_op_word_remove(const struct shell *shell) in z_shell_op_word_remove() 187 void z_shell_op_cursor_home_move(const struct shell *shell) in z_shell_op_cursor_home_move() [all …]
|
D | shell.c | 44 static inline void receive_state_change(const struct shell *shell, in receive_state_change() 50 static void cmd_buffer_clear(const struct shell *shell) in cmd_buffer_clear() 57 static void shell_internal_help_print(const struct shell *shell) in shell_internal_help_print() 78 static int cmd_precheck(const struct shell *shell, in cmd_precheck() 96 static inline void state_set(const struct shell *shell, enum shell_state state) in state_set() 111 static inline enum shell_state state_get(const struct shell *shell) in state_get() 117 selected_cmd_get(const struct shell *shell) in selected_cmd_get() 127 static void tab_item_print(const struct shell *shell, const char *option, in tab_item_print() 155 static void history_init(const struct shell *shell) in history_init() 164 static void history_purge(const struct shell *shell) in history_purge() [all …]
|
D | shell_cmds.c | 65 static int cursor_position_get(const struct shell *shell, uint16_t *x, uint16_t *y) in cursor_position_get() 170 static int terminal_size_get(const struct shell *shell) in terminal_size_get() 196 static int cmd_clear(const struct shell *shell, size_t argc, char **argv) in cmd_clear() 207 static int cmd_bacskpace_mode_backspace(const struct shell *shell, size_t argc, in cmd_bacskpace_mode_backspace() 218 static int cmd_bacskpace_mode_delete(const struct shell *shell, size_t argc, in cmd_bacskpace_mode_delete() 230 static int cmd_colors_off(const struct shell *shell, size_t argc, char **argv) in cmd_colors_off() 240 static int cmd_colors_on(const struct shell *shell, size_t argc, char **argv) in cmd_colors_on() 251 static int cmd_echo_off(const struct shell *shell, size_t argc, char **argv) in cmd_echo_off() 261 static int cmd_echo_on(const struct shell *shell, size_t argc, char **argv) in cmd_echo_on() 271 static int cmd_echo(const struct shell *shell, size_t argc, char **argv) in cmd_echo() [all …]
|
D | shell_utils.h | 86 static inline void z_transport_buffer_flush(const struct shell *shell) in z_transport_buffer_flush() 91 static inline bool z_shell_in_select_mode(const struct shell *shell) in z_shell_in_select_mode()
|
D | shell_log_backend.c | 55 const struct shell *shell; in z_shell_log_backend_enable() local 72 static void flush_expired_messages(const struct shell *shell) in flush_expired_messages() 96 static void msg_to_fifo(const struct shell *shell, in msg_to_fifo() 156 const struct shell *shell = in z_shell_log_backend_process() local 194 const struct shell *shell = (const struct shell *)backend->cb->ctx; in put() local 229 const struct shell *shell = (const struct shell *)backend->cb->ctx; in put_sync_string() local 256 const struct shell *shell = (const struct shell *)backend->cb->ctx; in put_sync_hexdump() local 280 const struct shell *shell = (const struct shell *)backend->cb->ctx; in panic() local 319 const struct shell *shell = (const struct shell *)backend->cb->ctx; in dropped() local 355 static void process_log_msg2(const struct shell *shell, in process_log_msg2() [all …]
|
/Zephyr-Core-2.7.6/drivers/edac/ |
D | shell.c | 40 static void decode_ecc_error(const struct shell *shell, uint64_t ecc_error) in decode_ecc_error() 61 static int cmd_edac_info(const struct shell *shell, size_t argc, char **argv) in cmd_edac_info() 105 static int cmd_inject_addr(const struct shell *shell, size_t argc, char **argv) in cmd_inject_addr() 152 static int cmd_inject_mask(const struct shell *shell, size_t argc, char **argv) in cmd_inject_mask() 197 static int cmd_inject_trigger(const struct shell *shell, size_t argc, in cmd_inject_trigger() 215 static int cmd_inject_disable_nmi(const struct shell *shell, size_t argc, in cmd_inject_disable_nmi() 223 static int cmd_inject_enable_nmi(const struct shell *shell, size_t argc, in cmd_inject_enable_nmi() 243 static int cmd_inject_error_type_show(const struct shell *shell, size_t argc, in cmd_inject_error_type_show() 268 static int set_error_type(const struct shell *shell, uint32_t error_type) in set_error_type() 284 static int cmd_inject_error_type_cor(const struct shell *shell, size_t argc, in cmd_inject_error_type_cor() [all …]
|
/Zephyr-Core-2.7.6/subsys/fb/ |
D | cfb_shell.c | 29 static int cmd_clear(const struct shell *shell, size_t argc, char *argv[]) in cmd_clear() 58 static int cmd_cfb_print(const struct shell *shell, int col, int row, char *str) in cmd_cfb_print() 93 static int cmd_print(const struct shell *shell, size_t argc, char *argv[]) in cmd_print() 124 static int cmd_scroll_vert(const struct shell *shell, size_t argc, char *argv[]) in cmd_scroll_vert() 165 static int cmd_scroll_horz(const struct shell *shell, size_t argc, char *argv[]) in cmd_scroll_horz() 207 static int cmd_set_font(const struct shell *shell, size_t argc, char *argv[]) in cmd_set_font() 240 static int cmd_invert(const struct shell *shell, size_t argc, char *argv[]) in cmd_invert() 265 static int cmd_get_fonts(const struct shell *shell, size_t argc, char *argv[]) in cmd_get_fonts() 290 static int cmd_get_device(const struct shell *shell, size_t argc, char *argv[]) in cmd_get_device() 307 static int cmd_get_param_all(const struct shell *shell, size_t argc, in cmd_get_param_all() [all …]
|
/Zephyr-Core-2.7.6/drivers/lora/ |
D | shell.c | 35 static int parse_long(long *out, const struct shell *shell, const char *arg) in parse_long() 50 static int parse_long_range(long *out, const struct shell *shell, in parse_long_range() 71 static int parse_freq(uint32_t *out, const struct shell *shell, const char *arg) in parse_freq() 92 static const struct device *get_modem(const struct shell *shell) in get_modem() 105 static const struct device *get_configured_modem(const struct shell *shell) in get_configured_modem() 129 static int lora_conf_dump(const struct shell *shell) in lora_conf_dump() 148 static int lora_conf_set(const struct shell *shell, const char *param, in lora_conf_set() 206 static int cmd_lora_conf(const struct shell *shell, size_t argc, char **argv) in cmd_lora_conf() 231 static int cmd_lora_send(const struct shell *shell, in cmd_lora_send() 252 static int cmd_lora_recv(const struct shell *shell, size_t argc, char **argv) in cmd_lora_recv() [all …]
|
/Zephyr-Core-2.7.6/subsys/shell/modules/ |
D | kernel_service.c | 18 static int cmd_kernel_version(const struct shell *shell, in cmd_kernel_version() 33 static int cmd_kernel_uptime(const struct shell *shell, in cmd_kernel_uptime() 43 static int cmd_kernel_cycles(const struct shell *shell, in cmd_kernel_cycles() 58 const struct shell *shell = (const struct shell *)user_data; in shell_tdata_dump() local 135 static int cmd_kernel_threads(const struct shell *shell, in cmd_kernel_threads() 155 const struct shell *shell = (const struct shell *)user_data; in shell_stack_dump() local 185 static int cmd_kernel_stacks(const struct shell *shell, in cmd_kernel_stacks() 229 static int cmd_kernel_reboot_warm(const struct shell *shell, in cmd_kernel_reboot_warm() 241 static int cmd_kernel_reboot_cold(const struct shell *shell, in cmd_kernel_reboot_cold()
|
D | date_service.c | 17 static void date_print(const struct shell *shell, struct tm *tm) in date_print() 30 static int get_y_m_d(const struct shell *shell, struct tm *tm, char *date_str) in get_y_m_d() 82 static int get_h_m_s(const struct shell *shell, struct tm *tm, char *time_str) in get_h_m_s() 139 static int cmd_date_set(const struct shell *shell, size_t argc, char **argv) in cmd_date_set() 189 static int cmd_date_get(const struct shell *shell, size_t argc, char **argv) in cmd_date_get()
|
/Zephyr-Core-2.7.6/subsys/logging/ |
D | log_cmds.c | 56 static bool shell_state_precheck(const struct shell *shell) in shell_state_precheck() 70 static int shell_backend_cmd_execute(const struct shell *shell, in shell_backend_cmd_execute() 91 static int log_status(const struct shell *shell, in log_status() 123 static int cmd_log_self_status(const struct shell *shell, in cmd_log_self_status() 134 static int cmd_log_backend_status(const struct shell *shell, in cmd_log_backend_status() 157 static void filters_set(const struct shell *shell, in filters_set() 205 static int log_enable(const struct shell *shell, in log_enable() 224 static int cmd_log_self_enable(const struct shell *shell, in cmd_log_self_enable() 234 static int cmd_log_backend_enable(const struct shell *shell, in cmd_log_backend_enable() 240 static int log_disable(const struct shell *shell, in log_disable() [all …]
|
/Zephyr-Core-2.7.6/samples/net/zperf/src/ |
D | zperf_shell.c | 93 static void do_init(const struct shell *shell) in do_init() 103 static int parse_ipv6_addr(const struct shell *shell, char *host, char *port, in parse_ipv6_addr() 129 int zperf_get_ipv6_addr(const struct shell *shell, char *host, in zperf_get_ipv6_addr() 168 static int parse_ipv4_addr(const struct shell *shell, char *host, char *port, in parse_ipv4_addr() 194 int zperf_get_ipv4_addr(const struct shell *shell, char *host, in zperf_get_ipv4_addr() 240 static int cmd_setip(const struct shell *shell, size_t argc, char *argv[]) in cmd_setip() 320 static int cmd_udp_download(const struct shell *shell, size_t argc, in cmd_udp_download() 356 static void shell_udp_upload_print_stats(const struct shell *shell, in shell_udp_upload_print_stats() 421 static void shell_tcp_upload_print_stats(const struct shell *shell, in shell_tcp_upload_print_stats() 454 static int setup_contexts(const struct shell *shell, in setup_contexts() [all …]
|
/Zephyr-Core-2.7.6/samples/arch/mpu/mpu_test/src/ |
D | main.c | 13 #define PR_SHELL(shell, fmt, ...) \ argument 15 #define PR_ERROR(shell, fmt, ...) \ argument 30 static int cmd_read(const struct shell *shell, size_t argc, char *argv[]) in cmd_read() 44 static int cmd_write_mcux(const struct shell *shell, size_t argc, char *argv[]) in cmd_write_mcux() 73 static int cmd_write_stm32(const struct shell *shell, size_t argc, char *argv[]) in cmd_write_stm32() 97 static int cmd_write(const struct shell *shell, size_t argc, char *argv[]) in cmd_write() 114 static int cmd_run(const struct shell *shell, size_t argc, char *argv[]) in cmd_run() 127 static int cmd_mtest(const struct shell *shell, size_t argc, char *argv[]) in cmd_mtest()
|
/Zephyr-Core-2.7.6/samples/drivers/flash_shell/src/ |
D | main.c | 20 #define PR_SHELL(shell, fmt, ...) \ argument 22 #define PR_ERROR(shell, fmt, ...) \ argument 24 #define PR_INFO(shell, fmt, ...) \ argument 26 #define PR_WARNING(shell, fmt, ...) \ argument 97 static int check_flash_device(const struct shell *shell) in check_flash_device() 107 static void dump_buffer(const struct shell *shell, uint8_t *buf, size_t size) in dump_buffer() 170 static int do_read(const struct shell *shell, off_t offset, size_t len) in do_read() 197 static int do_erase(const struct shell *shell, off_t offset, size_t size) in do_erase() 211 static int do_write(const struct shell *shell, off_t offset, uint8_t *buf, in do_write() 229 static int do_write_unaligned(const struct shell *shell, off_t offset, uint8_t *buf, in do_write_unaligned() [all …]
|
/Zephyr-Core-2.7.6/subsys/net/l2/ieee802154/ |
D | ieee802154_shell.c | 31 static int cmd_ieee802154_ack(const struct shell *shell, in cmd_ieee802154_ack() 68 static int cmd_ieee802154_associate(const struct shell *shell, in cmd_ieee802154_associate() 111 static int cmd_ieee802154_disassociate(const struct shell *shell, in cmd_ieee802154_disassociate() 202 static int cmd_ieee802154_scan(const struct shell *shell, in cmd_ieee802154_scan() 274 static int cmd_ieee802154_set_chan(const struct shell *shell, in cmd_ieee802154_set_chan() 307 static int cmd_ieee802154_get_chan(const struct shell *shell, in cmd_ieee802154_get_chan() 336 static int cmd_ieee802154_set_pan_id(const struct shell *shell, in cmd_ieee802154_set_pan_id() 371 static int cmd_ieee802154_get_pan_id(const struct shell *shell, in cmd_ieee802154_get_pan_id() 400 static int cmd_ieee802154_set_ext_addr(const struct shell *shell, in cmd_ieee802154_set_ext_addr() 439 static int cmd_ieee802154_get_ext_addr(const struct shell *shell, in cmd_ieee802154_get_ext_addr() [all …]
|
/Zephyr-Core-2.7.6/samples/subsys/shell/shell_module/src/ |
D | main.c | 30 static int cmd_log_test_start(const struct shell *shell, size_t argc, in cmd_log_test_start() 41 static int cmd_log_test_start_demo(const struct shell *shell, size_t argc, in cmd_log_test_start_demo() 47 static int cmd_log_test_start_flood(const struct shell *shell, size_t argc, in cmd_log_test_start_flood() 53 static int cmd_log_test_stop(const struct shell *shell, size_t argc, in cmd_log_test_stop() 82 static int cmd_demo_ping(const struct shell *shell, size_t argc, char **argv) in cmd_demo_ping() 93 static int cmd_demo_getopt(const struct shell *shell, size_t argc, char **argv) in cmd_demo_getopt() 145 static int cmd_demo_params(const struct shell *shell, size_t argc, char **argv) in cmd_demo_params() 155 static int cmd_demo_hexdump(const struct shell *shell, size_t argc, char **argv) in cmd_demo_hexdump() 166 static int cmd_version(const struct shell *shell, size_t argc, char **argv) in cmd_version() 192 static int cmd_login(const struct shell *shell, size_t argc, char **argv) in cmd_login() [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/ |
D | shell.c | 232 static int cmd_input_num(const struct shell *shell, size_t argc, char *argv[]) in cmd_input_num() 261 static int cmd_input_str(const struct shell *shell, size_t argc, char *argv[]) in cmd_input_str() 357 static int cmd_static_oob(const struct shell *shell, size_t argc, char *argv[]) in cmd_static_oob() 382 static int cmd_uuid(const struct shell *shell, size_t argc, char *argv[]) in cmd_uuid() 404 static int cmd_reset(const struct shell *shell, size_t argc, char *argv[]) in cmd_reset() 448 static int cmd_lpn(const struct shell *shell, size_t argc, char *argv[]) in cmd_lpn() 487 static int cmd_poll(const struct shell *shell, size_t argc, char *argv[]) in cmd_poll() 520 static int cmd_init(const struct shell *shell, size_t argc, char *argv[]) in cmd_init() 556 static int cmd_ident(const struct shell *shell, size_t argc, char *argv[]) in cmd_ident() 570 static int cmd_get_comp(const struct shell *shell, size_t argc, char *argv[]) in cmd_get_comp() [all …]
|
/Zephyr-Core-2.7.6/drivers/virtualization/ |
D | virt_ivshmem_shell.c | 26 static void doorbell_notification_thread(const struct shell *shell) in doorbell_notification_thread() 49 static bool get_ivshmem(const struct shell *shell) in get_ivshmem() 61 static int cmd_ivshmem_shmem(const struct shell *shell, in cmd_ivshmem_shmem() 87 static int cmd_ivshmem_dump(const struct shell *shell, in cmd_ivshmem_dump() 117 static int cmd_ivshmem_int(const struct shell *shell, in cmd_ivshmem_int() 151 static int cmd_ivshmem_get_notified(const struct shell *shell, in cmd_ivshmem_get_notified()
|
/Zephyr-Core-2.7.6/subsys/net/l2/bluetooth/ |
D | bluetooth_shell.c | 27 static int shell_cmd_connect(const struct shell *shell, in shell_cmd_connect() 57 static int shell_cmd_scan(const struct shell *shell, in shell_cmd_scan() 78 static int shell_cmd_disconnect(const struct shell *shell, in shell_cmd_disconnect() 94 static int shell_cmd_advertise(const struct shell *shell, in shell_cmd_advertise()
|
/Zephyr-Core-2.7.6/drivers/pcie/host/ |
D | shell.c | 15 static void show_msi(const struct shell *shell, pcie_bdf_t bdf) in show_msi() 67 static void show_bars(const struct shell *shell, pcie_bdf_t bdf) in show_bars() 96 static void show(const struct shell *shell, pcie_bdf_t bdf) in show() 138 static int cmd_pcie_ls(const struct shell *shell, size_t argc, char **argv) in cmd_pcie_ls()
|
/Zephyr-Core-2.7.6/samples/tfm_integration/psa_crypto/src/ |
D | shell.c | 14 psa_shell_invalid_arg(const struct shell *shell, char *arg_name) in psa_shell_invalid_arg() 22 psa_shell_cmd_version(const struct shell *shell, size_t argc, char **argv) in psa_shell_cmd_version()
|
/Zephyr-Core-2.7.6/drivers/can/ |
D | can_shell.c | 15 static inline int read_config_options(const struct shell *shell, int pos, in read_config_options() 49 static inline int read_frame_options(const struct shell *shell, int pos, in read_frame_options() 83 static inline int read_bitrate(const struct shell *shell, int pos, char **argv, in read_bitrate() 100 static inline int read_id(const struct shell *shell, int pos, char **argv, in read_id() 126 static inline int read_mask(const struct shell *shell, int pos, char **argv, in read_mask() 152 static inline int read_data(const struct shell *shell, int pos, char **argv, in read_data() 190 const struct shell *shell = (const struct shell *)arg; in print_frame() local 209 static int cmd_config(const struct shell *shell, size_t argc, char **argv) in cmd_config() 264 static int cmd_send(const struct shell *shell, size_t argc, char **argv) in cmd_send() 314 static int cmd_attach(const struct shell *shell, size_t argc, char **argv) in cmd_attach() [all …]
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | net_shell.c | 87 #define PR_SHELL(shell, fmt, ...) \ argument 102 const struct shell *shell; member 280 const struct shell *shell, struct net_if *iface) in print_supported_ethernet_capabilities() 346 const struct shell *shell = data->shell; in iface_cb() local 712 const struct shell *shell = data->shell; in route_cb() local 755 const struct shell *shell = data->shell; in iface_per_route_cb() local 774 const struct shell *shell = data->shell; in route_mcast_cb() local 833 const struct shell *shell) in print_eth_stats() 867 const struct shell *shell) in print_ppp_stats() 1042 static void print_tc_tx_stats(const struct shell *shell, struct net_if *iface) in print_tc_tx_stats() [all …]
|
/Zephyr-Core-2.7.6/subsys/fs/ |
D | shell.c | 84 static int cmd_cd(const struct shell *shell, size_t argc, char **argv) in cmd_cd() 127 static int cmd_ls(const struct shell *shell, size_t argc, char **argv) in cmd_ls() 171 static int cmd_pwd(const struct shell *shell, size_t argc, char **argv) in cmd_pwd() 178 static int cmd_trunc(const struct shell *shell, size_t argc, char **argv) in cmd_trunc() 211 static int cmd_mkdir(const struct shell *shell, size_t argc, char **argv) in cmd_mkdir() 227 static int cmd_rm(const struct shell *shell, size_t argc, char **argv) in cmd_rm() 243 static int cmd_read(const struct shell *shell, size_t argc, char **argv) in cmd_read() 337 static int cmd_cat(const struct shell *shell, size_t argc, char **argv) in cmd_cat() 391 static int cmd_statvfs(const struct shell *shell, size_t argc, char **argv) in cmd_statvfs() 412 static int cmd_write(const struct shell *shell, size_t argc, char **argv) in cmd_write() [all …]
|