Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.4.0/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-Core-3.4.0/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()
198 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
215 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
234 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
250 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip()
267 shell_fprintf(sh, SHELL_NORMAL, "New session started.\n"); in udp_session_cb()
283 shell_fprintf(sh, SHELL_NORMAL, "End of session!\n"); in udp_session_cb()
285 shell_fprintf(sh, SHELL_NORMAL, " duration:\t\t"); in udp_session_cb()
287 shell_fprintf(sh, SHELL_NORMAL, "\n"); in udp_session_cb()
[all …]
/Zephyr-Core-3.4.0/subsys/net/l2/wifi/
Dwifi_shell.c98 print(context.sh, SHELL_NORMAL, in handle_wifi_scan_result()
103 print(context.sh, SHELL_NORMAL, in handle_wifi_scan_result()
166 print(context.sh, SHELL_NORMAL, in handle_wifi_raw_scan_result()
175 print(context.sh, SHELL_NORMAL, "%-4d | %-4u (%-6s) | %-4d | %s | %-4d ", in handle_wifi_raw_scan_result()
184 print(context.sh, SHELL_NORMAL, "%02X ", *(raw->data + i)); in handle_wifi_raw_scan_result()
187 print(context.sh, SHELL_NORMAL, "\n"); in handle_wifi_raw_scan_result()
200 print(context.sh, SHELL_NORMAL, "Scan request done\n"); in handle_wifi_scan_done()
215 print(context.sh, SHELL_NORMAL, "Connected\n"); in handle_wifi_connect_result()
228 status->status ? SHELL_WARNING : SHELL_NORMAL, in handle_wifi_disconnect_result()
234 print(context.sh, SHELL_NORMAL, "Disconnected\n"); in handle_wifi_disconnect_result()
[all …]
/Zephyr-Core-3.4.0/drivers/pcie/host/
Dshell.c26 shell_fprintf(sh, SHELL_NORMAL, " MSI support%s%s\n", in show_msi()
43 shell_fprintf(sh, SHELL_NORMAL, in show_msi()
53 shell_fprintf(sh, SHELL_NORMAL, in show_msi()
61 shell_fprintf(sh, SHELL_NORMAL, in show_msi()
79 shell_fprintf(sh, SHELL_NORMAL, " bar %d: %s%s", in show_bars()
84 shell_fprintf(sh, SHELL_NORMAL, " addr 0x"); in show_bars()
88 shell_fprintf(sh, SHELL_NORMAL, "%08x", in show_bars()
92 shell_fprintf(sh, SHELL_NORMAL, "%08x\n", in show_bars()
103 shell_fprintf(sh, SHELL_NORMAL, "%02x ", in pcie_dump()
109 shell_fprintf(sh, SHELL_NORMAL, "\n"); in pcie_dump()
[all …]
/Zephyr-Core-3.4.0/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-Core-3.4.0/subsys/shell/modules/
Ddevice_service.c41 shell_fprintf(ctx->sh, SHELL_NORMAL, " requires: %s\n", in cmd_device_list_visitor()
58 shell_fprintf(sh, SHELL_NORMAL, "devices:\n"); in cmd_device_list()
65 shell_fprintf(sh, SHELL_NORMAL, "- %s", name); in cmd_device_list()
79 shell_fprintf(sh, SHELL_NORMAL, " (%s)\n", state); in cmd_device_list()
116 shell_fprintf(sh, SHELL_NORMAL, "pm_device_runtime_put(%s)\n", in cmd_device_pm_toggle()
120 shell_fprintf(sh, SHELL_NORMAL, "pm_device_runtime_get(%s)\n", in cmd_device_pm_toggle()
Ddevmem_service.c90 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()
336 shell_fprintf(sh, SHELL_NORMAL, "Using data width %d\n", width); in cmd_devmem()
348 shell_fprintf(sh, SHELL_NORMAL, "Writing value 0x%x\n", value); in cmd_devmem()
/Zephyr-Core-3.4.0/subsys/net/l2/ieee802154/
Dieee802154_shell.c46 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_ack()
54 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_ack()
111 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_associate()
145 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_disassociate()
203 shell_fprintf(cb_shell, SHELL_NORMAL, in scan_result_cb()
255 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_scan()
278 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_scan()
313 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_set_chan()
342 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_get_chan()
377 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_set_pan_id()
[all …]
/Zephyr-Core-3.4.0/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-Core-3.4.0/drivers/modem/
Dmodem_shell.c54 shell_fprintf(sh, SHELL_NORMAL, "Modem receivers:\n"); in cmd_modem_list()
60 shell_fprintf(sh, SHELL_NORMAL, in cmd_modem_list()
98 shell_fprintf(sh, SHELL_NORMAL, "None found.\n"); in cmd_modem_list()
167 shell_fprintf(sh, SHELL_NORMAL, in uart_mux_cb()
181 shell_fprintf(sh, SHELL_NORMAL, in uart_mux_cb()
214 shell_fprintf(sh, SHELL_NORMAL, in cmd_modem_info()
230 shell_fprintf(sh, SHELL_NORMAL, in cmd_modem_info()
/Zephyr-Core-3.4.0/subsys/net/l2/bluetooth/
Dbluetooth_shell.c50 shell_fprintf(sh, SHELL_NORMAL, in shell_cmd_connect()
71 shell_fprintf(sh, SHELL_NORMAL, in shell_cmd_scan()
87 shell_fprintf(sh, SHELL_NORMAL, in shell_cmd_disconnect()
109 shell_fprintf(sh, SHELL_NORMAL, in shell_cmd_advertise()
/Zephyr-Core-3.4.0/subsys/shell/
Dshell_help.c122 z_shell_fprintf(sh, SHELL_NORMAL, "%s%-*s", tabulator, in help_item_print()
128 z_shell_fprintf(sh, SHELL_NORMAL, "%s%s", tabulator, in help_item_print()
142 z_shell_fprintf(sh, SHELL_NORMAL, "%s:", tabulator); in help_item_print()
171 z_shell_fprintf(sh, SHELL_NORMAL, description); in z_shell_help_subcmd_print()
190 z_shell_fprintf(sh, SHELL_NORMAL, "%s%s", cmd->syntax, cmd_sep); in z_shell_help_cmd_print()
/Zephyr-Core-3.4.0/drivers/led/
Dled_shell.c112 shell_fprintf(sh, SHELL_NORMAL, "Colors : %d", in cmd_get_info()
115 shell_fprintf(sh, SHELL_NORMAL, ":%d", in cmd_get_info()
118 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_get_info()
202 shell_fprintf(sh, SHELL_NORMAL, "%s: setting LED %d color to %d", in cmd_set_color()
205 shell_fprintf(sh, SHELL_NORMAL, ":%d", color[i]); in cmd_set_color()
207 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_set_color()
295 shell_fprintf(sh, SHELL_NORMAL, "%s: writing from channel %d: %d", in cmd_write_channels()
298 shell_fprintf(sh, SHELL_NORMAL, " %d", value[i]); in cmd_write_channels()
300 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_write_channels()
/Zephyr-Core-3.4.0/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()
/Zephyr-Core-3.4.0/subsys/net/l2/ethernet/
Dbridge_shell.c152 shell_fprintf(sh, SHELL_NORMAL, "%-10d", br_idx); in bridge_show()
165 shell_fprintf(sh, SHELL_NORMAL, "%-10s", ""); in bridge_show()
167 shell_fprintf(sh, SHELL_NORMAL, "%-10d%s", if_idx, in bridge_show()
171 shell_fprintf(sh, SHELL_NORMAL, "\n"); in bridge_show()
193 shell_fprintf(sh, SHELL_NORMAL, "bridge iface tx_enabled\n"); in cmd_bridge_show()
/Zephyr-Core-3.4.0/drivers/virtualization/
Dvirt_ivshmem_shell.c39 shell_fprintf(sh, SHELL_NORMAL, in doorbell_notification_thread()
77 shell_fprintf(sh, SHELL_NORMAL, in cmd_ivshmem_shmem()
144 shell_fprintf(sh, SHELL_NORMAL, in cmd_ivshmem_int()
170 shell_fprintf(sh, SHELL_NORMAL, in cmd_ivshmem_get_notified()
/Zephyr-Core-3.4.0/subsys/mgmt/hawkbit/
Dshell.c78 shell_fprintf(sh, SHELL_NORMAL, "Unique device id: %s\n", device_id); in cmd_info()
79 shell_fprintf(sh, SHELL_NORMAL, "Firmware Version: %s\n", in cmd_info()
/Zephyr-Core-3.4.0/samples/net/gsm_modem/src/
Dmain.c34 shell_fprintf(sh, SHELL_NORMAL, "Modem is already stopped.\n"); in cmd_sample_modem_suspend()
51 shell_fprintf(sh, SHELL_NORMAL, "Modem is already started.\n"); in cmd_sample_modem_resume()
/Zephyr-Core-3.4.0/drivers/gpio/
Dgpio_shell.c157 shell_fprintf(sh, SHELL_NORMAL, "Blinking port %s index %d.", argv[1], index); in cmd_gpio_blink()
158 shell_fprintf(sh, SHELL_NORMAL, " Hit any key to exit"); in cmd_gpio_blink()
170 shell_fprintf(sh, SHELL_NORMAL, "\n"); in cmd_gpio_blink()
/Zephyr-Core-3.4.0/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\": 0x%04x, \"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-Core-3.4.0/drivers/can/
Dcan_shell.c70 shell_fprintf(sh, SHELL_NORMAL, "(%05d) ", frame->timestamp); in can_shell_print_frame()
75 shell_fprintf(sh, SHELL_NORMAL, "%c%c ", in can_shell_print_frame()
81 shell_fprintf(sh, SHELL_NORMAL, "%*s%0*x ", in can_shell_print_frame()
88 shell_fprintf(sh, SHELL_NORMAL, "%s[%0*d] ", in can_shell_print_frame()
95 shell_fprintf(sh, SHELL_NORMAL, "remote transmission request"); in can_shell_print_frame()
98 shell_fprintf(sh, SHELL_NORMAL, "%02x ", frame->data[i]); in can_shell_print_frame()
102 shell_fprintf(sh, SHELL_NORMAL, "\n"); in can_shell_print_frame()
219 shell_fprintf(sh, SHELL_NORMAL, "%s ", can_shell_mode_map[i].name); in can_shell_print_capabilities()
226 shell_fprintf(sh, SHELL_NORMAL, "0x%08x ", (can_mode_t)BIT(bit)); in can_shell_print_capabilities()
333 shell_fprintf(sh, SHELL_NORMAL, "capabilities: normal "); in cmd_can_show()
[all …]
/Zephyr-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/subsys/fs/
Dshell.c314 shell_fprintf(sh, SHELL_NORMAL, "%08X ", (uint32_t)offset); in cmd_read()
317 shell_fprintf(sh, SHELL_NORMAL, "%02X ", buf[i]); in cmd_read()
320 shell_fprintf(sh, SHELL_NORMAL, " "); in cmd_read()
323 shell_fprintf(sh, SHELL_NORMAL, "%*c", i*3, ' '); in cmd_read()
326 shell_fprintf(sh, SHELL_NORMAL, "%c", buf[i] < 32 || in cmd_read()
380 shell_fprintf(sh, SHELL_NORMAL, "%c", buf[j]); in cmd_cat()
409 shell_fprintf(sh, SHELL_NORMAL, in cmd_statvfs()
/Zephyr-Core-3.4.0/subsys/logging/
Dlog_cmds.c103 shell_fprintf(sh, SHELL_NORMAL, "%-40s | current | built-in \r\n", in log_status()
105 shell_fprintf(sh, SHELL_NORMAL, in log_status()
114 shell_fprintf(sh, SHELL_NORMAL, "%-40s | %-7s | %s\r\n", in log_status()
345 shell_fprintf(sh, SHELL_NORMAL, in cmd_log_backends_list()

12