Home
last modified time | relevance | path

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

12345678910>>...127

/Zephyr-Core-3.6.0/drivers/led/
Dis31fl3216a.c39 int status; in is31fl3216a_write_buffer() local
41 status = i2c_write_dt(i2c, buffer, num_bytes); in is31fl3216a_write_buffer()
42 if (status < 0) { in is31fl3216a_write_buffer()
43 LOG_ERR("Could not write buffer: %i", status); in is31fl3216a_write_buffer()
44 return status; in is31fl3216a_write_buffer()
75 int status; in is31fl3216a_led_write_channels() local
97 status = is31fl3216a_write_buffer(&config->i2c, i2c_buffer, in is31fl3216a_led_write_channels()
99 if (status < 0) { in is31fl3216a_led_write_channels()
100 return status; in is31fl3216a_led_write_channels()
111 int status; in is31fl3216a_led_set_brightness() local
[all …]
/Zephyr-Core-3.6.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.6.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.6.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.6.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.6.0/tests/kernel/obj_core/obj_core_stats_api/src/
Dmain.c34 int status; in ZTEST() local
44 status = k_obj_core_stats_enable(K_OBJ_CORE(&test_sem)); in ZTEST()
45 zassert_equal(status, -ENOTSUP, in ZTEST()
46 "Expected %d, got %d\n", -ENOTSUP, status); in ZTEST()
50 status = k_obj_core_stats_enable(K_OBJ_CORE(test_thread)); in ZTEST()
51 zassert_equal(status, -ENOTSUP, in ZTEST()
52 "Expected %d, got %d\n", -ENOTSUP, status); in ZTEST()
65 int status; in ZTEST() local
75 status = k_obj_core_stats_disable(K_OBJ_CORE(&test_sem)); in ZTEST()
76 zassert_equal(status, -ENOTSUP, in ZTEST()
[all …]
/Zephyr-Core-3.6.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.6.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.6.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.6.0/tests/kernel/obj_core/obj_core_stats/src/
Dmain.c50 int status; in ZTEST() local
74 status = k_obj_core_stats_raw(K_OBJ_CORE(&_kernel), kernel_raw, in ZTEST()
76 zassert_equal(status, 0, "Expected 0, got %d\n", status); in ZTEST()
85 status = k_obj_core_stats_raw(K_OBJ_CORE(&_kernel.cpus[i]), in ZTEST()
87 zassert_equal(status, 0, "Expected 0, got %d on CPU %u\n", in ZTEST()
88 status, i); in ZTEST()
99 status = k_obj_core_stats_query(K_OBJ_CORE(&_kernel), &kernel_query, in ZTEST()
101 zassert_equal(status, 0, "Expected 0, got %d\n", status); in ZTEST()
106 status = k_obj_core_stats_query(K_OBJ_CORE(&_kernel.cpus[i]), in ZTEST()
108 zassert_equal(status, 0, "Expected 0, got %d on CPU %u\n", in ZTEST()
[all …]
/Zephyr-Core-3.6.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.6.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.6.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.6.0/tests/subsys/portability/cmsis_rtos_v2/src/
Dmutex.c26 osStatus_t status; in cleanup_max_mutex() local
29 status = osMutexDelete(mutex_ids[mutex_count]); in cleanup_max_mutex()
30 zassert_true(status == osOK, "Mutex delete fail"); in cleanup_max_mutex()
57 osStatus_t status; in ZTEST() local
61 status = osMutexDelete(mutex_id); in ZTEST()
62 zassert_true(status == osErrorParameter, in ZTEST()
73 status = osMutexRelease(mutex_id); in ZTEST()
74 zassert_true(status == osErrorResource, "Mutex released unexpectedly!"); in ZTEST()
82 status = osMutexAcquire(mutex_id, 0); in ZTEST()
83 zassert_true(status == osOK, "Mutex wait failure"); in ZTEST()
[all …]
/Zephyr-Core-3.6.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 …]
Dnucleo_f722ze.overlay8 status = "okay";
14 status = "okay";
21 status = "okay";
28 status = "okay";
35 status = "okay";
42 status = "okay";
49 status = "okay";
56 status = "okay";
63 status = "okay";
70 status = "okay";
[all …]
/Zephyr-Core-3.6.0/drivers/sensor/lis2dh/
Dlis2dh_trigger.c47 int status; in lis2dh_trigger_drdy_set() local
59 status = lis2dh->hw_tf->update_reg(dev, LIS2DH_REG_CTRL3, in lis2dh_trigger_drdy_set()
64 if ((handler == NULL) || (status < 0)) { in lis2dh_trigger_drdy_set()
65 return status; in lis2dh_trigger_drdy_set()
85 int status; in lis2dh_start_trigger_int1() local
91 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_CTRL1, &ctrl1); in lis2dh_start_trigger_int1()
92 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1()
93 return status; in lis2dh_start_trigger_int1()
95 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_start_trigger_int1()
98 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1()
[all …]
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/mesh/
Dcfg_cli.h32 /** Mesh Configuration Client Status messages callback */
43 * @param cli Client that received the status message.
51 /** @brief Optional callback for Model Pub status messages.
53 * Handles received Model Pub status messages from a server.
55 * @param cli Client that received the status message.
57 * @param status Status code for the message.
63 void (*mod_pub_status)(struct bt_mesh_cfg_cli *cli, uint16_t addr, uint8_t status,
67 /** @brief Optional callback for Model Sub Status messages.
69 * Handles received Model Sub Status messages from a server.
71 * @param cli Client that received the status message.
[all …]
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/
Dbtp_core.c114 uint8_t status; in register_service() local
128 status = tester_init_gap(); in register_service()
131 status = tester_init_gatt(); in register_service()
135 status = tester_init_l2cap(); in register_service()
140 status = tester_init_mesh(); in register_service()
143 status = tester_init_mmdl(); in register_service()
148 status = tester_init_vcs(); in register_service()
151 status = tester_init_vocs(); in register_service()
154 status = tester_init_aics(); in register_service()
157 status = tester_init_vcp(); in register_service()
[all …]

12345678910>>...127