Home
last modified time | relevance | path

Searched refs:shell_print (Results 1 – 25 of 133) sorted by relevance

123456

/Zephyr-latest/lib/acpi/
Dacpi_shell.c19 shell_print(sh, "**** ACPI Device Resource Info ****"); in dump_dev_res()
30 shell_print(sh, "ACPI_RESOURCE_TYPE_IRQ"); in dump_dev_res()
33 shell_print(sh, "\tDescriptorLength: %x", irq_res->DescriptorLength); in dump_dev_res()
34 shell_print(sh, "\tTriggering: %x", irq_res->Triggering); in dump_dev_res()
35 shell_print(sh, "\tPolarity: %x", irq_res->Polarity); in dump_dev_res()
36 shell_print(sh, "\tShareable: %x", irq_res->Shareable); in dump_dev_res()
37 shell_print(sh, "\tInterruptCount: %d", irq_res->InterruptCount); in dump_dev_res()
38 shell_print(sh, "\tInterrupts[0]: %x", irq_res->Interrupts[0]); in dump_dev_res()
43 shell_print(sh, "ACPI_RESOURCE_TYPE_IO"); in dump_dev_res()
44 shell_print(sh, "\tIoDecode: %x", io_res->IoDecode); in dump_dev_res()
[all …]
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/
Dlist.c40 shell_print(sh, "\tTotal execution cycles: %u (%u %%)", in rt_stats_dump()
44 shell_print(sh, "\tCurrent execution cycles: %u", in rt_stats_dump()
46 shell_print(sh, "\tPeak execution cycles: %u", in rt_stats_dump()
48 shell_print(sh, "\tAverage execution cycles: %u", in rt_stats_dump()
52 shell_print(sh, "\tTotal execution cycles: ? (? %%)"); in rt_stats_dump()
54 shell_print(sh, "\tCurrent execution cycles: ?"); in rt_stats_dump()
55 shell_print(sh, "\tPeak execution cycles: ?"); in rt_stats_dump()
56 shell_print(sh, "\tAverage execution cycles: ?"); in rt_stats_dump()
75 shell_print(sh, "%s%p %-10s", in shell_tdata_dump()
80 shell_print(sh, "\toptions: 0x%x, priority: %d timeout: %" PRId64, in shell_tdata_dump()
[all …]
/Zephyr-latest/lib/crc/
Dcrc_shell.c54 shell_print(sh, "crc [options..] <address> <size>"); in usage()
55 shell_print(sh, "options:"); in usage()
56 shell_print(sh, "-f This is the first packet"); in usage()
57 shell_print(sh, "-l This is the last packet"); in usage()
58 shell_print(sh, "-p <poly> Use polynomial 'poly'"); in usage()
59 shell_print(sh, "-r Reflect"); in usage()
60 shell_print(sh, "-s <seed> Use 'seed' as the initial value"); in usage()
61 shell_print(sh, "-t <type> Compute the CRC described by 'type'"); in usage()
62 shell_print(sh, "Note: some options are only useful for certain CRCs"); in usage()
63 shell_print(sh, "CRC Types:"); in usage()
[all …]
/Zephyr-latest/subsys/usb/host/
Dusbh_shell.c31 shell_print(sh, "bLength\t\t\t%u", desc->bLength); in print_dev_desc()
32 shell_print(sh, "bDescriptorType\t\t%u", desc->bDescriptorType); in print_dev_desc()
33 shell_print(sh, "bcdUSB\t\t\t%x", desc->bcdUSB); in print_dev_desc()
34 shell_print(sh, "bDeviceClass\t\t%u", desc->bDeviceClass); in print_dev_desc()
35 shell_print(sh, "bDeviceSubClass\t\t%u", desc->bDeviceSubClass); in print_dev_desc()
36 shell_print(sh, "bDeviceProtocol\t\t%u", desc->bDeviceProtocol); in print_dev_desc()
37 shell_print(sh, "bMaxPacketSize0\t\t%u", desc->bMaxPacketSize0); in print_dev_desc()
38 shell_print(sh, "idVendor\t\t%x", desc->idVendor); in print_dev_desc()
39 shell_print(sh, "idProduct\t\t%x", desc->idProduct); in print_dev_desc()
40 shell_print(sh, "bcdDevice\t\t%x", desc->bcdDevice); in print_dev_desc()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ticker/shell/
Dticker.c74 shell_print(sh, "Query done (0x%02x, err= %u).", in cmd_ticker_info()
83 shell_print(sh, "Retry again, tickers too " in cmd_ticker_info()
92 shell_print(sh, "Query reset, %u retries " in cmd_ticker_info()
103 shell_print(sh, "Tickers: %u.", tickers_count); in cmd_ticker_info()
104 shell_print(sh, "Tick: %u (%uus).", ticks_current, in cmd_ticker_info()
111 shell_print(sh, "---------------------"); in cmd_ticker_info()
112 shell_print(sh, " id offset offset"); in cmd_ticker_info()
113 shell_print(sh, " (tick) (us)"); in cmd_ticker_info()
114 shell_print(sh, "---------------------"); in cmd_ticker_info()
116 shell_print(sh, "%03u %08u %08u", tickers[i].id, in cmd_ticker_info()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Ddfu.c176 shell_print(sh, "Buffer is too small: %u", in cmd_dfu_comp_add()
218 shell_print(sh, "Buffer is too small: %u", in cmd_dfu_comp_elem_add()
254 shell_print(sh, "Composition data is not set"); in cmd_dfu_comp_hash_get()
262 shell_print(sh, "Composition data to be hashed:"); in cmd_dfu_comp_hash_get()
263 shell_print(sh, "\tCID: 0x%04x", sys_get_le16(&dfu_comp_data.data[0])); in cmd_dfu_comp_hash_get()
264 shell_print(sh, "\tPID: 0x%04x", sys_get_le16(&dfu_comp_data.data[2])); in cmd_dfu_comp_hash_get()
265 shell_print(sh, "\tVID: 0x%04x", sys_get_le16(&dfu_comp_data.data[4])); in cmd_dfu_comp_hash_get()
266 shell_print(sh, "\tCPRL: %u", sys_get_le16(&dfu_comp_data.data[6])); in cmd_dfu_comp_hash_get()
267 shell_print(sh, "\tFeatures: 0x%x", sys_get_le16(&dfu_comp_data.data[8])); in cmd_dfu_comp_hash_get()
273 shell_print(sh, "\tElem: %u", sys_get_le16(&dfu_comp_data.data[i])); in cmd_dfu_comp_hash_get()
[all …]
Dcfg.c41 shell_print(sh, "Remote node reset complete"); in cmd_reset()
70 shell_print(sh, "Message timeout: forever"); in cmd_timeout()
72 shell_print(sh, "Message timeout: %u seconds", timeout_ms / 1000); in cmd_timeout()
104 shell_print(sh, "Got page %d. No parser available.", page); in cmd_get_comp()
117 shell_print(sh, "Got Composition Data for 0x%04x, page: %d:", in cmd_get_comp()
119 shell_print(sh, "\tCID 0x%04x", comp.cid); in cmd_get_comp()
120 shell_print(sh, "\tPID 0x%04x", comp.pid); in cmd_get_comp()
121 shell_print(sh, "\tVID 0x%04x", comp.vid); in cmd_get_comp()
122 shell_print(sh, "\tCRPL 0x%04x", comp.crpl); in cmd_get_comp()
123 shell_print(sh, "\tFeatures 0x%04x", comp.feat); in cmd_get_comp()
[all …]
Dbrg_cfg.c27 shell_print(sh, "Subnet Bridge State: %s", in cmd_subnet_bridge_get()
52 shell_print(sh, "Subnet Bridge State: %s", in cmd_subnet_bridge_set()
69 shell_print(sh, "Bridging Table Size: %u", rsp); in cmd_bridging_table_size_get()
97 shell_print(sh, "Bridging Table Add failed with status 0x%02x", rsp.status); in cmd_bridging_table_add()
99 shell_print(sh, "Bridging Table Add was successful."); in cmd_bridging_table_add()
128 shell_print(sh, "Bridging Table Remove failed with status 0x%02x", rsp.status); in cmd_bridging_table_remove()
130 shell_print(sh, "Bridging Table Remove was successful."); in cmd_bridging_table_remove()
162 shell_print(sh, "Bridged Subnets List:"); in cmd_bridged_subnets_get()
163 shell_print(sh, "\tfilter: %02x", rsp.net_idx_filter.filter); in cmd_bridged_subnets_get()
164 shell_print(sh, "\tnet_idx: %04x", rsp.net_idx_filter.net_idx); in cmd_bridged_subnets_get()
[all …]
Drpr.c111 shell_print(sh, "Scan start failed: %d", err); in cmd_scan()
116 shell_print(sh, "Scan started."); in cmd_scan()
118 shell_print(sh, "Scan start response: %d", rsp.status); in cmd_scan()
156 shell_print(sh, "Scan start failed: %d", err); in cmd_scan_ext()
160 shell_print(sh, "Extended scan started."); in cmd_scan_ext()
191 shell_print(sh, "Scan start failed: %d", err); in cmd_scan_srv()
214 shell_print(sh, "Scan capabilities get failed: %d", err); in cmd_scan_caps()
218 shell_print(sh, "Remote Provisioning scan capabilities of 0x%04x:", in cmd_scan_caps()
220 shell_print(sh, "\tMax devices: %u", caps.max_devs); in cmd_scan_caps()
221 shell_print(sh, "\tActive scanning: %s", in cmd_scan_caps()
[all …]
Dshell.c213 shell_print(sh, "Mesh shell initialized"); in cmd_init()
236 shell_print(sh, "Local node reset complete"); in cmd_reset()
249 shell_print(sh, "%s", enabled ? "enabled" : "disabled"); in cmd_lpn()
261 shell_print(sh, "LPN already enabled"); in cmd_lpn()
273 shell_print(sh, "LPN already disabled"); in cmd_lpn()
633 shell_print(sh, "Static OOB value set (length %u)", in cmd_static_oob()
636 shell_print(sh, "Static OOB value cleared"); in cmd_static_oob()
664 shell_print(sh, "Device UUID set"); in cmd_uuid()
778 shell_print(sh, "%s enabled", bearer2str(bearer)); in cmd_pb()
786 shell_print(sh, "%s disabled", bearer2str(bearer)); in cmd_pb()
[all …]
/Zephyr-latest/samples/subsys/shell/shell_module/src/
Dmain.c42 shell_print(sh, "Log test started\n"); in cmd_log_test_start()
66 shell_print(sh, "Log test stopped"); in cmd_log_test_stop()
93 shell_print(sh, "pong"); in cmd_demo_ping()
103 shell_print(sh, CONFIG_BOARD); in cmd_demo_board()
140 shell_print(sh, in cmd_demo_getopt_ts()
144 shell_print(sh, in cmd_demo_getopt_ts()
148 shell_print(sh, in cmd_demo_getopt_ts()
158 shell_print(sh, "aflag = %d, bflag = %d", aflag, bflag); in cmd_demo_getopt_ts()
190 shell_print(sh, in cmd_demo_getopt()
194 shell_print(sh, "Unknown option `-%c'.", in cmd_demo_getopt()
[all …]
/Zephyr-latest/subsys/storage/flash_map/
Dflash_map_shell.c32 shell_print(sh, "%2d 0x%0*" PRIxPTR " %-26s %-24.24s 0x%-10x 0x%-12x", (int)fa->fa_id, in fa_cb()
36 shell_print(sh, "%2d 0x%0*" PRIxPTR " %-26s 0x%-10x 0x%-12x", (int)fa->fa_id, in fa_cb()
45 shell_print(sh, "ID | Device | Device Name " in cmd_flash_map_list()
47 shell_print(sh, "--------------------------------------------" in cmd_flash_map_list()
50 shell_print(sh, "ID | Device | Device Name " in cmd_flash_map_list()
52 shell_print(sh, "-----------------------------------------" in cmd_flash_map_list()
/Zephyr-latest/subsys/sip_svc/
Dsip_svc_agilex_mailbox_shell.c33 shell_print(sh, "Mailbox client already registered"); in cmd_reg()
49 shell_print(sh, "Mailbox client register success (token %08x)", mb_c_token); in cmd_reg()
61 shell_print(sh, "Mailbox client is not registered"); in cmd_unreg()
69 shell_print(sh, "Mailbox client unregister success"); in cmd_unreg()
85 shell_print(sh, "Mailbox client is not registered"); in cmd_open()
110 shell_print(sh, "Mailbox client open success"); in cmd_open()
123 shell_print(sh, "Mailbox client is not registered"); in cmd_close()
153 shell_print(sh, "Mailbox client close success"); in cmd_close()
172 shell_print(sh, "\n\rsip_svc send command callback\n"); in cmd_send_callback()
173 shell_print(sh, "\theader=%08x\n", response->header); in cmd_send_callback()
[all …]
Dsip_svc_shell.c56 shell_print(sh, "%s: register success: client token %08x\n", ctrl->method, c_token); in cmd_reg()
90 shell_print(sh, "%s: unregister success: client token %08x", ctrl->method, in cmd_unreg()
144 shell_print(sh, "%s: open success: client token %08x", ctrl->method, in cmd_open()
178 shell_print(sh, "%s: close success: client token %08x", ctrl->method, in cmd_close()
194 shell_print(sh, "\n\rsip_svc send callback response\n"); in cmd_send_callback()
195 shell_print(sh, "\theader=%08x\n", response->header); in cmd_send_callback()
196 shell_print(sh, "\ta0=%016lx\n", response->a0); in cmd_send_callback()
197 shell_print(sh, "\ta1=%016lx\n", response->a1); in cmd_send_callback()
198 shell_print(sh, "\ta2=%016lx\n", response->a2); in cmd_send_callback()
199 shell_print(sh, "\ta3=%016lx\n", response->a3); in cmd_send_callback()
[all …]
/Zephyr-latest/subsys/llext/
Dshell.c49 shell_print(sh, "No such llext %s", argv[1]); in cmd_llext_list_symbols()
53 shell_print(sh, "Extension: %s symbols", m->name); in cmd_llext_list_symbols()
54 shell_print(sh, "| Symbol | Address |"); in cmd_llext_list_symbols()
56 shell_print(sh, "| %16s | %p |", m->exp_tab.syms[i].name, in cmd_llext_list_symbols()
115 shell_print(sl->sh, "| %16s | %12d |", ext->name, ext->alloc_size); in llext_shell_list_cb()
123 shell_print(sh, "| Name | Size |"); in cmd_llext_list()
136 shell_print(sh, "Extension %d bytes too large to load, max %d bytes\n", hex_len/2, in cmd_llext_load_hex()
156 shell_print(sh, "Successfully loaded extension %s, addr %p\n", ext->name, ext); in cmd_llext_load_hex()
158 shell_print(sh, "Failed to load extension %s, return code %d\n", name, res); in cmd_llext_load_hex()
169 shell_print(sh, "No such extension %s", argv[1]); in cmd_llext_unload()
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Dbredr.c63 shell_print(sh, "Not connected"); in cmd_auth_pincode()
68 shell_print(sh, "PIN code value invalid - enter max %u " in cmd_auth_pincode()
73 shell_print(sh, "PIN code \"%s\" applied", argv[1]); in cmd_auth_pincode()
88 shell_print(sh, "Invalid peer address (err %d)", err); in cmd_connect()
94 shell_print(sh, "Connection failed"); in cmd_connect()
98 shell_print(sh, "Connection pending"); in cmd_connect()
200 shell_print(sh, "Failed to start discovery"); in cmd_discovery()
204 shell_print(sh, "Discovery started"); in cmd_discovery()
207 shell_print(sh, "Failed to stop discovery"); in cmd_discovery()
211 shell_print(sh, "Discovery stopped"); in cmd_discovery()
[all …]
Da2dp.c487 shell_print(sh, "success"); in cmd_register_cb()
489 shell_print(sh, "fail"); in cmd_register_cb()
492 shell_print(sh, "already registered"); in cmd_register_cb()
505 shell_print(sh, "need to register a2dp connection callbacks"); in cmd_register_ep()
520 shell_print(sh, "SBC sink endpoint is registered"); in cmd_register_ep()
531 shell_print(sh, "SBC source endpoint is registered"); in cmd_register_ep()
544 shell_print(sh, "fail to register endpoint"); in cmd_register_ep()
553 shell_print(sh, "need to register a2dp connection callbacks"); in cmd_connect()
572 shell_print(sh, "need to register a2dp connection callbacks"); in cmd_disconnect()
613 shell_print(sh, "need to register a2dp connection callbacks"); in cmd_configure()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dhas.c51 shell_print(sh, "Invalid command parameter (err %d)", err); in cmd_preset_reg()
70 shell_print(sh, "Invalid command parameter (err %d)", err); in cmd_preset_unreg()
76 shell_print(sh, "Preset unregister failed (err %d)", err); in cmd_preset_unreg()
167 shell_print(data->sh, "%d: index 0x%02x prop 0x%02x name %s", ++data->num, index, in print_list_entry()
182 shell_print(sh, "No presets registered"); in cmd_preset_list()
194 shell_print(sh, "Invalid command parameter (err %d)", err); in cmd_preset_avail()
200 shell_print(sh, "Preset availability set failed (err %d)", err); in cmd_preset_avail()
213 shell_print(sh, "Invalid command parameter (err %d)", err); in cmd_preset_unavail()
219 shell_print(sh, "Preset availability set failed (err %d)", err); in cmd_preset_unavail()
232 shell_print(sh, "Invalid command parameter (err %d)", err); in cmd_preset_active_set()
[all …]
Dtbs.c57 shell_print(sh, "Connection with addr %s authorized", addr); in cmd_tbs_authorize()
143 shell_print(sh, "TBS failed: %d", result); in cmd_tbs_accept()
145 shell_print(sh, "TBS succeeded for call_index: %ld", in cmd_tbs_accept()
173 shell_print(sh, "TBS failed: %d", result); in cmd_tbs_terminate()
175 shell_print(sh, "TBS succeeded for call_index: %ld", in cmd_tbs_terminate()
202 shell_print(sh, "TBS failed: %d", result); in cmd_tbs_hold()
204 shell_print(sh, "TBS succeeded for call_index: %ld", in cmd_tbs_hold()
232 shell_print(sh, "TBS failed: %d", result); in cmd_tbs_retrieve()
234 shell_print(sh, "TBS succeeded for call_index: %ld", in cmd_tbs_retrieve()
269 shell_print(sh, "TBS failed: %d", result); in cmd_tbs_originate()
[all …]
/Zephyr-latest/subsys/dfu/boot/
Dmcuboot_shell.c193 shell_print(sh, "%s area (%u):", area->name, area->id); in cmd_mcuboot_info_area()
194 shell_print(sh, " version: %u.%u.%u+%u", in cmd_mcuboot_info_area()
199 shell_print(sh, " image size: %u", in cmd_mcuboot_info_area()
209 shell_print(sh, " magic: %s", in cmd_mcuboot_info_area()
213 shell_print(sh, " swap type: %s", in cmd_mcuboot_info_area()
217 shell_print(sh, " copy done: %s", in cmd_mcuboot_info_area()
219 shell_print(sh, " image ok: %s", in cmd_mcuboot_info_area()
230 shell_print(sh, "swap type: %s", swap_type_str(mcuboot_swap_type())); in cmd_mcuboot_info()
231 shell_print(sh, "confirmed: %d", boot_is_img_confirmed()); in cmd_mcuboot_info()
234 shell_print(sh, ""); in cmd_mcuboot_info()
/Zephyr-latest/subsys/mgmt/hawkbit/
Dshell.c78 shell_print(sh, "Action id: %d", hawkbit_get_action_id()); in cmd_info()
79 shell_print(sh, "Unique device id: %s", device_id); in cmd_info()
80 shell_print(sh, "Firmware Version: %s", firmware_version); in cmd_info()
81 shell_print(sh, "Server address: %s", hawkbit_get_server_addr()); in cmd_info()
82 shell_print(sh, "Server port: %d", hawkbit_get_server_port()); in cmd_info()
83 shell_print(sh, "DDI security token: %s", in cmd_info()
110 shell_print(sh, "Reset action id %s", (ret == 0) ? "success" : "failed"); in cmd_reset()
/Zephyr-latest/subsys/shell/modules/kernel_service/
Dheap.c29 shell_print(sh, "free: %zu", stats.free_bytes); in cmd_kernel_heap()
30 shell_print(sh, "allocated: %zu", stats.allocated_bytes); in cmd_kernel_heap()
31 shell_print(sh, "max. allocated: %zu", stats.max_allocated_bytes); in cmd_kernel_heap()
/Zephyr-latest/subsys/debug/coredump/
Dcoredump_backend_flash_partition.c661 shell_print(sh, "No error."); in cmd_coredump_error_get()
663 shell_print(sh, "Error: %d", backend_ctx.error); in cmd_coredump_error_get()
682 shell_print(sh, "Error cleared."); in cmd_coredump_error_clear()
707 shell_print(sh, "Stored coredump found."); in cmd_coredump_has_stored_dump()
709 shell_print(sh, "Stored coredump NOT found."); in cmd_coredump_has_stored_dump()
711 shell_print(sh, "Failed to perform query: %d", ret); in cmd_coredump_has_stored_dump()
737 shell_print(sh, "Stored coredump verified."); in cmd_coredump_verify_stored_dump()
739 shell_print(sh, "Stored coredump verification failed " in cmd_coredump_verify_stored_dump()
742 shell_print(sh, "Failed to perform verify command: %d", in cmd_coredump_verify_stored_dump()
758 shell_print(sh, "%s%s", COREDUMP_PREFIX_STR, print_buf); in flush_print_buf()
[all …]
/Zephyr-latest/drivers/usb_c/tcpc/
Dshell.c22 shell_print(sh, "%s vbus: %d mV", dev->name, val); \
32 shell_print(sh, "Chip: %s", dev->name); \
33 shell_print(sh, "\tVendor: %04x", chip_info.vendor_id); \
34 shell_print(sh, "\tProduct: %04x", chip_info.product_id); \
35 shell_print(sh, "\tDevice: %04x", chip_info.device_id); \
36 shell_print(sh, "\tFirmware: %llx", chip_info.fw_version_number); \
/Zephyr-latest/arch/common/
Disr_tables_shell.c20 shell_print(sh, "%4d: %s(%p)", idx, name, entry->arg); in dump_isr_table_entry()
22 shell_print(sh, "%4d: %p(%p)", idx, entry->isr, entry->arg); in dump_isr_table_entry()
28 shell_print(sh, "_sw_isr_table[%d]\n", IRQ_TABLE_SIZE); in cmd_sw_isr_table()
40 shell_print(sh, "z_shared_sw_isr_table[%d][%d]\n", IRQ_TABLE_SIZE, in cmd_shared_sw_isr_table()

123456