/Zephyr-latest/drivers/led/ |
D | is31fl3216a.c | 39 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-latest/tests/kernel/obj_core/obj_core_stats_api/src/ |
D | main.c | 34 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-latest/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/ |
D | cyabs_rtos_zephyr.c | 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() 178 return status; in cy_rtos_exit_thread() 183 cy_rslt_t status = CY_RSLT_SUCCESS; in cy_rtos_terminate_thread() local [all …]
|
/Zephyr-latest/tests/lib/mem_blocks_stats/src/ |
D | main.c | 22 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-latest/samples/sensor/bq274xx/src/ |
D | main.c | 29 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-latest/tests/kernel/mem_slab/mslab_stats/src/ |
D | main.c | 18 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-latest/samples/tfm_integration/psa_crypto/src/ |
D | psa_crypto.c | 53 psa_status_t status; in crp_get_pub_key() local 60 status = al_psa_status( in crp_get_pub_key() 63 if (status != PSA_SUCCESS) { in crp_get_pub_key() 69 status = al_psa_status( in crp_get_pub_key() 72 if (status != PSA_SUCCESS) { in crp_get_pub_key() 81 status = al_psa_status( in crp_get_pub_key() 84 if (status != PSA_SUCCESS) { in crp_get_pub_key() 89 return status; in crp_get_pub_key() 92 return status; in crp_get_pub_key() 114 psa_status_t status = PSA_SUCCESS; in crp_imp_key_secp256r1() local [all …]
|
D | util_app_cfg.c | 32 psa_status_t status; in cfg_create_data() local 45 status = psa_ps_set(cfg_data_uid, sizeof(cfg_data_dflt), in cfg_create_data() 47 if (status) { in cfg_create_data() 52 return (status ? al_psa_status(status, __func__) : status); in cfg_create_data() 57 psa_status_t status; in cfg_load_data() local 63 status = psa_ps_get_info(cfg_data_uid, &p_info); in cfg_load_data() 64 if (status == PSA_ERROR_DOES_NOT_EXIST) { in cfg_load_data() 66 status = cfg_create_data(); in cfg_load_data() 70 if (status) { in cfg_load_data() 75 return (status ? al_psa_status(status, __func__) : status); in cfg_load_data()
|
/Zephyr-latest/boards/nxp/frdm_mcxn236/ |
D | frdm_mcxn236.dts | 40 status = "okay"; 44 status = "okay"; 48 status = "okay"; 52 status = "okay"; 56 status = "okay"; 60 status = "okay"; 64 status = "okay"; 68 status = "okay"; 76 status = "okay"; 80 status = "okay"; [all …]
|
/Zephyr-latest/tests/kernel/obj_core/obj_core_stats/src/ |
D | main.c | 50 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-latest/tests/subsys/portability/cmsis_rtos_v1/src/ |
D | mutex.c | 22 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-latest/samples/tfm_integration/psa_protected_storage/src/ |
D | main.c | 18 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-latest/boards/nxp/frdm_mcxn947/ |
D | frdm_mcxn947_mcxn947_cpu0.dtsi | 55 status = "okay"; 59 status = "okay"; 63 status = "okay"; 67 status = "okay"; 71 status = "okay"; 75 status = "okay"; 79 status = "okay"; 83 status = "okay"; 87 status = "okay"; 91 status = "okay"; [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_core.c | 120 uint8_t status; in register_service() local 134 status = tester_init_gap(); in register_service() 137 status = tester_init_gatt(); in register_service() 141 status = tester_init_l2cap(); in register_service() 146 status = tester_init_mesh(); in register_service() 149 status = tester_init_mmdl(); in register_service() 154 status = tester_init_vcs(); in register_service() 157 status = tester_init_vocs(); in register_service() 160 status = tester_init_aics(); in register_service() 163 status = tester_init_vcp(); in register_service() [all …]
|
/Zephyr-latest/boards/enjoydigital/litex_vexriscv/ |
D | litex_vexriscv.dts | 31 status = "okay"; 35 status = "okay"; 40 status = "okay"; 44 status = "okay"; 48 status = "okay"; 52 status = "okay"; 56 status = "okay"; 60 status = "okay"; 64 status = "okay"; 68 status = "okay"; [all …]
|
/Zephyr-latest/tests/drivers/counter/counter_basic_api/boards/ |
D | max78002evkit_max78002_m4.overlay | 8 status = "okay"; 11 status = "okay"; 16 status = "okay"; 19 status = "okay"; 24 status = "okay"; 27 status = "okay"; 32 status = "okay"; 35 status = "okay"; 40 status = "okay"; 43 status = "okay"; [all …]
|
D | nrf54h20dk_nrf54h20_common.dtsi | 4 status = "okay"; 9 status = "okay"; 14 status = "okay"; 19 status = "okay"; 24 status = "okay"; 29 status = "okay"; 34 status = "okay"; 39 status = "okay"; 44 status = "okay"; 49 status = "okay"; [all …]
|
D | s32z2xxdc2_s32z270_rtu0.overlay | 9 status = "okay"; 14 status = "okay"; 19 status = "okay"; 24 status = "okay"; 28 status = "okay"; 32 status = "okay"; 36 status = "okay"; 40 status = "okay"; 44 status = "okay"; 48 status = "okay"; [all …]
|
D | s32z2xxdc2_s32z270_rtu1.overlay | 9 status = "okay"; 14 status = "okay"; 19 status = "okay"; 24 status = "okay"; 28 status = "okay"; 32 status = "okay"; 36 status = "okay"; 40 status = "okay"; 44 status = "okay"; 48 status = "okay"; [all …]
|
D | gd32e103v_eval.overlay | 8 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 …]
|
D | gd32f407v_start.overlay | 8 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 …]
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | mutex.c | 26 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() 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-latest/dts/arm/microchip/mec172x/ |
D | mec172x-vw-routing.dtsi | 19 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-latest/drivers/sensor/st/lis2dh/ |
D | lis2dh_trigger.c | 47 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-latest/drivers/sensor/st/vl53l1x/ |
D | vl53l1_platform.c | 26 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 …]
|