Home
last modified time | relevance | path

Searched refs:ret_val (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.5.0/subsys/shell/
Dshell_wildcard.c73 enum shell_wildcard_status ret_val = SHELL_WILDCARD_CMD_NO_MATCH_FOUND; in commands_expand() local
82 ret_val = command_add(sh->ctx->temp_buff, in commands_expand()
85 if (ret_val == SHELL_WILDCARD_CMD_MISSING_SPACE) { in commands_expand()
91 } else if (ret_val != SHELL_WILDCARD_CMD_ADDED) { in commands_expand()
103 return ret_val; in commands_expand()
163 enum shell_wildcard_status ret_val = SHELL_WILDCARD_NOT_FOUND; in z_shell_wildcard_process() local
166 return ret_val; in z_shell_wildcard_process()
170 return ret_val; in z_shell_wildcard_process()
180 ret_val = commands_expand(sh, cmd, pattern); in z_shell_wildcard_process()
182 return ret_val; in z_shell_wildcard_process()
Dshell_cmds.c185 int ret_val = 0; in terminal_size_get() local
199 ret_val = -ENOTSUP; in terminal_size_get()
203 return ret_val; in terminal_size_get()
Dshell.c518 int ret_val = 0; in exec_cmd() local
545 ret_val = cmd_precheck(sh, in_range); in exec_cmd()
548 if (!ret_val) { in exec_cmd()
558 ret_val = sh->ctx->active_cmd.handler(sh, argc, in exec_cmd()
565 return ret_val; in exec_cmd()
1008 sh->ctx->ret_val = execute(sh); in state_collect()
1616 int ret_val; in shell_execute_cmd() local
1642 ret_val = execute(sh); in shell_execute_cmd()
1647 return ret_val; in shell_execute_cmd()
Dshell_ops.h190 return sh->ctx->ret_val; in z_shell_get_return_value()
/Zephyr-Core-3.5.0/drivers/serial/
Duart_altera.c146 int ret_val = -1; in uart_altera_poll_in() local
164 ret_val = 0; in uart_altera_poll_in()
169 return ret_val; in uart_altera_poll_in()
298 bool ret_val = false; in uart_altera_check_configuration() local
304 ret_val = true; in uart_altera_check_configuration()
307 return ret_val; in uart_altera_check_configuration()
326 int ret_val; in uart_altera_configure() local
345 ret_val = 0; in uart_altera_configure()
348 ret_val = -ENOTSUP; in uart_altera_configure()
351 return ret_val; in uart_altera_configure()
[all …]
/Zephyr-Core-3.5.0/tests/drivers/rtc/shell/src/
Dmain.c29 int ret_val; member
40 return get_time_mock.ret_val; in rtc_fake_get_time_mock()
48 return set_time_mock.ret_val; in rtc_fake_set_time_mock()
51 static void configure_set_time_mock(int ret_val) in configure_set_time_mock() argument
53 set_time_mock.ret_val = ret_val; in configure_set_time_mock()
58 static void configure_get_time_mock(int ret_val) in configure_get_time_mock() argument
60 get_time_mock.ret_val = ret_val; in configure_get_time_mock()
/Zephyr-Core-3.5.0/drivers/console/
Dxtensa_sim_console.c24 register int ret_val __asm__ ("a2"); in console_out()
29 : "=a" (ret_val), "=a" (ret_err) in console_out()
/Zephyr-Core-3.5.0/drivers/sensor/tmag5170/
Dtmag5170.c496 int ret_val = 0; in tmag5170_pm_action() local
505 ret_val = tmag5170_init_registers(dev); in tmag5170_pm_action()
508 ret_val = tmag5170_write_register(dev, in tmag5170_pm_action()
513 ret_val = -ENOTSUP; in tmag5170_pm_action()
516 return ret_val; in tmag5170_pm_action()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dpacs.c288 ssize_t ret_val; in snk_read() local
302 ret_val = bt_gatt_attr_read(conn, attr, buf, len, offset, read_buf.data, in snk_read()
307 return ret_val; in snk_read()
415 ssize_t ret_val; in src_read() local
429 ret_val = bt_gatt_attr_read(conn, attr, buf, len, offset, read_buf.data, in src_read()
434 return ret_val; in src_read()
Dascs.c1256 ssize_t ret_val; in ascs_ase_read() local
1280 ret_val = bt_gatt_attr_read(conn, attr, buf, len, offset, ase_buf.data, ase_buf.len); in ascs_ase_read()
1284 return ret_val; in ascs_ase_read()
/Zephyr-Core-3.5.0/include/zephyr/shell/
Dshell.h832 int ret_val; member