/Zephyr-latest/doc/services/ |
D | index.rst | 9 binary_descriptors/index.rst 11 crypto/index 12 debugging/index.rst 13 device_mgmt/index 14 dsp/index.rst 15 file_system/index.rst 17 input/index.rst 18 ipc/index.rst 19 llext/index.rst 20 logging/index.rst [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/common/ |
D | test_common.h | 77 size_t index; in test_equal_f64() local 79 for (index = 0; index < length; index++) { in test_equal_f64() 80 if (a[index] != b[index]) { in test_equal_f64() 91 size_t index; in test_equal_f32() local 93 for (index = 0; index < length; index++) { in test_equal_f32() 94 if (a[index] != b[index]) { in test_equal_f32() 106 size_t index; in test_equal_f16() local 108 for (index = 0; index < length; index++) { in test_equal_f16() 109 if (a[index] != b[index]) { in test_equal_f16() 121 size_t index; in test_equal_q63() local [all …]
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | ucifi_lpwan.c | 98 int index, i = 0, j = 0; in lpwan_create() local 101 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lpwan_create() 102 if ((inst[index].obj != NULL) && (inst[index].obj_inst_id == obj_inst_id)) { in lpwan_create() 108 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lpwan_create() 109 if (inst[index].obj == NULL) { in lpwan_create() 114 if (index >= MAX_INSTANCE_COUNT) { in lpwan_create() 120 (void)memset(res[index], 0, sizeof(res[index])); in lpwan_create() 121 mac[index][0] = '\0'; in lpwan_create() 123 init_res_instance(res_inst[index], ARRAY_SIZE(res_inst[index])); in lpwan_create() 126 INIT_OBJ_RES_OPTDATA(UCIFI_LPWAN_NETWORK_TYPE_RID, res[index], i, res_inst[index], j); in lpwan_create() [all …]
|
D | ipso_filling_sensor.c | 102 static void update(uint16_t obj_inst_id, uint16_t res_id, int index) in update() argument 107 full = actual_fill_percentage[index] > high_threshold[index]; in update() 108 if (container_full[index] != full) { in update() 109 container_full[index] = full; in update() 114 empty = actual_fill_percentage[index] < low_threshold[index]; in update() 115 if (container_empty[index] != empty) { in update() 116 container_empty[index] = empty; in update() 139 int index, i = 0, j = 0; in filling_sensor_create() local 142 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in filling_sensor_create() 143 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in filling_sensor_create() [all …]
|
D | ipso_pressure_sensor.c | 79 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument 81 min_measured_value[index] = sensor_value[index]; in update_min_measured() 85 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument 87 max_measured_value[index] = sensor_value[index]; in update_max_measured() 134 int index, i = 0, j = 0; in pressure_sensor_create() local 137 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in pressure_sensor_create() 138 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in pressure_sensor_create() 146 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in pressure_sensor_create() 147 if (!inst[index].obj) { in pressure_sensor_create() 152 if (index >= MAX_INSTANCE_COUNT) { in pressure_sensor_create() [all …]
|
D | ipso_generic_sensor.c | 92 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument 94 min_measured_value[index] = sensor_value[index]; in update_min_measured() 98 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument 100 max_measured_value[index] = sensor_value[index]; in update_max_measured() 146 int index, i = 0, j = 0; in generic_sensor_create() local 149 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in generic_sensor_create() 150 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in generic_sensor_create() 158 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in generic_sensor_create() 159 if (!inst[index].obj) { in generic_sensor_create() 164 if (index >= MAX_INSTANCE_COUNT) { in generic_sensor_create() [all …]
|
D | ucifi_battery.c | 60 static void clear_supply_loss_counter(uint16_t obj_inst_id, int index) in clear_supply_loss_counter() argument 62 supply_loss_counter[index] = 0; in clear_supply_loss_counter() 84 int index, i = 0, j = 0; in battery_create() local 87 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in battery_create() 88 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in battery_create() 96 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in battery_create() 97 if (!inst[index].obj) { in battery_create() 102 if (index >= MAX_INSTANCE_COUNT) { in battery_create() 108 battery_level[index] = 0; in battery_create() 109 supply_loss_counter[index] = 0; in battery_create() [all …]
|
D | ipso_current_sensor.c | 83 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument 85 min_measured_value[index] = sensor_value[index]; in update_min_measured() 89 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument 91 max_measured_value[index] = sensor_value[index]; in update_max_measured() 139 int index, i = 0, j = 0; in current_sensor_create() local 142 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in current_sensor_create() 143 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in current_sensor_create() 151 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in current_sensor_create() 152 if (!inst[index].obj) { in current_sensor_create() 157 if (index >= MAX_INSTANCE_COUNT) { in current_sensor_create() [all …]
|
D | ipso_voltage_sensor.c | 84 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument 86 min_measured_value[index] = sensor_value[index]; in update_min_measured() 90 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument 92 max_measured_value[index] = sensor_value[index]; in update_max_measured() 140 int index, i = 0, j = 0; in voltage_sensor_create() local 143 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in voltage_sensor_create() 144 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in voltage_sensor_create() 152 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in voltage_sensor_create() 153 if (!inst[index].obj) { in voltage_sensor_create() 158 if (index >= MAX_INSTANCE_COUNT) { in voltage_sensor_create() [all …]
|
D | ipso_humidity_sensor.c | 78 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument 80 min_measured_value[index] = sensor_value[index]; in update_min_measured() 84 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument 86 max_measured_value[index] = sensor_value[index]; in update_max_measured() 133 int index, i = 0, j = 0; in humidity_sensor_create() local 136 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in humidity_sensor_create() 137 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in humidity_sensor_create() 145 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in humidity_sensor_create() 146 if (!inst[index].obj) { in humidity_sensor_create() 151 if (index >= MAX_INSTANCE_COUNT) { in humidity_sensor_create() [all …]
|
D | ipso_temp_sensor.c | 79 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() argument 81 min_measured_value[index] = sensor_value[index]; in update_min_measured() 86 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() argument 88 max_measured_value[index] = sensor_value[index]; in update_max_measured() 135 int index, i = 0, j = 0; in temp_sensor_create() local 138 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in temp_sensor_create() 139 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in temp_sensor_create() 146 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in temp_sensor_create() 147 if (!inst[index].obj) { in temp_sensor_create() 152 if (index >= MAX_INSTANCE_COUNT) { in temp_sensor_create() [all …]
|
D | lwm2m_obj_security.c | 116 int index, i = 0, j = 0; in security_create() local 119 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in security_create() 120 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in security_create() 127 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in security_create() 128 if (!inst[index].obj) { in security_create() 133 if (index >= MAX_INSTANCE_COUNT) { in security_create() 140 security_uri[index][0] = '\0'; in security_create() 141 client_identity[index][0] = '\0'; in security_create() 142 bootstrap_flag[index] = 0; in security_create() 143 security_mode[index] = 0U; in security_create() [all …]
|
D | lwm2m_obj_gateway.c | 96 int index, i = 0, j = 0; in lwm2m_gw_create() local 99 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lwm2m_gw_create() 100 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in lwm2m_gw_create() 108 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lwm2m_gw_create() 109 if (!inst[index].obj) { in lwm2m_gw_create() 114 if (index >= MAX_INSTANCE_COUNT) { in lwm2m_gw_create() 120 strncpy(device_table[index].device_id, CONFIG_LWM2M_GATEWAY_DEFAULT_DEVICE_ID, in lwm2m_gw_create() 122 snprintk(device_table[index].prefix, CONFIG_LWM2M_GATEWAY_PREFIX_MAX_STR_SIZE, in lwm2m_gw_create() 123 CONFIG_LWM2M_GATEWAY_DEFAULT_DEVICE_PREFIX "%u", index); in lwm2m_gw_create() 124 strncpy(device_table[index].iot_device_objects, in lwm2m_gw_create() [all …]
|
D | lwm2m_obj_server.c | 327 int index, i = 0, j = 0; in server_create() local 330 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in server_create() 331 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in server_create() 338 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in server_create() 339 if (!inst[index].obj) { in server_create() 344 if (index >= MAX_INSTANCE_COUNT) { in server_create() 351 disabled_until[index] = sys_timepoint_calc(K_NO_WAIT); in server_create() 352 server_flag_store_notify[index] = 0U; in server_create() 353 server_id[index] = index + 1; in server_create() 354 lifetime[index] = CONFIG_LWM2M_ENGINE_DEFAULT_LIFETIME; in server_create() [all …]
|
/Zephyr-latest/doc/develop/ |
D | index.rst | 9 getting_started/index.rst 12 application/index.rst 13 debug/index.rst 14 api/index.rst 15 languages/index.rst 16 optimizations/index 17 flash_debug/index 19 west/index 20 test/index 21 sca/index [all …]
|
/Zephyr-latest/doc/ |
D | index-tex.rst | 16 introduction/index.rst 17 develop/index.rst 18 kernel/index.rst 19 services/index.rst 20 build/index.rst 21 connectivity/index.rst 22 hardware/index.rst 23 contribute/index.rst 24 project/index.rst 25 security/index.rst [all …]
|
/Zephyr-latest/doc/kernel/ |
D | index.rst | 9 services/index.rst 10 drivers/index.rst 11 usermode/index.rst 12 memory_management/index.rst 13 data_structures/index.rst 14 timing_functions/index.rst 15 object_cores/index.rst 17 util/index.rst 18 iterable_sections/index.rst
|
/Zephyr-latest/tests/lib/cmsis_dsp/fastmath/src/ |
D | q15.c | 23 size_t index; in ZTEST() local 32 for (index = 0; index < length; index++) { in ZTEST() 33 output[index] = arm_cos_q15(in_angles[index]); in ZTEST() 51 size_t index; in ZTEST() local 60 for (index = 0; index < length; index++) { in ZTEST() 61 output[index] = arm_sin_q15(in_angles[index]); in ZTEST() 79 size_t index; in ZTEST() local 89 for (index = 0; index < length; index++) { in ZTEST() 90 status = arm_sqrt_q15(in_sqrt[index], &output[index]); in ZTEST() 93 if (in_sqrt[index] < 0) { in ZTEST() [all …]
|
D | q31.c | 23 size_t index; in ZTEST() local 32 for (index = 0; index < length; index++) { in ZTEST() 33 output[index] = arm_cos_q31(in_angles[index]); in ZTEST() 51 size_t index; in ZTEST() local 60 for (index = 0; index < length; index++) { in ZTEST() 61 output[index] = arm_sin_q31(in_angles[index]); in ZTEST() 79 size_t index; in ZTEST() local 89 for (index = 0; index < length; index++) { in ZTEST() 90 status = arm_sqrt_q31(in_sqrt[index], &output[index]); in ZTEST() 93 if (in_sqrt[index] < 0) { in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | micp_mic_dev.c | 213 unsigned long index; in cmd_micp_mic_dev_aics_deactivate() local 216 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_deactivate() 218 shell_error(sh, "Could not parse index: %d", result); in cmd_micp_mic_dev_aics_deactivate() 223 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_deactivate() 224 shell_error(sh, "Index shall be less than %u, was %lu", in cmd_micp_mic_dev_aics_deactivate() 225 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_deactivate() 230 result = bt_aics_deactivate(micp_included.aics[index]); in cmd_micp_mic_dev_aics_deactivate() 241 unsigned long index; in cmd_micp_mic_dev_aics_activate() local 244 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_activate() 246 shell_error(sh, "Could not parse index: %d", result); in cmd_micp_mic_dev_aics_activate() [all …]
|
D | vcp_vol_rend.c | 416 unsigned long index; in cmd_vcp_vol_rend_vocs_state_get() local 419 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_rend_vocs_state_get() 421 shell_error(sh, "Failed to parse index: %d", result); in cmd_vcp_vol_rend_vocs_state_get() 426 if (index > vcp_included.vocs_cnt) { in cmd_vcp_vol_rend_vocs_state_get() 427 shell_error(sh, "Invalid index %lu", index); in cmd_vcp_vol_rend_vocs_state_get() 432 result = bt_vocs_state_get(vcp_included.vocs[index]); in cmd_vcp_vol_rend_vocs_state_get() 443 unsigned long index; in cmd_vcp_vol_rend_vocs_location_get() local 446 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_rend_vocs_location_get() 448 shell_error(sh, "Failed to parse index: %d", result); in cmd_vcp_vol_rend_vocs_location_get() 453 if (index > vcp_included.vocs_cnt) { in cmd_vcp_vol_rend_vocs_location_get() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | speculation.h | 13 * Sanitize an array index against bounds check bypass attacks aka the 24 * if (index < size) { 25 * index = k_array_index_sanitize(index, size); 26 * data = array[index]; 29 * @param index Untrusted array index which has been validated, but not used 31 * @return The original index value if < size, or 0 33 static inline uint32_t k_array_index_sanitize(uint32_t index, uint32_t array_size) in k_array_index_sanitize() argument 36 int32_t signed_index = index, signed_array_size = array_size; in k_array_index_sanitize() 38 /* Take the difference between index and max. in k_array_index_sanitize() 40 * the complement of index, so that we automatically reject any large in k_array_index_sanitize() [all …]
|
/Zephyr-latest/doc/build/ |
D | index.rst | 11 cmake/index.rst 12 dts/index 13 kconfig/index.rst 14 snippets/index.rst 16 sysbuild/index.rst 17 version/index.rst 18 flashing/index.rst 19 signing/index.rst
|
/Zephyr-latest/tests/subsys/secure_storage/psa/its/src/ |
D | custom_store.c | 31 int index = get_existing_entry_index(uid); in secure_storage_its_store_set() local 33 if (index == -1) { in secure_storage_its_store_set() 36 index = i; in secure_storage_its_store_set() 40 if (index == -1) { in secure_storage_its_store_set() 43 s_its_entries[index].uid = uid; in secure_storage_its_store_set() 46 s_its_entries[index].data_length = data_length; in secure_storage_its_store_set() 47 memcpy(s_its_entries[index].data, data, data_length); in secure_storage_its_store_set() 54 const int index = get_existing_entry_index(uid); in secure_storage_its_store_get() local 56 if (index == -1) { in secure_storage_its_store_get() 59 *data_length = MIN(data_size, s_its_entries[index].data_length); in secure_storage_its_store_get() [all …]
|
/Zephyr-latest/drivers/sensor/st/vl53l0x/ |
D | vl53l0x_platform.h | 72 * @param index The register index 78 VL53L0X_Error VL53L0X_WriteMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata, 84 * @param index The register index 90 VL53L0X_Error VL53L0X_ReadMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata, 96 * @param index The register index 101 VL53L0X_Error VL53L0X_WrByte(VL53L0X_DEV Dev, uint8_t index, uint8_t data); 106 * @param index The register index 111 VL53L0X_Error VL53L0X_WrWord(VL53L0X_DEV Dev, uint8_t index, uint16_t data); 116 * @param index The register index 121 VL53L0X_Error VL53L0X_WrDWord(VL53L0X_DEV Dev, uint8_t index, uint32_t data); [all …]
|