/Zephyr-latest/tests/drivers/mbox/mbox_data/src/ |
D | main.c | 73 int ret_val = 0; in mbox_data_tests_before() local 83 ret_val = mbox_register_callback_dt(rx_channel, callback, NULL); in mbox_data_tests_before() 84 zassert_false(ret_val != 0, "mbox failed to register callback. ret_val", ret_val); in mbox_data_tests_before() 86 ret_val = mbox_set_enabled_dt(rx_channel, 1); in mbox_data_tests_before() 87 zassert_false(ret_val != 0, "mbox failed to enable mbox. ret_val: %d", ret_val); in mbox_data_tests_before() 97 int ret_val = mbox_set_enabled_dt(rx_channel, 0); in mbox_data_tests_after() local 99 zassert_false(ret_val != 0, "mbox failed to disable mbox. ret_val: %d", ret_val); in mbox_data_tests_after() 110 int ret_val = 0; in mbox_test() local 121 ret_val = mbox_send_dt(tx_channel, &msg); in mbox_test() 122 zassert_false(ret_val < 0, "mbox failed to send. ret_val: %d", ret_val); in mbox_test()
|
/Zephyr-latest/subsys/shell/ |
D | shell_wildcard.c | 73 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()
|
D | shell_cmds.c | 182 int ret_val = 0; in terminal_size_get() local 196 ret_val = -ENOTSUP; in terminal_size_get() 200 return ret_val; in terminal_size_get()
|
D | shell.c | 519 int ret_val = 0; in exec_cmd() local 548 ret_val = cmd_precheck(sh, in_range); in exec_cmd() 551 if (!ret_val) { in exec_cmd() 561 ret_val = sh->ctx->active_cmd.handler(sh, argc, in exec_cmd() 568 return ret_val; in exec_cmd() 1014 sh->ctx->ret_val = execute(sh); in state_collect() 1714 int ret_val; in shell_execute_cmd() local 1740 ret_val = execute(sh); in shell_execute_cmd() 1745 return ret_val; in shell_execute_cmd()
|
D | shell_ops.h | 190 return sh->ctx->ret_val; in z_shell_get_return_value()
|
/Zephyr-latest/drivers/serial/ |
D | uart_intel_lw.c | 141 int ret_val = -1; in uart_intel_lw_poll_in() local 159 ret_val = 0; in uart_intel_lw_poll_in() 164 return ret_val; in uart_intel_lw_poll_in() 335 bool ret_val = false; in uart_intel_lw_check_configuration() local 341 ret_val = true; in uart_intel_lw_check_configuration() 344 return ret_val; in uart_intel_lw_check_configuration() 363 int ret_val; in uart_intel_lw_configure() local 386 ret_val = 0; in uart_intel_lw_configure() 389 ret_val = -ENOTSUP; in uart_intel_lw_configure() 392 return ret_val; in uart_intel_lw_configure() [all …]
|
D | uart_altera.c | 146 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-latest/tests/drivers/rtc/shell/src/ |
D | main.c | 29 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-latest/drivers/console/ |
D | xtensa_sim_console.c | 26 register int ret_val __asm__ ("a2"); in arch_printk_char_out() 31 : "=a" (ret_val), "=a" (ret_err) in arch_printk_char_out()
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | hci_stm32wb0.c | 158 uint16_t ret_val; in process_command() local 165 ret_val = check_legacy_extended_call(op_code, buffer_out); in process_command() 166 if (ret_val != 0) { in process_command() 167 LOG_ERR("ret_val: %d", ret_val); in process_command() 168 return ret_val; in process_command() 173 ret_val = hci_command_table[i].execute(buffer_in, buffer_in_length, in process_command() 176 return ret_val; in process_command()
|
/Zephyr-latest/soc/intel/common/ |
D | soc_gpio.c | 14 static int gpio_info_acpi_get(uint32_t bank_idx, uint32_t field_idx, uint32_t *ret_val) in gpio_info_acpi_get() argument 36 *ret_val = gpio_obj.Integer.Value; in gpio_info_acpi_get()
|
/Zephyr-latest/drivers/sensor/ti/tmag5170/ |
D | tmag5170.c | 496 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-latest/cmake/modules/ |
D | hwm_v2.cmake | 53 RESULT_VARIABLE ret_val 55 if(ret_val)
|
D | boards.cmake | 172 RESULT_VARIABLE ret_val 193 RESULT_VARIABLE ret_val 195 if(ret_val)
|
/Zephyr-latest/tests/drivers/watchdog/wdt_error_cases/src/ |
D | main.c | 989 int ret_val; in before_test() local 991 ret_val = device_is_ready(wdt); in before_test() 992 zassert_true(ret_val, "WDT device is not ready, got unexpected value of %d", ret_val); in before_test()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | pacs.c | 362 ssize_t ret_val; in snk_read() local 376 ret_val = bt_gatt_attr_read(conn, attr, buf, len, offset, read_buf.data, in snk_read() 381 return ret_val; in snk_read() 467 ssize_t ret_val; in src_read() local 481 ret_val = bt_gatt_attr_read(conn, attr, buf, len, offset, read_buf.data, in src_read() 486 return ret_val; in src_read()
|
D | bap_scan_delegator.c | 1094 ssize_t ret_val; in read_recv_state() local 1109 ret_val = bt_gatt_attr_read(conn, attr, buf, len, offset, in read_recv_state() 1114 return ret_val; in read_recv_state()
|
D | ascs.c | 1455 ssize_t ret_val; in ascs_ase_read() local 1479 ret_val = bt_gatt_attr_read(conn, attr, buf, len, offset, ase_buf.data, ase_buf.len); in ascs_ase_read() 1483 return ret_val; in ascs_ase_read()
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell.h | 896 int ret_val; member
|