Home
last modified time | relevance | path

Searched refs:subcmd (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/include/zephyr/shell/
Dshell.h231 const union shell_cmd_entry *subcmd; /*!< Pointer to subcommand. */ member
252 #define SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ argument
255 SHELL_CMD_ARG(syntax, subcmd, help, handler, mandatory, optional); \
283 #define SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, \ argument
288 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \
295 __unused = subcmd\
309 #define SHELL_CMD_REGISTER(syntax, subcmd, help, handler) \ argument
310 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, 0, 0)
325 #define SHELL_COND_CMD_REGISTER(flag, syntax, subcmd, help, handler) \ argument
326 SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, 0, 0)
[all …]
/Zephyr-latest/scripts/west_commands/
Dblobs.py166 subcmd = getattr(self, args.subcmd[0])
168 if args.subcmd[0] != 'list' and args.format is not None:
171 subcmd(args)
Dbindesc.py122 dump_parser.set_defaults(subcmd='dump', big_endian=False)
130 search_parser.set_defaults(subcmd='search', big_endian=False)
142 custom_search_parser.set_defaults(subcmd='custom_search', big_endian=False)
145 list_parser.set_defaults(subcmd='list', big_endian=False)
153 get_offset_parser.set_defaults(subcmd='get_offset', big_endian=False)
213 subcmd = getattr(self, args.subcmd)
214 subcmd(args)
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c750 entry->subcmd = &dsub_channel_name; in channel_name_get()
752 entry->subcmd = &dsub_attribute_name; in channel_name_get()
754 entry->subcmd = NULL; in channel_name_get()
775 entry->subcmd = &dsub_channel_name; in attribute_name_get()
796 entry->subcmd = NULL; in trigger_opt_get_for_stream()
821 entry->subcmd = &dsub_trigger_opt_get_for_stream; in trigger_name_get_for_stream()
842 entry->subcmd = &dsub_trigger_name_for_stream; in stream_on_off()
845 entry->subcmd = NULL; in stream_on_off()
862 entry->subcmd = &dsub_channel_name; in device_name_get()
873 entry->subcmd = &dsub_channel_name; in device_name_get_for_attr()
[all …]
/Zephyr-latest/subsys/shell/
Dshell_utils.c299 if (parent->subcmd) { in z_shell_cmd_get()
300 if (is_dynamic_cmd(parent->subcmd)) { in z_shell_cmd_get()
301 parent->subcmd->dynamic_get(idx, dloc); in z_shell_cmd_get()
308 if (is_section_cmd(parent->subcmd)) { in z_shell_cmd_get()
311 (const struct shell_static_entry *)parent->subcmd; in z_shell_cmd_get()
314 entry_list = parent->subcmd->entry; in z_shell_cmd_get()
/Zephyr-latest/drivers/stepper/
Dstepper_shell.c101 entry->subcmd = NULL; in cmd_stepper_direction()
115 entry->subcmd = NULL; in cmd_stepper_microstep()
127 entry->subcmd = NULL; in cmd_pos_stepper_motor_name()
143 entry->subcmd = &dsub_stepper_direction; in cmd_pos_stepper_motor_name_dir()
159 entry->subcmd = &dsub_stepper_microstep; in cmd_pos_stepper_motor_name_microstep()
/Zephyr-latest/drivers/comparator/
Dcomparator_shell.c229 entry->subcmd = NULL; in dsub_set_trigger_lookup_1()
241 entry->subcmd = &dsub_set_trigger_1; in dsub_set_trigger_lookup_0()
253 entry->subcmd = NULL; in dsub_device_lookup_0()
/Zephyr-latest/subsys/net/lib/shell/
Diface_dynamic.h73 entry->subcmd = &iface_index; in iface_index_get()
Dnbr.c188 entry->subcmd = &nbr_address; in nbr_address_get()
Dppp.c201 entry->subcmd = &iface_ppp_index; in iface_ppp_index_get()
/Zephyr-latest/drivers/gpio/
Dgpio_shell.c33 const union shell_cmd_entry *subcmd; member
114 entry->subcmd = NULL; \
129 .subcmd = &node_id##sub_gpio_pin, \
487 entry->subcmd = gpio_list[idx].subcmd; in device_name_get()
/Zephyr-latest/drivers/usb_c/ppc/
Dshell.c114 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/subsys/logging/
Dlog_cmds.c290 entry->subcmd = &dsub_module_name; in module_name_get()
299 entry->subcmd = &dsub_module_name; in severity_lvl_get()
442 entry->subcmd = &sub_log_backend; in backend_name_get()
/Zephyr-latest/subsys/usb/device_next/
Dusbd_shell.c482 entry->subcmd = NULL; in configuration_speed()
504 entry->subcmd = NULL; in configuration_lookup()
525 entry->subcmd = &dsub_config_speed; in class_node_name_lookup()
547 entry->subcmd = NULL; in device_context_lookup()
/Zephyr-latest/drivers/usb_c/tcpc/
Dshell.c137 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/drivers/spi/
Dspi_shell.c34 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/samples/subsys/shell/shell_module/src/
Ddynamic_cmd.c149 entry->subcmd = NULL; in dynamic_cmd_get()
/Zephyr-latest/subsys/pm/
Dpm_shell.c24 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/drivers/audio/
Dcodec_shell.c179 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/drivers/bbram/
Dbbram_shell.c183 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/drivers/watchdog/
Dwdt_shell.c171 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/drivers/pwm/
Dpwm_shell.c141 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/drivers/rtc/
Drtc_shell.c227 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/drivers/counter/
Dcounter_timer_shell.c208 entry->subcmd = NULL; in device_name_get()
/Zephyr-latest/subsys/input/
Dinput_utils.c265 entry->subcmd = NULL; in device_name_get()

12