Home
last modified time | relevance | path

Searched refs:SHELL_NORMAL (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-latest/drivers/sensor/
Dshell_battery.c91 shell_fprintf(sh, SHELL_NORMAL, "Temp: %.1d.%02d C\n", temp.val1, in cmd_battery()
93 shell_fprintf(sh, SHELL_NORMAL, "V: %5d.%02d V\n", volt.val1, in cmd_battery()
95 shell_fprintf(sh, SHELL_NORMAL, "V-desired: %d.%02d V\n", in cmd_battery()
97 shell_fprintf(sh, SHELL_NORMAL, "I: %d mA", current.val1); in cmd_battery()
99 shell_fprintf(sh, SHELL_NORMAL, " (CHG)"); in cmd_battery()
101 shell_fprintf(sh, SHELL_NORMAL, " (DISCHG)"); in cmd_battery()
103 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_battery()
104 shell_fprintf(sh, SHELL_NORMAL, "I-desired: %5d mA\n", in cmd_battery()
107 shell_fprintf(sh, SHELL_NORMAL, "Charging: %sAllowed\n", in cmd_battery()
109 shell_fprintf(sh, SHELL_NORMAL, "Charge: %d %%\n", charge.val1); in cmd_battery()
[all …]
/Zephyr-latest/lib/posix/shell/
Duname.c135 shell_fprintf(sh, SHELL_NORMAL, "%s ", info.sysname); in uname_cmd_handler()
140 shell_fprintf(sh, SHELL_NORMAL, "%s ", info.nodename); in uname_cmd_handler()
145 shell_fprintf(sh, SHELL_NORMAL, "%s ", info.release); in uname_cmd_handler()
150 shell_fprintf(sh, SHELL_NORMAL, "%s ", info.version); in uname_cmd_handler()
155 shell_fprintf(sh, SHELL_NORMAL, "%s ", info.machine); in uname_cmd_handler()
160 shell_fprintf(sh, SHELL_NORMAL, "%s ", CONFIG_BOARD); in uname_cmd_handler()
165 shell_fprintf(sh, SHELL_NORMAL, "%s ", "unknown"); in uname_cmd_handler()
168 shell_fprintf(sh, SHELL_NORMAL, "\n"); in uname_cmd_handler()
/Zephyr-latest/drivers/pcie/host/
Dshell.c103 shell_fprintf(sh, SHELL_NORMAL, " MSI support%s%s\n", in show_msi()
120 shell_fprintf(sh, SHELL_NORMAL, in show_msi()
130 shell_fprintf(sh, SHELL_NORMAL, in show_msi()
138 shell_fprintf(sh, SHELL_NORMAL, in show_msi()
156 shell_fprintf(sh, SHELL_NORMAL, " bar %d: %s%s", in show_bars()
161 shell_fprintf(sh, SHELL_NORMAL, " addr 0x"); in show_bars()
165 shell_fprintf(sh, SHELL_NORMAL, "%08x", in show_bars()
169 shell_fprintf(sh, SHELL_NORMAL, "%08x\n", in show_bars()
179 shell_fprintf(sh, SHELL_NORMAL, " PCI capabilities:\n"); in show_capabilities()
185 shell_fprintf(sh, SHELL_NORMAL, in show_capabilities()
[all …]
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_shell.c102 shell_fprintf(sh, SHELL_NORMAL, "%u.%s%u %s", radix, in print_number()
105 shell_fprintf(sh, SHELL_NORMAL, "%u %s", value, *unit); in print_number()
128 shell_fprintf(sh, SHELL_NORMAL, "%llu.%s%u %s", radix, in print_number_64()
131 shell_fprintf(sh, SHELL_NORMAL, "%llu %s", value, *unit); in print_number_64()
253 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
270 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
289 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
305 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
322 shell_fprintf(sh, SHELL_NORMAL, "New session started.\n"); in udp_session_cb()
337 shell_fprintf(sh, SHELL_NORMAL, "End of session!\n"); in udp_session_cb()
[all …]
/Zephyr-latest/subsys/shell/modules/
Ddevice_service.c43 shell_fprintf(ctx->sh, SHELL_NORMAL, " requires: %s\n", in cmd_device_list_visitor()
61 shell_fprintf(sh, SHELL_NORMAL, "devices:\n"); in cmd_device_list()
69 shell_fprintf(sh, SHELL_NORMAL, "- %s", name); in cmd_device_list()
85 shell_fprintf(sh, SHELL_NORMAL, " (%s, usage=%d)\n", state, usage); in cmd_device_list()
87 shell_fprintf(sh, SHELL_NORMAL, " (%s)\n", state); in cmd_device_list()
106 shell_fprintf(sh, SHELL_NORMAL, " DT node labels:"); in cmd_device_list()
110 shell_fprintf(sh, SHELL_NORMAL, " %s", nodelabel); in cmd_device_list()
112 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_device_list()
142 shell_fprintf(sh, SHELL_NORMAL, "pm_device_runtime_put(%s)\n", in cmd_device_pm_toggle()
146 shell_fprintf(sh, SHELL_NORMAL, "pm_device_runtime_get(%s)\n", in cmd_device_pm_toggle()
Ddevmem_service.c86 shell_fprintf(sh, SHELL_NORMAL, "Incorrect data width\n"); in memory_dump()
274 shell_fprintf(sh, SHELL_NORMAL, "Incorrect data width\n"); in memory_read()
280 shell_fprintf(sh, SHELL_NORMAL, "Read value 0x%x\n", value); in memory_read()
301 shell_fprintf(sh, SHELL_NORMAL, "Incorrect data width\n"); in memory_write()
332 shell_fprintf(sh, SHELL_NORMAL, "Using data width %d\n", width); in cmd_devmem()
344 shell_fprintf(sh, SHELL_NORMAL, "Writing value 0x%x\n", value); in cmd_devmem()
/Zephyr-latest/drivers/edac/
Dshell.c43 shell_fprintf(sh, SHELL_NORMAL, in decode_ecc_error()
45 shell_fprintf(sh, SHELL_NORMAL, in decode_ecc_error()
49 shell_fprintf(sh, SHELL_NORMAL, in decode_ecc_error()
54 shell_fprintf(sh, SHELL_NORMAL, in decode_ecc_error()
70 shell_fprintf(sh, SHELL_NORMAL, "ECC Error: 0x%llx\n", error); in ecc_error_show()
90 shell_fprintf(sh, SHELL_NORMAL, "Parity Error: 0x%llx\n", error); in parity_error_show()
106 shell_fprintf(sh, SHELL_NORMAL, "Show EDAC status\n"); in cmd_edac_info()
118 shell_fprintf(sh, SHELL_NORMAL, in cmd_edac_info()
139 shell_fprintf(sh, SHELL_NORMAL, in cmd_inject_addr()
154 shell_fprintf(sh, SHELL_NORMAL, in cmd_inject_addr()
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge_shell.c119 shell_fprintf(sh, SHELL_NORMAL, "%-7d", br_idx); in bridge_show()
122 shell_fprintf(sh, SHELL_NORMAL, "%-9s", "up"); in bridge_show()
124 shell_fprintf(sh, SHELL_NORMAL, "%-9s", "down"); in bridge_show()
128 shell_fprintf(sh, SHELL_NORMAL, "%-9s", "ok"); in bridge_show()
130 shell_fprintf(sh, SHELL_NORMAL, "%-9s", "no"); in bridge_show()
144 shell_fprintf(sh, SHELL_NORMAL, "%-2d", if_idx); in bridge_show()
147 shell_fprintf(sh, SHELL_NORMAL, "\n"); in bridge_show()
170 shell_fprintf(sh, SHELL_NORMAL, "Bridge %-9s%-9sInterfaces\n", in cmd_bridge_show()
/Zephyr-latest/drivers/hwinfo/
Dhwinfo_shell.c29 shell_fprintf(sh, SHELL_NORMAL, "Length: %zd\n", length); in cmd_get_device_id()
30 shell_fprintf(sh, SHELL_NORMAL, "ID: 0x"); in cmd_get_device_id()
33 shell_fprintf(sh, SHELL_NORMAL, "%02x", dev_id[i]); in cmd_get_device_id()
36 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_get_device_id()
57 shell_fprintf(sh, SHELL_NORMAL, "EUI64: 0x"); in cmd_get_device_eui64()
60 shell_fprintf(sh, SHELL_NORMAL, "%02x", dev_eui64[i]); in cmd_get_device_eui64()
63 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_get_device_eui64()
/Zephyr-latest/subsys/mgmt/updatehub/
Dshell.c77 shell_fprintf(sh, SHELL_NORMAL, "Unique device id: %s\n", in cmd_info()
79 shell_fprintf(sh, SHELL_NORMAL, "Firmware Version: %s\n", in cmd_info()
81 shell_fprintf(sh, SHELL_NORMAL, "Product uid: %s\n", in cmd_info()
83 shell_fprintf(sh, SHELL_NORMAL, "UpdateHub Server: %s\n", in cmd_info()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_shell.c47 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_ack()
55 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_ack()
124 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_associate()
158 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_disassociate()
216 shell_fprintf(cb_shell, SHELL_NORMAL, in scan_result_cb()
269 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_scan()
292 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_scan()
327 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_set_chan()
356 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_get_chan()
391 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_set_pan_id()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Daudio.h263 shell_fprintf(ltv_info->sh, SHELL_NORMAL, "%*s", elem_indent, ""); in print_ltv_elem()
266 shell_fprintf(ltv_info->sh, SHELL_NORMAL, "%02X", data->data[i]); in print_ltv_elem()
269 shell_fprintf(ltv_info->sh, SHELL_NORMAL, "\n"); in print_ltv_elem()
336 shell_fprintf(sh, SHELL_NORMAL, "%*s", indent, ""); in print_codec_meta_program_info()
338 shell_fprintf(sh, SHELL_NORMAL, "%c", (char)program_info[i]); in print_codec_meta_program_info()
341 shell_fprintf(sh, SHELL_NORMAL, "\n"); in print_codec_meta_program_info()
379 shell_fprintf(sh, SHELL_NORMAL, "%*s", indent, ""); in print_codec_meta_program_info_uri()
382 shell_fprintf(sh, SHELL_NORMAL, "%c", (char)program_info_uri[i]); in print_codec_meta_program_info_uri()
385 shell_fprintf(sh, SHELL_NORMAL, "\n"); in print_codec_meta_program_info_uri()
408 shell_fprintf(sh, SHELL_NORMAL, "%*s", indent, ""); in print_codec_meta_extended()
[all …]
/Zephyr-latest/drivers/modem/
Dmodem_shell.c53 shell_fprintf(sh, SHELL_NORMAL, "Modem receivers:\n"); in cmd_modem_list()
59 shell_fprintf(sh, SHELL_NORMAL, in cmd_modem_list()
97 shell_fprintf(sh, SHELL_NORMAL, "None found.\n"); in cmd_modem_list()
183 shell_fprintf(sh, SHELL_NORMAL, in cmd_modem_info()
199 shell_fprintf(sh, SHELL_NORMAL, "GSM 07.10 muxing : disabled\n"); in cmd_modem_info()
/Zephyr-latest/subsys/shell/
Dshell_help.c123 z_shell_fprintf(sh, SHELL_NORMAL, "%s%-*s", tabulator, in help_item_print()
129 z_shell_fprintf(sh, SHELL_NORMAL, "%s%s", tabulator, in help_item_print()
143 z_shell_fprintf(sh, SHELL_NORMAL, "%s: ", tabulator); in help_item_print()
172 z_shell_fprintf(sh, SHELL_NORMAL, description); in z_shell_help_subcmd_print()
191 z_shell_fprintf(sh, SHELL_NORMAL, "%s%s", cmd->syntax, cmd_sep); in z_shell_help_cmd_print()
/Zephyr-latest/drivers/led/
Dled_shell.c135 shell_fprintf(sh, SHELL_NORMAL, "Colors : %s", in cmd_get_info()
138 shell_fprintf(sh, SHELL_NORMAL, ":%s", in cmd_get_info()
141 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_get_info()
225 shell_fprintf(sh, SHELL_NORMAL, "%s: setting LED %d color to %d", in cmd_set_color()
228 shell_fprintf(sh, SHELL_NORMAL, ":%d", color[i]); in cmd_set_color()
230 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_set_color()
318 shell_fprintf(sh, SHELL_NORMAL, "%s: writing from channel %d: %d", in cmd_write_channels()
321 shell_fprintf(sh, SHELL_NORMAL, " %d", value[i]); in cmd_write_channels()
323 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_write_channels()
/Zephyr-latest/drivers/virtualization/
Dvirt_ivshmem_shell.c44 shell_fprintf(sh, SHELL_NORMAL, in doorbell_notification_thread()
80 shell_fprintf(sh, SHELL_NORMAL, in cmd_ivshmem_shmem()
147 shell_fprintf(sh, SHELL_NORMAL, in cmd_ivshmem_int()
173 shell_fprintf(sh, SHELL_NORMAL, in cmd_ivshmem_get_notified()
/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials_shell.c323 shell_fprintf(sh, SHELL_NORMAL, "Credential buffer cleared.\n"); in shell_clear_cred_buf()
342 shell_fprintf(sh, SHELL_NORMAL, "Stored %d bytes.\n", res); in shell_write_cred_buf()
491 shell_fprintf(sh, SHELL_NORMAL, "Added TLS credential of type %s, sectag %d, and length %d " in tls_cred_cmd_add()
574 shell_fprintf(sh, SHELL_NORMAL, "Stored credential freed.\n"); in tls_cred_cmd_del()
586 shell_fprintf(sh, SHELL_NORMAL, "Deleted TLS credential with sectag %d and type %s.\n", in tls_cred_cmd_del()
702 shell_fprintf(sh, SHELL_NORMAL, "%s\n", cred_out_buf); in tls_cred_cmd_get()
776 shell_fprintf(sh, err ? SHELL_ERROR : SHELL_NORMAL, "%d,%s,%s,%d\n", in tls_cred_cmd_list()
784 shell_fprintf(sh, SHELL_NORMAL, "%d credentials found.\n", count); in tls_cred_cmd_list()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Ddfd.c28 shell_fprintf(sh, SHELL_NORMAL, "{ \"status\": %d, \"phase\": %d", status, in print_dfd_status()
32 shell_fprintf(sh, SHELL_NORMAL, ", \"group\": %d, \"app_idx\": %d, " in print_dfd_status()
45 shell_fprintf(sh, SHELL_NORMAL, "{ \"status\": %d, \"slot_cnt\": %d, \"idx\": %d", in print_fw_status()
48 shell_fprintf(sh, SHELL_NORMAL, ", \"fwid\": \""); in print_fw_status()
50 shell_fprintf(sh, SHELL_NORMAL, "%02x", fwid[i]); in print_fw_status()
52 shell_fprintf(sh, SHELL_NORMAL, "\""); in print_fw_status()
/Zephyr-latest/drivers/i2c/
Di2c_shell.c67 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()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_plic.c652 shell_fprintf(sh, SHELL_NORMAL, " IRQ"); in cmd_stats_get()
654 shell_fprintf(sh, SHELL_NORMAL, " CPU%2d", cpu_id); in cmd_stats_get()
657 shell_fprintf(sh, SHELL_NORMAL, " Total"); in cmd_stats_get()
659 shell_fprintf(sh, SHELL_NORMAL, "\tISR(ARG)\n"); in cmd_stats_get()
669 shell_fprintf(sh, SHELL_NORMAL, " %4d", i); /* IRQ number */ in cmd_stats_get()
674 shell_fprintf(sh, SHELL_NORMAL, " %5d", *cpu_count); in cmd_stats_get()
678 shell_fprintf(sh, SHELL_NORMAL, " %5d", *total_count); in cmd_stats_get()
684 shell_fprintf(sh, SHELL_NORMAL, "\t%s(%p)\n", name, config->isr_table[i].arg); in cmd_stats_get()
686 shell_fprintf(sh, SHELL_NORMAL, "\t%p(%p)\n", (void *)config->isr_table[i].isr, in cmd_stats_get()
/Zephyr-latest/drivers/smbus/
Dsmbus_shell.c59 shell_fprintf(sh, SHELL_NORMAL, "%02x: ", i); in cmd_smbus_scan()
63 shell_fprintf(sh, SHELL_NORMAL, " "); in cmd_smbus_scan()
68 shell_fprintf(sh, SHELL_NORMAL, "%02x ", i + j); in cmd_smbus_scan()
71 shell_fprintf(sh, SHELL_NORMAL, "-- "); in cmd_smbus_scan()
/Zephyr-latest/subsys/fs/
Dshell.c345 shell_fprintf(sh, SHELL_NORMAL, "%08X ", (uint32_t)offset); in cmd_read()
348 shell_fprintf(sh, SHELL_NORMAL, "%02X ", buf[i]); in cmd_read()
351 shell_fprintf(sh, SHELL_NORMAL, " "); in cmd_read()
354 shell_fprintf(sh, SHELL_NORMAL, "%*c", i*3, ' '); in cmd_read()
357 shell_fprintf(sh, SHELL_NORMAL, "%c", buf[i] < 32 || in cmd_read()
411 shell_fprintf(sh, SHELL_NORMAL, "%c", buf[j]); in cmd_cat()
440 shell_fprintf(sh, SHELL_NORMAL, in cmd_statvfs()
/Zephyr-latest/modules/openthread/platform/
Dshell.c34 shell_vfprintf(shell_p, SHELL_NORMAL, format, arg); in ot_console_cb()
/Zephyr-latest/subsys/logging/
Dlog_cmds.c115 shell_fprintf(sh, SHELL_NORMAL, "%-40s | current | built-in \r\n", in log_status()
117 shell_fprintf(sh, SHELL_NORMAL, in log_status()
129 shell_fprintf(sh, SHELL_NORMAL, "%-40s | %-7s | %s\r\n", in log_status()
375 shell_fprintf(sh, SHELL_NORMAL, in cmd_log_backends_list()
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt_shell_private.c69 wall_vfprintf(SHELL_NORMAL, fmt, args); in bt_shell_fprintf_print()

12