/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_shell.c | 102 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() 171 shell_fprintf(sh, SHELL_WARNING, in parse_ipv6_addr() 195 shell_fprintf(sh, SHELL_WARNING, in parse_ipv4_addr() 224 shell_fprintf(sh, SHELL_WARNING, in zperf_bind_host() 248 shell_fprintf(sh, SHELL_WARNING, in cmd_setip() 253 shell_fprintf(sh, SHELL_NORMAL, in cmd_setip() 265 shell_fprintf(sh, SHELL_WARNING, in cmd_setip() [all …]
|
/Zephyr-latest/subsys/task_wdt/ |
D | task_wdt_shell.c | 23 shell_fprintf(sh, SHELL_INFO, "Init task watchdog ...\n"); in cmd_init() 28 shell_fprintf(sh, SHELL_ERROR, "Failed to init task watchdog: %d\n", ret); in cmd_init() 38 shell_fprintf(sh, SHELL_ERROR, "Invalid number of arguments\n"); in cmd_add() 42 shell_fprintf(sh, SHELL_INFO, "Add task watchdog channel\n"); in cmd_add() 49 shell_fprintf(sh, SHELL_ERROR, "Failed to add task watchdog channel: %d\n", ret); in cmd_add() 53 shell_fprintf(sh, SHELL_INFO, "Task watchdog channel: %d\n", ret); in cmd_add() 55 shell_fprintf(sh, SHELL_NORMAL, in cmd_add() 66 shell_fprintf(sh, SHELL_ERROR, "Invalid number of arguments\n"); in cmd_feed() 70 shell_fprintf(sh, SHELL_INFO, "Feed task watchdog channel %s\n", argv[1]); in cmd_feed() 75 shell_fprintf(sh, SHELL_ERROR, "Failed to add task watchdog channel: %d\n", ret); in cmd_feed() [all …]
|
/Zephyr-latest/drivers/sensor/ |
D | shell_battery.c | 91 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/subsys/net/l2/ieee802154/ |
D | ieee802154_shell.c | 40 shell_fprintf(sh, SHELL_INFO, in cmd_ieee802154_ack() 47 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_ack() 55 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_ack() 90 shell_fprintf(sh, SHELL_INFO, in cmd_ieee802154_associate() 96 shell_fprintf(sh, SHELL_INFO, "Address too long\n"); in cmd_ieee802154_associate() 106 shell_fprintf(sh, SHELL_INFO, in cmd_ieee802154_associate() 118 shell_fprintf(sh, SHELL_WARNING, in cmd_ieee802154_associate() 124 shell_fprintf(sh, SHELL_NORMAL, in cmd_ieee802154_associate() 141 shell_fprintf(sh, SHELL_INFO, in cmd_ieee802154_disassociate() 148 shell_fprintf(sh, SHELL_INFO, in cmd_ieee802154_disassociate() [all …]
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | shell.c | 28 shell_fprintf(sh, SHELL_INFO, "Starting UpdateHub run...\n"); in cmd_run() 37 shell_fprintf(sh, SHELL_ERROR, "Error installing update.\n"); in cmd_run() 43 shell_fprintf(sh, SHELL_INFO, "No update found\n"); in cmd_run() 48 shell_fprintf(sh, SHELL_ERROR, "Invalid response\n"); in cmd_run() 77 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/drivers/modem/ |
D | modem_shell.c | 53 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() 112 shell_fprintf(sh, SHELL_ERROR, in cmd_modem_send() 120 shell_fprintf(sh, SHELL_ERROR, in cmd_modem_send() 127 shell_fprintf(sh, SHELL_ERROR, "Modem receiver not found!"); in cmd_modem_send() 134 shell_fprintf(sh, SHELL_ERROR, in cmd_modem_send() 146 shell_fprintf(sh, SHELL_ERROR, in cmd_modem_send() 164 shell_fprintf(sh, SHELL_ERROR, in cmd_modem_info() 172 shell_fprintf(sh, SHELL_ERROR, in cmd_modem_info() [all …]
|
/Zephyr-latest/lib/posix/shell/ |
D | uname.c | 135 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/wifi/nrf_wifi/src/ |
D | wifi_util.c | 56 shell_fprintf(sh, in check_valid_data_rate() 91 shell_fprintf(sh, in nrf_wifi_util_set_he_ltf() 100 shell_fprintf(sh, in nrf_wifi_util_set_he_ltf() 122 shell_fprintf(sh, in nrf_wifi_util_set_he_gi() 131 shell_fprintf(sh, in nrf_wifi_util_set_he_gi() 156 shell_fprintf(sh, in nrf_wifi_util_set_he_ltf_gi() 170 shell_fprintf(sh, in nrf_wifi_util_set_he_ltf_gi() 193 shell_fprintf(sh, in nrf_wifi_util_set_uapsd_queue() 207 shell_fprintf(sh, in nrf_wifi_util_set_uapsd_queue() 229 shell_fprintf(sh, in nrf_wifi_util_show_cfg() [all …]
|
/Zephyr-latest/drivers/pcie/host/ |
D | shell.c | 103 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/shell/modules/ |
D | device_service.c | 43 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()
|
D | devmem_service.c | 86 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/subsys/net/lib/tls_credentials/ |
D | tls_credentials_shell.c | 238 shell_fprintf(sh, SHELL_ERROR, "%s is not a valid sectag.\n", arg); in shell_parse_cred_sectag() 265 shell_fprintf(sh, SHELL_ERROR, "%s is not a valid credential type.\n", arg); in shell_parse_cred_type() 280 shell_fprintf(sh, SHELL_ERROR, "%s is not a valid backend.\n", arg); in shell_parse_cred_backend() 313 shell_fprintf(sh, SHELL_ERROR, "%s is not a valid storage format.\n", arg); in shell_parse_cred_storage_format() 323 shell_fprintf(sh, SHELL_NORMAL, "Credential buffer cleared.\n"); in shell_clear_cred_buf() 335 shell_fprintf(sh, SHELL_ERROR, "Not enough room in credential buffer for " in shell_write_cred_buf() 342 shell_fprintf(sh, SHELL_NORMAL, "Stored %d bytes.\n", res); in shell_write_cred_buf() 399 shell_fprintf(sh, SHELL_ERROR, "Please provide a credential to add.\n"); in tls_cred_cmd_add() 406 shell_fprintf(sh, SHELL_ERROR, "TLS credential with sectag %d and type %s " in tls_cred_cmd_add() 425 shell_fprintf(sh, SHELL_ERROR, "Could not decode input from base64, " in tls_cred_cmd_add() [all …]
|
/Zephyr-latest/drivers/edac/ |
D | shell.c | 43 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/include/zephyr/shell/ |
D | shell_fprintf.h | 29 struct shell_fprintf { struct 54 static const struct shell_fprintf _name = { \ 69 void z_shell_fprintf_fmt(const struct shell_fprintf *sh_fprintf, 77 void z_shell_fprintf_buffer_flush(const struct shell_fprintf *sh_fprintf);
|
/Zephyr-latest/subsys/shell/ |
D | shell_fprintf.c | 13 const struct shell_fprintf *sh_fprintf; in out_func() 16 sh_fprintf = (const struct shell_fprintf *)ctx; in out_func() 33 void z_shell_fprintf_fmt(const struct shell_fprintf *sh_fprintf, in z_shell_fprintf_fmt() 44 void z_shell_fprintf_buffer_flush(const struct shell_fprintf *sh_fprintf) in z_shell_fprintf_buffer_flush()
|
D | CMakeLists.txt | 9 shell_fprintf.c
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | bridge_shell.c | 119 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/ |
D | hwinfo_shell.c | 29 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/net/lib/wifi_credentials/ |
D | wifi_credentials_shell.c | 41 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, in print_network_info() 49 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, in print_network_info() 55 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, ", bssid: " MACSTR, in print_network_info() 61 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, ", band: 2.4GHz"); in print_network_info() 65 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, ", band: 5GHz"); in print_network_info() 69 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, ", channel: %d", creds.header.channel); in print_network_info() 73 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, ", favorite"); in print_network_info() 77 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, ", MFP_REQUIRED"); in print_network_info() 79 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, ", MFP_DISABLED"); in print_network_info() 81 shell_fprintf(sh, SHELL_VT100_COLOR_DEFAULT, ", MFP_OPTIONAL"); in print_network_info() [all …]
|
/Zephyr-latest/tests/subsys/shell/shell_custom_header/src/ |
D | zephyr_custom_shell.h | 12 #undef shell_fprintf 14 #define shell_fprintf(sh, color, fmt, ...) \ macro
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | audio.h | 263 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/led/ |
D | led_shell.c | 135 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/samples/net/promiscuous_mode/src/ |
D | main.c | 163 shell_fprintf(sh, SHELL_ERROR, "Invalid arguments.\n"); in set_promisc_mode() 171 shell_fprintf(sh, SHELL_ERROR, in set_promisc_mode() 177 shell_fprintf(sh, SHELL_INFO, "Promiscuous mode %s...\n", in set_promisc_mode() 188 shell_fprintf(sh, SHELL_INFO, in set_promisc_mode() 192 shell_fprintf(sh, SHELL_ERROR, in set_promisc_mode()
|
/Zephyr-latest/drivers/virtualization/ |
D | virt_ivshmem_shell.c | 44 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/samples/subsys/shell/shell_module/src/ |
D | main.c | 296 shell_fprintf(sh, SHELL_INFO, "%02x ", data[i]); in bypass_cb() 298 shell_fprintf(sh, SHELL_INFO, "| "); in bypass_cb() 301 shell_fprintf(sh, SHELL_INFO, "%c", data[i]); in bypass_cb() 303 shell_fprintf(sh, SHELL_INFO, "\n"); in bypass_cb()
|