Home
last modified time | relevance | path

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

12345678910>>...66

/Zephyr-Core-2.7.6/drivers/sensor/bq274xx/
Dbq274xx.c31 int status; in bq274xx_command_reg_read() local
33 status = i2c_burst_read(bq274xx->i2c, DT_INST_REG_ADDR(0), reg_addr, in bq274xx_command_reg_read()
35 if (status < 0) { in bq274xx_command_reg_read()
49 int status = 0; in bq274xx_control_reg_write() local
54 status = i2c_reg_write_byte(bq274xx->i2c, DT_INST_REG_ADDR(0), reg_addr, in bq274xx_control_reg_write()
56 if (status < 0) { in bq274xx_control_reg_write()
66 status = i2c_reg_write_byte(bq274xx->i2c, DT_INST_REG_ADDR(0), reg_addr, in bq274xx_control_reg_write()
68 if (status < 0) { in bq274xx_control_reg_write()
80 int status = 0; in bq274xx_command_reg_write() local
85 status = i2c_reg_write_byte(bq274xx->i2c, DT_INST_REG_ADDR(0), reg_addr, in bq274xx_command_reg_write()
[all …]
/Zephyr-Core-2.7.6/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-2.7.6/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 test_mutex() local
55 status = osMutexDelete(mutex_id); in test_mutex()
56 zassert_true(status == osErrorParameter, in test_mutex()
63 status = osMutexRelease(mutex_id); in test_mutex()
64 zassert_true(status == osErrorResource, "Mutex released unexpectedly!"); in test_mutex()
66 status = osMutexWait(mutex_id, 0); in test_mutex()
67 zassert_true(status == osOK, "Mutex wait failure"); in test_mutex()
[all …]
/Zephyr-Core-2.7.6/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";
57 status = "okay";
61 status = "okay";
65 status = "okay";
[all …]
/Zephyr-Core-2.7.6/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-2.7.6/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-2.7.6/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 test_mutex() local
60 status = osMutexDelete(mutex_id); in test_mutex()
61 zassert_true(status == osErrorParameter, in test_mutex()
72 status = osMutexRelease(mutex_id); in test_mutex()
73 zassert_true(status == osErrorResource, "Mutex released unexpectedly!"); in test_mutex()
81 status = osMutexAcquire(mutex_id, 0); in test_mutex()
82 zassert_true(status == osOK, "Mutex wait failure"); in test_mutex()
[all …]
Dmsgq.c28 osStatus_t status; in send_msg_thread() local
37 status = osMessageQueuePut(message_id, &sample, 0, osWaitForever); in send_msg_thread()
38 zassert_true(status == osOK, "osMessageQueuePut failure for Message1"); in send_msg_thread()
51 status = osMessageQueuePut(message_id, data + i, in send_msg_thread()
53 zassert_true(status == osOK, in send_msg_thread()
67 status = osMessageQueuePut(message_id, &sample, 0, 0); in send_msg_thread()
68 zassert_true(status == osErrorResource, in send_msg_thread()
75 status = osMessageQueuePut(message_id, &sample, 0, TIMEOUT_TICKS / 2); in send_msg_thread()
76 zassert_true(status == osErrorTimeout, in send_msg_thread()
81 status = osMessageQueuePut(message_id, &sample, 0, TIMEOUT_TICKS * 2); in send_msg_thread()
[all …]
/Zephyr-Core-2.7.6/boards/arm/mm_feather/
Dmm_feather.dts63 status = "okay";
69 status = "okay";
74 status = "okay";
79 status = "okay";
84 status = "okay";
89 status = "okay";
94 status = "okay";
98 status = "okay";
102 status = "okay";
109 status = "okay";
[all …]
/Zephyr-Core-2.7.6/boards/arm/mm_swiftio/
Dmm_swiftio.dts63 status = "okay";
69 status = "okay";
74 status = "okay";
79 status = "okay";
84 status = "okay";
89 status = "okay";
94 status = "okay";
98 status = "okay";
104 status = "okay";
117 status = "okay";
[all …]
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/bsim_test_mesh/src/
Dtest_persistence.c386 uint8_t status; in provisioner_setup() local
403 err = bt_mesh_cfg_net_key_add(0, TEST_PROV_ADDR, test_netkey_idx, test_netkey, &status); in provisioner_setup()
404 if (err || status) { in provisioner_setup()
405 FAIL("Failed to add test_netkey (err: %d, status: %d)", err, status); in provisioner_setup()
484 uint8_t status; in node_configure() local
495 test_appkeys[i].idx, test_appkeys[i].key, &status); in node_configure()
496 if (err || status) { in node_configure()
497 FAIL("AppKey add failed (err %d, status %u, i %d)", err, status, i); in node_configure()
504 test_appkeys[i].idx, TEST_MOD_ID, &status); in node_configure()
505 if (err || status) { in node_configure()
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/lis2dh/
Dlis2dh_trigger.c38 int status; in lis2dh_trigger_drdy_set() local
50 status = lis2dh->hw_tf->update_reg(dev, LIS2DH_REG_CTRL3, in lis2dh_trigger_drdy_set()
54 if ((handler == NULL) || (status < 0)) { in lis2dh_trigger_drdy_set()
55 return status; in lis2dh_trigger_drdy_set()
75 int status; in lis2dh_start_trigger_int1() local
81 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_CTRL1, &ctrl1); in lis2dh_start_trigger_int1()
82 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1()
83 return status; in lis2dh_start_trigger_int1()
85 status = lis2dh->hw_tf->write_reg(dev, LIS2DH_REG_CTRL1, in lis2dh_start_trigger_int1()
88 if (unlikely(status < 0)) { in lis2dh_start_trigger_int1()
[all …]
/Zephyr-Core-2.7.6/boards/arm/lpcxpresso55s69/
Dlpcxpresso55s69_ns.dts53 status = "okay";
57 status = "okay";
61 status = "okay";
65 status = "okay";
69 status = "okay";
73 status = "okay";
77 status = "okay";
81 status = "okay";
87 status = "okay";
91 status = "okay";
[all …]
Dlpcxpresso55s69_cpu0.dts55 status = "okay";
59 status = "okay";
63 status = "okay";
67 status = "okay";
71 status = "okay";
75 status = "okay";
79 status = "okay";
85 status = "okay";
89 status = "okay";
102 status = "okay";
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/sbs_gauge/
Dsbs_gauge.c24 int status; in sbs_cmd_reg_read() local
27 status = i2c_burst_read(cfg->i2c_dev, cfg->i2c_addr, reg_addr, in sbs_cmd_reg_read()
29 if (status < 0) { in sbs_cmd_reg_read()
31 return status; in sbs_cmd_reg_read()
129 int status = 0; in sbs_gauge_sample_fetch() local
135 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
138 if (status < 0) { in sbs_gauge_sample_fetch()
144 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
147 if (status < 0) { in sbs_gauge_sample_fetch()
153 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
[all …]
/Zephyr-Core-2.7.6/samples/tfm_integration/psa_crypto/src/
Dpsa_crypto.c38 psa_status_t status; in crp_get_pub_key() local
45 status = al_psa_status( in crp_get_pub_key()
48 if (status != PSA_SUCCESS) { in crp_get_pub_key()
54 status = al_psa_status( in crp_get_pub_key()
57 if (status != PSA_SUCCESS) { in crp_get_pub_key()
66 status = al_psa_status( in crp_get_pub_key()
69 if (status != PSA_SUCCESS) { in crp_get_pub_key()
74 return status; in crp_get_pub_key()
77 return status; in crp_get_pub_key()
98 psa_status_t status = PSA_SUCCESS; in crp_gen_key_secp256r1() local
[all …]
Dutil_app_cfg.c32 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-Core-2.7.6/boards/arm/96b_aerocore2/
D96b_aerocore2.dts45 status = "okay";
54 status = "okay";
68 status = "okay";
74 status = "okay";
80 status = "okay";
86 status = "okay";
92 status = "okay";
100 status = "okay";
108 status = "okay";
113 status = "okay";
[all …]
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_multi_instance/remote/src/
Dmain.c124 int status = 0; in app_task_1() local
130 status = rpmsg_mi_ctx_init(&ctx_1, &cfg_1); in app_task_1()
131 if (status < 0) { in app_task_1()
132 printk("rpmsg_mi_init [no 1] failed with status %d\n", status); in app_task_1()
135 status = rpmsg_mi_ept_register(&ctx_1, &ept_1, &ept_cfg_1); in app_task_1()
136 if (status < 0) { in app_task_1()
137 printk("rpmsg_mi_ept_register [no 1] failed with status %d\n", in app_task_1()
138 status); in app_task_1()
151 status = rpmsg_mi_send(&ept_1, &message, sizeof(message)); in app_task_1()
152 if (status < 0) { in app_task_1()
[all …]
/Zephyr-Core-2.7.6/samples/subsys/ipc/rpmsg_multi_instance/src/
Dmain.c125 int status = 0; in app_task_1() local
131 status = rpmsg_mi_ctx_init(&ctx_1, &cfg_1); in app_task_1()
132 if (status < 0) { in app_task_1()
133 printk("rpmsg_mi_init for [no 1] failed with status %d\n", in app_task_1()
134 status); in app_task_1()
137 status = rpmsg_mi_ept_register(&ctx_1, &ept_1, &ept_cfg_1); in app_task_1()
138 if (status < 0) { in app_task_1()
139 printk("rpmsg_mi_ept_register [no 1] failed with status %d\n", in app_task_1()
140 status); in app_task_1()
147 status = rpmsg_mi_send(&ept_1, &message, sizeof(message)); in app_task_1()
[all …]
/Zephyr-Core-2.7.6/boards/arm/qemu_cortex_m3/
Dqemu_cortex_m3.dts29 status = "okay";
34 status = "okay";
39 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-Core-2.7.6/include/bluetooth/mesh/
Dcfg_cli.h47 * @param status Status response parameter
51 int bt_mesh_cfg_node_reset(uint16_t net_idx, uint16_t addr, bool *status);
75 * @param status Status response parameter, returns one of
81 int bt_mesh_cfg_beacon_get(uint16_t net_idx, uint16_t addr, uint8_t *status);
87 * @param status Status response parameter.
93 uint8_t *status, uint8_t *phase);
100 * @param status Status response parameter.
107 uint8_t transition, uint8_t *status, uint8_t *phase);
115 * @param status Status response parameter. Returns one of
121 int bt_mesh_cfg_beacon_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *status);
[all …]
/Zephyr-Core-2.7.6/
DMAINTAINERS.yml9 # status:
72 # It is very advisable to have a `status` key in all entries. Exceptions to
97 # Status: ...
116 status: maintained
130 status: maintained
149 status: maintained
167 status: maintained
193 status: maintained
205 status: maintained
218 status: maintained
[all …]
/Zephyr-Core-2.7.6/boards/arm/96b_stm32_sensor_mez/
D96b_stm32_sensor_mez.dts56 status = "okay";
65 status = "okay";
77 status = "okay";
88 status = "okay";
108 status = "okay";
113 status = "okay";
118 status = "okay";
126 status = "okay";
135 /* status = "okay"; */
143 status = "okay";
[all …]
/Zephyr-Core-2.7.6/dts/arm/nordic/
Dnrf5340_cpuapp_peripherals.dtsi10 status = "okay";
17 status = "okay";
25 status = "okay";
39 status = "disabled";
54 status = "disabled";
62 status = "disabled";
78 status = "disabled";
93 status = "disabled";
101 status = "disabled";
111 status = "disabled";
[all …]

12345678910>>...66