/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/drivers/stepper/ |
D | stepper_shell.c | 46 const struct shell *sh = user_data; in print_callback() 168 static int parse_device_arg(const struct shell *sh, char **argv, const struct device **dev) in parse_device_arg() 178 static int cmd_stepper_enable(const struct shell *sh, size_t argc, char **argv) in cmd_stepper_enable() 201 static int cmd_stepper_stop(const struct shell *sh, size_t argc, char **argv) in cmd_stepper_stop() 225 static int cmd_stepper_move_by(const struct shell *sh, size_t argc, char **argv) in cmd_stepper_move_by() 254 static int cmd_stepper_set_microstep_interval(const struct shell *sh, size_t argc, char **argv) in cmd_stepper_set_microstep_interval() 277 static int cmd_stepper_set_micro_step_res(const struct shell *sh, size_t argc, char **argv) in cmd_stepper_set_micro_step_res() 308 static int cmd_stepper_get_micro_step_res(const struct shell *sh, size_t argc, char **argv) in cmd_stepper_get_micro_step_res() 329 static int cmd_stepper_set_reference_position(const struct shell *sh, size_t argc, char **argv) in cmd_stepper_set_reference_position() 352 static int cmd_stepper_get_actual_position(const struct shell *sh, size_t argc, char **argv) in cmd_stepper_get_actual_position() [all …]
|
/Zephyr-latest/tests/subsys/shell/shell_backend/src/ |
D | shell_backend_test.c | 17 const struct shell *sh_dummy = shell_backend_get_by_name("shell_dummy"); in ZTEST() 18 const struct shell *sh_uart = shell_backend_get_by_name("shell_uart"); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | vlan.c | 25 const struct shell *sh = data->sh; in iface_vlan_del_cb() 49 const struct shell *sh = data->sh; in iface_vlan_cb() 75 static int cmd_net_vlan(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_vlan() 92 static int cmd_net_vlan_add(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_vlan_add() 166 static int cmd_net_vlan_del(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_vlan_del()
|
D | capture.c | 50 const struct shell *sh = data->sh; in capture_cb() 73 static int cmd_net_capture(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_capture() 107 static int cmd_net_capture_setup(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_capture_setup() 156 static int cmd_net_capture_cleanup(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_capture_cleanup() 183 static int cmd_net_capture_enable(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_capture_enable() 227 static int cmd_net_capture_disable(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_capture_disable()
|
D | dhcpv4.c | 16 static int cmd_net_dhcpv4_server_start(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_dhcpv4_server_start() 55 static int cmd_net_dhcpv4_server_stop(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_dhcpv4_server_stop() 125 const struct shell *sh = data->sh; in dhcpv4_lease_cb() 153 static int cmd_net_dhcpv4_server_status(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_dhcpv4_server_status() 190 static int cmd_net_dhcpv4_client_start(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_dhcpv4_client_start() 220 static int cmd_net_dhcpv4_client_stop(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_dhcpv4_client_stop()
|
D | route.c | 19 const struct shell *sh = data->sh; in route_cb() 76 const struct shell *sh = data->sh; in iface_per_route_cb() 95 const struct shell *sh = data->sh; in route_mcast_cb() 113 static int cmd_net_ip6_route_add(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_ip6_route_add() 165 static int cmd_net_ip6_route_del(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_ip6_route_del() 205 static int cmd_net_route(const struct shell *sh, size_t argc, char *argv[]) in cmd_net_route()
|
/Zephyr-latest/subsys/pm/ |
D | pm_shell.c | 29 static int pm_cmd_suspend(const struct shell *sh, size_t argc, char *argv[]) in pm_cmd_suspend() 55 static int pm_cmd_resume(const struct shell *sh, size_t argc, char *argv[]) in pm_cmd_resume() 82 static int pm_cmd_runtime_get(const struct shell *sh, size_t argc, char *argv[]) in pm_cmd_runtime_get() 107 static int pm_cmd_runtime_put(const struct shell *sh, size_t argc, char *argv[]) in pm_cmd_runtime_put() 132 static int pm_cmd_runtime_put_async(const struct shell *sh, size_t argc, char *argv[]) in pm_cmd_runtime_put_async()
|
/Zephyr-latest/subsys/profiling/perf/ |
D | perf.c | 21 const struct shell *sh; 73 static int cmd_perf_record(const struct shell *sh, size_t argc, char **argv) in cmd_perf_record() 100 static int cmd_perf_clear(const struct shell *sh, size_t argc, char **argv) in cmd_perf_clear() 116 static int cmd_perf_info(const struct shell *sh, size_t argc, char **argv) in cmd_perf_info() 128 static int cmd_perf_print(const struct shell *sh, size_t argc, char **argv) in cmd_perf_print()
|
/Zephyr-latest/samples/subsys/shell/shell_module/src/ |
D | test_module.c | 21 static int cmd2_handler(const struct shell *sh, size_t argc, char **argv) in cmd2_handler() 34 static int sub_cmd1_handler(const struct shell *sh, size_t argc, char **argv) in sub_cmd1_handler()
|
/Zephyr-latest/subsys/shell/modules/kernel_service/ |
D | reboot.c | 12 static int cmd_kernel_reboot_warm(const struct shell *sh, in cmd_kernel_reboot_warm() 24 static int cmd_kernel_reboot_cold(const struct shell *sh, in cmd_kernel_reboot_cold()
|
/Zephyr-latest/modules/hostap/src/ |
D | wpa_cli.c | 20 static int cmd_wpa_cli(const struct shell *sh, in cmd_wpa_cli() 39 static int cmd_hostapd_cli(const struct shell *sh, size_t argc, const char *argv[]) in cmd_hostapd_cli()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | cap_initiator.c | 110 static int cmd_cap_initiator_discover(const struct shell *sh, size_t argc, in cmd_cap_initiator_discover() 146 static int cmd_cap_initiator_unicast_start(const struct shell *sh, size_t argc, in cmd_cap_initiator_unicast_start() 342 static int cmd_cap_initiator_unicast_list(const struct shell *sh, size_t argc, in cmd_cap_initiator_unicast_list() 355 static int cmd_cap_initiator_unicast_update(const struct shell *sh, size_t argc, in cmd_cap_initiator_unicast_update() 462 static int cmd_cap_initiator_unicast_stop(const struct shell *sh, size_t argc, in cmd_cap_initiator_unicast_stop() 542 static int cmd_cap_initiator_unicast_cancel(const struct shell *sh, size_t argc, char *argv[]) in cmd_cap_initiator_unicast_cancel() 664 static int set_codec_config(const struct shell *sh, struct shell_stream *sh_stream, in set_codec_config() 740 int cap_ac_unicast(const struct shell *sh, const struct bap_unicast_ac_param *param) in cap_ac_unicast() 857 static int cmd_cap_ac_1(const struct shell *sh, size_t argc, char **argv) in cmd_cap_ac_1() 873 static int cmd_cap_ac_2(const struct shell *sh, size_t argc, char **argv) in cmd_cap_ac_2() [all …]
|
D | tmap.c | 27 static int cmd_tmap_init(const struct shell *sh, size_t argc, char **argv) in cmd_tmap_init() 64 static int cmd_tmap_discover(const struct shell *sh, size_t argc, char **argv) in cmd_tmap_discover() 84 static int cmd_tmap(const struct shell *sh, size_t argc, char **argv) in cmd_tmap()
|
D | csip_set_member.c | 76 static int cmd_csip_set_member_register(const struct shell *sh, size_t argc, char **argv) in cmd_csip_set_member_register() 172 static int cmd_csip_set_member_sirk(const struct shell *sh, size_t argc, char *argv[]) in cmd_csip_set_member_sirk() 202 static int cmd_csip_set_member_get_sirk(const struct shell *sh, size_t argc, char *argv[]) in cmd_csip_set_member_get_sirk() 225 static int cmd_csip_set_member_lock(const struct shell *sh, size_t argc, char *argv[]) in cmd_csip_set_member_lock() 240 static int cmd_csip_set_member_release(const struct shell *sh, size_t argc, in cmd_csip_set_member_release() 267 static int cmd_csip_set_member_sirk_rsp(const struct shell *sh, size_t argc, char *argv[]) in cmd_csip_set_member_sirk_rsp() 285 static int cmd_csip_set_member(const struct shell *sh, size_t argc, char **argv) in cmd_csip_set_member()
|
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/ |
D | stacks.c | 24 const struct shell *sh = (const struct shell *)user_data; in shell_stack_dump() 53 static int cmd_kernel_thread_stacks(const struct shell *sh, size_t argc, char **argv) in cmd_kernel_thread_stacks()
|
/Zephyr-latest/subsys/shell/modules/ |
D | devmem_service.c | 43 static int memory_dump(const struct shell *sh, mem_addr_t phys_addr, size_t size, uint8_t width) in memory_dump() 97 static int cmd_dump(const struct shell *sh, size_t argc, char **argv) in cmd_dump() 151 static int set_bypass(const struct shell *sh, shell_bypass_cb_t bypass) in set_bypass() 172 static void bypass_cb(const struct shell *sh, uint8_t *recv, size_t len) in bypass_cb() 226 static int cmd_load(const struct shell *sh, size_t argc, char **argv) in cmd_load() 258 static int memory_read(const struct shell *sh, mem_addr_t addr, uint8_t width) in memory_read() 286 static int memory_write(const struct shell *sh, mem_addr_t addr, uint8_t width, uint64_t value) in memory_write() 310 static int cmd_devmem(const struct shell *sh, size_t argc, char **argv) in cmd_devmem()
|
D | date_service.c | 25 static void date_print(const struct shell *sh, struct tm *t) in date_print() 38 static int get_y_m_d(const struct shell *sh, struct tm *t, char *date_str) in get_y_m_d() 87 static int get_h_m_s(const struct shell *sh, struct tm *t, char *time_str) in get_h_m_s() 141 static int cmd_date_set(const struct shell *sh, size_t argc, char **argv) in cmd_date_set() 191 static int cmd_date_get(const struct shell *sh, size_t argc, char **argv) in cmd_date_get()
|
/Zephyr-latest/samples/drivers/fpga/fpga_controller/ |
D | README.rst | 9 This sample demonstrates how to use the FPGA driver API and the FPGA controller shell subsystem. 17 * Zephyr RTOS with shell subsystem enabled (for shell application) 32 To build the FPGA Controller shell application, use the supplied 54 For the FPGA controller shell application, after connecting to the shell console you should see the… 95 …ole or send it from the host PC (replace ``ttyX`` with the appropriate one for your shell console): 103 It will print the sum of the read bytes and return to the shell:
|
/Zephyr-latest/drivers/comparator/ |
D | comparator_shell.c | 29 static int get_device_from_str(const struct shell *sh, in get_device_from_str() 48 static int cmd_get_output(const struct shell *sh, size_t argc, char **argv) in cmd_get_output() 72 static int get_trigger_from_str(const struct shell *sh, in get_trigger_from_str() 87 static int cmd_set_trigger(const struct shell *sh, size_t argc, char **argv) in cmd_set_trigger() 118 static int get_timeout_from_str(const struct shell *sh, in get_timeout_from_str() 145 static int cmd_await_trigger(const struct shell *sh, size_t argc, char **argv) in cmd_await_trigger() 195 static int cmd_trigger_is_pending(const struct shell *sh, size_t argc, char **argv) in cmd_trigger_is_pending()
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | dfu.c | 160 static int cmd_dfu_comp_clear(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfu_comp_clear() 166 static int cmd_dfu_comp_add(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfu_comp_add() 196 static int cmd_dfu_comp_elem_add(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfu_comp_elem_add() 247 static int cmd_dfu_comp_hash_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfu_comp_hash_get() 304 static int cmd_dfu_metadata_encode(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfu_metadata_encode() 375 static int cmd_dfu_slot_add(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfu_slot_add() 422 static int cmd_dfu_slot_del(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfu_slot_del() 451 static int cmd_dfu_slot_del_all(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfu_slot_del_all() 458 static void slot_info_print(const struct shell *sh, const struct bt_mesh_dfu_slot *slot, in slot_info_print() 481 static int cmd_dfu_slot_get(const struct shell *sh, size_t argc, char *argv[]) in cmd_dfu_slot_get() [all …]
|
/Zephyr-latest/tests/drivers/eeprom/shell/src/ |
D | main.c | 48 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() 83 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() 106 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() 132 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() 143 const struct shell *sh = shell_backend_dummy_get_ptr(); in ZTEST() 185 const struct shell *sh = shell_backend_dummy_get_ptr(); in eeprom_shell_setup()
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | bridge_shell.c | 14 static int get_idx(const struct shell *sh, char *index_str) in get_idx() 28 static int cmd_bridge_addif(const struct shell *sh, size_t argc, char *argv[]) in cmd_bridge_addif() 76 static int cmd_bridge_delif(const struct shell *sh, size_t argc, char *argv[]) in cmd_bridge_delif() 117 const struct shell *sh = data; in bridge_show() 152 static int cmd_bridge_show(const struct shell *sh, size_t argc, char *argv[]) in cmd_bridge_show()
|
/Zephyr-latest/drivers/flash/ |
D | flash_shell.c | 47 static int parse_helper(const struct shell *sh, size_t *argc, in parse_helper() 88 static int cmd_erase(const struct shell *sh, size_t argc, char *argv[]) in cmd_erase() 130 static int cmd_write(const struct shell *sh, size_t argc, char *argv[]) in cmd_write() 182 static int cmd_copy(const struct shell *sh, size_t argc, char *argv[]) in cmd_copy() 216 static int cmd_read(const struct shell *sh, size_t argc, char *argv[]) in cmd_read() 254 static int cmd_test(const struct shell *sh, size_t argc, char *argv[]) in cmd_test() 332 static int read_write_erase_validate(const struct shell *sh, size_t argc, char *argv[], in read_write_erase_validate() 357 static void speed_output(const struct shell *sh, uint64_t total_time, double loops, double size) in speed_output() 376 static int cmd_read_test(const struct shell *sh, size_t argc, char *argv[]) in cmd_read_test() 421 static int cmd_write_test(const struct shell *sh, size_t argc, char *argv[]) in cmd_write_test() [all …]
|
/Zephyr-latest/subsys/shell/ |
D | shell_wildcard.c | 69 static enum shell_wildcard_status commands_expand(const struct shell *sh, in commands_expand() 119 void z_shell_wildcard_prepare(const struct shell *sh) in z_shell_wildcard_prepare() 159 enum shell_wildcard_status z_shell_wildcard_process(const struct shell *sh, in z_shell_wildcard_process() 185 void z_shell_wildcard_finalize(const struct shell *sh) in z_shell_wildcard_finalize()
|