Home
last modified time | relevance | path

Searched refs:shctx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/counter/
Dcounter_timer_shell.c40 static int cmd_timer_free_running(const struct shell *shctx, size_t argc, char **argv) in cmd_timer_free_running() argument
48 shell_error(shctx, "Timer: Device %s not found", argv[ARGV_DEV]); in cmd_timer_free_running()
55 shell_error(shctx, "%s is not available err:%d", argv[ARGV_DEV], err); in cmd_timer_free_running()
59 shell_info(shctx, "%s: Timer is freerunning", argv[ARGV_DEV]); in cmd_timer_free_running()
64 static int cmd_timer_stop(const struct shell *shctx, size_t argc, char **argv) in cmd_timer_stop() argument
72 shell_error(shctx, "Timer: Device %s not found", argv[ARGV_DEV]); in cmd_timer_stop()
82 shell_info(shctx, "Timer Stopped"); in cmd_timer_stop()
84 shell_error(shctx, "Failed to stop timer"); in cmd_timer_stop()
91 static int cmd_timer_oneshot(const struct shell *shctx, size_t argc, char **argv) in cmd_timer_oneshot() argument
104 shell_error(shctx, "Timer: Device %s not found", argv[ARGV_DEV]); in cmd_timer_oneshot()
[all …]
/Zephyr-Core-3.5.0/drivers/pm_cpu_ops/
Dpsci_shell.c13 static int cmd_reboot_warm(const struct shell *shctx, size_t argc, char **argv) in cmd_reboot_warm() argument
15 ARG_UNUSED(shctx); in cmd_reboot_warm()
22 shell_error(shctx, "Failed to perform system warm reset"); in cmd_reboot_warm()
28 static int cmd_reboot_cold(const struct shell *shctx, size_t argc, char **argv) in cmd_reboot_cold() argument
30 ARG_UNUSED(shctx); in cmd_reboot_cold()
37 shell_error(shctx, "Failed to perform system cold reset"); in cmd_reboot_cold()
43 static int cmd_psci_cpuon(const struct shell *shctx, size_t argc, char **argv) in cmd_psci_cpuon() argument
45 ARG_UNUSED(shctx); in cmd_psci_cpuon()
54 shell_error(shctx, "psci: invalid input:%ld", cpu_id); in cmd_psci_cpuon()