Home
last modified time | relevance | path

Searched full:status (Results 1 – 25 of 2593) sorted by relevance

12345678910>>...104

/Zephyr-Core-3.4.0/tests/lib/mem_blocks_stats/src/
Dmain.c22 int status; in ZTEST() local
29 status = sys_mem_blocks_runtime_stats_get(NULL, &stats); in ZTEST()
30 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
31 status, -EINVAL); in ZTEST()
33 status = sys_mem_blocks_runtime_stats_get(&mem_block_01, NULL); in ZTEST()
34 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
35 status, -EINVAL); in ZTEST()
42 status = sys_mem_blocks_runtime_stats_reset_max(NULL); in ZTEST()
43 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
44 status, -EINVAL); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/kernel/mem_slab/mslab_stats/src/
Dmain.c18 int status; in ZTEST() local
25 status = k_mem_slab_runtime_stats_get(NULL, &stats); in ZTEST()
26 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
27 status, -EINVAL); in ZTEST()
29 status = k_mem_slab_runtime_stats_get(&kmslab, NULL); in ZTEST()
30 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
31 status, -EINVAL); in ZTEST()
38 status = k_mem_slab_runtime_stats_reset_max(NULL); in ZTEST()
39 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
40 status, -EINVAL); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/
Dcyabs_rtos_zephyr.c41 /* Last received error status */
76 /* Update the last known error status */ in error_converter()
108 cy_rslt_t status = CY_RSLT_SUCCESS; in cy_rtos_create_thread() local
112 status = CY_RTOS_BAD_PARAM; in cy_rtos_create_thread()
114 status = CY_RTOS_ALIGNMENT_ERROR; in cy_rtos_create_thread()
137 status = CY_RTOS_NO_MEMORY; in cy_rtos_create_thread()
153 status = CY_RTOS_GENERAL_ERROR; in cy_rtos_create_thread()
160 return status; in cy_rtos_create_thread()
165 cy_rslt_t status = CY_RSLT_SUCCESS; in cy_rtos_exit_thread() local
168 status = CY_RTOS_GENERAL_ERROR; in cy_rtos_exit_thread()
[all …]
/Zephyr-Core-3.4.0/drivers/sensor/bq274xx/
Dbq274xx.c36 int status; in bq274xx_command_reg_read() local
38 status = i2c_burst_read_dt(&config->i2c, reg_addr, in bq274xx_command_reg_read()
40 if (status < 0) { in bq274xx_command_reg_read()
55 int status = 0; in bq274xx_control_reg_write() local
60 status = i2c_reg_write_byte_dt(&config->i2c, reg_addr, in bq274xx_control_reg_write()
62 if (status < 0) { in bq274xx_control_reg_write()
72 status = i2c_reg_write_byte_dt(&config->i2c, reg_addr, in bq274xx_control_reg_write()
74 if (status < 0) { in bq274xx_control_reg_write()
87 int status = 0; in bq274xx_command_reg_write() local
92 status = i2c_reg_write_byte_dt(&config->i2c, reg_addr, in bq274xx_command_reg_write()
[all …]
Dbq274xx_trigger.c72 int status = 0; in bq274xx_trigger_mode_init() local
89 status = gpio_pin_configure_dt(&config->int_gpios, GPIO_INPUT); in bq274xx_trigger_mode_init()
90 if (status < 0) { in bq274xx_trigger_mode_init()
92 return status; in bq274xx_trigger_mode_init()
107 int status; in bq274xx_trigger_set() local
131 status = gpio_pin_configure_dt(&config->int_gpios, GPIO_INPUT); in bq274xx_trigger_set()
132 if (status < 0) { in bq274xx_trigger_set()
133 LOG_ERR("Unable to configure interrupt pin to input (%d)", status); in bq274xx_trigger_set()
134 return status; in bq274xx_trigger_set()
137 status = gpio_add_callback(config->int_gpios.port, &data->ready_callback); in bq274xx_trigger_set()
[all …]
/Zephyr-Core-3.4.0/dts/arm/microchip/mec172x/
Dmec172x-vw-routing.dtsi19 status = "okay";
24 status = "okay";
29 status = "okay";
34 status = "okay";
39 status = "okay";
44 status = "okay";
49 status = "okay";
54 status = "disabled";
59 status = "disabled";
64 status = "okay";
[all …]
/Zephyr-Core-3.4.0/samples/sensor/bq274xx/src/
Dmain.c29 int status = 0; in do_main() local
35 status = sensor_sample_fetch_chan(dev, in do_main()
37 if (status < 0) { in do_main()
42 status = sensor_channel_get(dev, SENSOR_CHAN_GAUGE_VOLTAGE, in do_main()
44 if (status < 0) { in do_main()
51 status = sensor_sample_fetch_chan(dev, in do_main()
53 if (status < 0) { in do_main()
58 status = sensor_channel_get(dev, SENSOR_CHAN_GAUGE_AVG_CURRENT, in do_main()
60 if (status < 0) { in do_main()
67 status = sensor_sample_fetch_chan(dev, in do_main()
[all …]
/Zephyr-Core-3.4.0/tests/subsys/portability/cmsis_rtos_v1/src/
Dmutex.c22 osStatus status; in cleanup_max_mutex() local
25 status = osMutexDelete(mutex_ids[mutex_count]); in cleanup_max_mutex()
26 zassert_true(status == osOK, "Mutex delete fail"); in cleanup_max_mutex()
52 osStatus status; in ZTEST() local
55 status = osMutexDelete(mutex_id); in ZTEST()
56 zassert_true(status == osErrorParameter, in ZTEST()
63 status = osMutexRelease(mutex_id); in ZTEST()
64 zassert_true(status == osErrorResource, "Mutex released unexpectedly!"); in ZTEST()
66 status = osMutexWait(mutex_id, 0); in ZTEST()
67 zassert_true(status == osOK, "Mutex wait failure"); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/boards/riscv/litex_vexriscv/
Dlitex_vexriscv.dts27 status = "okay";
32 status = "okay";
36 status = "okay";
40 status = "okay";
44 status = "okay";
48 status = "okay";
52 status = "okay";
56 status = "okay";
60 status = "okay";
64 status = "okay";
[all …]
/Zephyr-Core-3.4.0/drivers/sensor/vl53l1x/
Dvl53l1_platform.c26 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_WriteMulti() local
39 status = VL53L1_ERROR_CONTROL_INTERFACE; in VL53L1_WriteMulti()
43 return status; in VL53L1_WriteMulti()
49 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_ReadMulti() local
57 status = VL53L1_ERROR_CONTROL_INTERFACE; in VL53L1_ReadMulti()
62 return status; in VL53L1_ReadMulti()
67 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_WrByte() local
69 status = VL53L1_WriteMulti(pdev, reg, &data, 1); in VL53L1_WrByte()
71 return status; in VL53L1_WrByte()
76 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_WrWord() local
[all …]
/Zephyr-Core-3.4.0/samples/tfm_integration/psa_protected_storage/src/
Dmain.c18 psa_status_t status = 0; in main() local
28 status = psa_ps_set(uid1, sizeof(TEST_STRING_1), TEST_STRING_1, uid1_flag); in main()
29 if (status != PSA_SUCCESS) { in main()
30 printk("Failed to store data! (%d)\n", status); in main()
37 status = psa_ps_get_info(uid1, &uid1_info); in main()
38 if (status != PSA_SUCCESS) { in main()
39 printk("Failed to get info! (%d)\n", status); in main()
51 status = psa_ps_get(uid1, 0, sizeof(TEST_STRING_1), &stored_data, &bytes_read); in main()
52 if (status != PSA_SUCCESS) { in main()
53 printk("Failed to get data stored in UID1! (%d)\n", status); in main()
[all …]
/Zephyr-Core-3.4.0/drivers/sensor/vl53l0x/
Dvl53l0x_platform.c26 VL53L0X_Error Status = VL53L0X_ERROR_NONE; in VL53L0X_WriteMulti() local
36 Status = VL53L0X_ERROR_CONTROL_INTERFACE; in VL53L0X_WriteMulti()
40 return Status; in VL53L0X_WriteMulti()
46 VL53L0X_Error Status = VL53L0X_ERROR_NONE; in VL53L0X_ReadMulti() local
56 return Status; in VL53L0X_ReadMulti()
62 VL53L0X_Error Status = VL53L0X_ERROR_NONE; in VL53L0X_WrByte() local
68 Status = VL53L0X_ERROR_CONTROL_INTERFACE; in VL53L0X_WrByte()
69 LOG_ERR("i2c_reg_write_byte failed (%d)", Status); in VL53L0X_WrByte()
72 return Status; in VL53L0X_WrByte()
77 VL53L0X_Error Status = VL53L0X_ERROR_NONE; in VL53L0X_WrWord() local
[all …]
/Zephyr-Core-3.4.0/tests/subsys/portability/cmsis_rtos_v2/src/
Dmutex.c25 osStatus_t status; in cleanup_max_mutex() local
28 status = osMutexDelete(mutex_ids[mutex_count]); in cleanup_max_mutex()
29 zassert_true(status == osOK, "Mutex delete fail"); in cleanup_max_mutex()
56 osStatus_t status; in ZTEST() local
60 status = osMutexDelete(mutex_id); in ZTEST()
61 zassert_true(status == osErrorParameter, in ZTEST()
72 status = osMutexRelease(mutex_id); in ZTEST()
73 zassert_true(status == osErrorResource, "Mutex released unexpectedly!"); in ZTEST()
81 status = osMutexAcquire(mutex_id, 0); in ZTEST()
82 zassert_true(status == osOK, "Mutex wait failure"); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/drivers/counter/counter_basic_api/boards/
Dgd32e103v_eval.overlay8 status = "disabled";
12 status = "disabled";
16 status = "okay";
21 status = "okay";
26 status = "okay";
31 status = "okay";
36 status = "okay";
41 status = "okay";
46 status = "okay";
51 status = "okay";
[all …]
Dgd32f407v_start.overlay8 status = "disabled";
12 status = "disabled";
16 status = "okay";
21 status = "okay";
26 status = "okay";
31 status = "okay";
36 status = "okay";
41 status = "okay";
46 status = "okay";
51 status = "okay";
[all …]
Dgd32f450i_eval.overlay8 status = "disabled";
12 status = "disabled";
16 status = "okay";
21 status = "okay";
26 status = "okay";
31 status = "okay";
36 status = "okay";
41 status = "okay";
46 status = "okay";
51 status = "okay";
[all …]
Dgd32f450v_start.overlay8 status = "disabled";
12 status = "disabled";
16 status = "okay";
21 status = "okay";
26 status = "okay";
31 status = "okay";
36 status = "okay";
41 status = "okay";
46 status = "okay";
51 status = "okay";
[all …]
Dgd32f450z_eval.overlay8 status = "disabled";
12 status = "disabled";
16 status = "okay";
21 status = "okay";
26 status = "okay";
31 status = "okay";
36 status = "okay";
41 status = "okay";
46 status = "okay";
51 status = "okay";
[all …]
Dgd32f470i_eval.overlay8 status = "disabled";
12 status = "disabled";
16 status = "okay";
21 status = "okay";
26 status = "okay";
31 status = "okay";
36 status = "okay";
41 status = "okay";
46 status = "okay";
51 status = "okay";
[all …]
Dstm32f4_disco.overlay4 status = "okay";
11 status = "okay";
18 status = "okay";
25 status = "okay";
32 status = "okay";
39 status = "okay";
46 status = "okay";
53 status = "okay";
60 status = "okay";
67 status = "okay";
[all …]
/Zephyr-Core-3.4.0/boards/arm/mm_swiftio/
Dmm_swiftio.dts65 status = "okay";
71 status = "okay";
79 status = "okay";
84 status = "okay";
89 status = "okay";
94 status = "okay";
99 status = "okay";
105 status = "okay";
112 status = "okay";
125 status = "okay";
[all …]
/Zephyr-Core-3.4.0/drivers/sensor/lis2dh/
Dlis2dh_trigger.c39 int status; in lis2dh_trigger_drdy_set() local
51 status = lis2dh->hw_tf->update_reg(dev, LIS2DH_REG_CTRL3, in lis2dh_trigger_drdy_set()
56 if ((handler == NULL) || (status < 0)) { in lis2dh_trigger_drdy_set()
57 return status; in lis2dh_trigger_drdy_set()
77 int status; in lis2dh_start_trigger_int1() local
83 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_CTRL1, &ctrl1); in lis2dh_start_trigger_int1()
84 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1()
85 return status; in lis2dh_start_trigger_int1()
87 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_start_trigger_int1()
90 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1()
[all …]
/Zephyr-Core-3.4.0/boards/arm/mm_feather/
Dmm_feather.dts65 status = "okay";
71 status = "okay";
79 status = "okay";
84 status = "okay";
89 status = "okay";
94 status = "okay";
101 status = "okay";
107 status = "okay";
111 status = "okay";
118 status = "okay";
[all …]
/Zephyr-Core-3.4.0/boards/arm/lpcxpresso55s69/
Dlpcxpresso55s69_ns.dts55 status = "okay";
59 status = "okay";
63 status = "okay";
67 status = "okay";
71 status = "okay";
75 status = "okay";
79 status = "okay";
83 status = "okay";
89 status = "okay";
93 status = "okay";
[all …]
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/mesh/src/
Dtest_persistence.c394 uint8_t status; in provisioner_setup() local
411 err = bt_mesh_cfg_cli_net_key_add(0, TEST_PROV_ADDR, test_netkey_idx, test_netkey, &status); in provisioner_setup()
412 if (err || status) { in provisioner_setup()
413 FAIL("Failed to add test_netkey (err: %d, status: %d)", err, status); in provisioner_setup()
494 uint8_t status; in node_configure() local
505 test_appkeys[i].idx, test_appkeys[i].key, &status); in node_configure()
506 if (err || status) { in node_configure()
507 FAIL("AppKey add failed (err %d, status %u, i %d)", err, status, i); in node_configure()
514 test_appkeys[i].idx, TEST_MOD_ID, &status); in node_configure()
515 if (err || status) { in node_configure()
[all …]

12345678910>>...104