/Zephyr-Core-3.5.0/doc/services/ |
D | index.rst | 10 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-Core-3.5.0/tests/lib/cmsis_dsp/common/ |
D | test_common.h | 121 size_t index; in test_equal_f64() local 123 for (index = 0; index < length; index++) { in test_equal_f64() 124 if (a[index] != b[index]) { in test_equal_f64() 135 size_t index; in test_equal_f32() local 137 for (index = 0; index < length; index++) { in test_equal_f32() 138 if (a[index] != b[index]) { in test_equal_f32() 150 size_t index; in test_equal_f16() local 152 for (index = 0; index < length; index++) { in test_equal_f16() 153 if (a[index] != b[index]) { in test_equal_f16() 165 size_t index; in test_equal_q63() local [all …]
|
/Zephyr-Core-3.5.0/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_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_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_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 | 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 | lwm2m_obj_server.c | 238 int index, i = 0, j = 0; in server_create() local 241 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in server_create() 242 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in server_create() 249 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in server_create() 250 if (!inst[index].obj) { in server_create() 255 if (index >= MAX_INSTANCE_COUNT) { in server_create() 262 server_flag_disabled[index] = 0U; in server_create() 263 server_flag_store_notify[index] = 0U; in server_create() 264 server_id[index] = index + 1; in server_create() 265 lifetime[index] = CONFIG_LWM2M_ENGINE_DEFAULT_LIFETIME; in server_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 | 94 int index, i = 0, j = 0; in lwm2m_gw_create() local 97 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lwm2m_gw_create() 98 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in lwm2m_gw_create() 106 for (index = 0; index < MAX_INSTANCE_COUNT; index++) { in lwm2m_gw_create() 107 if (!inst[index].obj) { in lwm2m_gw_create() 112 if (index >= MAX_INSTANCE_COUNT) { in lwm2m_gw_create() 118 strncpy(device_table[index].device_id, CONFIG_LWM2M_GATEWAY_DEFAULT_DEVICE_ID, in lwm2m_gw_create() 120 snprintk(device_table[index].prefix, CONFIG_LWM2M_GATEWAY_PREFIX_MAX_STR_SIZE, in lwm2m_gw_create() 121 CONFIG_LWM2M_GATEWAY_DEFAULT_DEVICE_PREFIX "%u", index); in lwm2m_gw_create() 122 strncpy(device_table[index].iot_device_objects, in lwm2m_gw_create() [all …]
|
/Zephyr-Core-3.5.0/doc/_scripts/ |
D | redirects.py | 16 ('application/index', 'develop/application/index'), 17 ('boards/x86/ehl_crb/doc/index', 'boards/x86/intel_ehl/doc/index'), 18 ('boards/x86/rpl_crb/doc/index', 'boards/x86/intel_rpl/doc/index'), 20 ('development_process/index', 'project/index'), 23 ('getting_started/index', 'develop/getting_started/index'), 24 ('getting_started/toolchain_3rd_party_x_compilers', 'develop/toolchains/index'), 28 ('guides/arch/index', 'hardware/arch/index'), 31 ('guides/bluetooth/index', 'connectivity/bluetooth/index'), 33 ('guides/build/index', 'build/cmake/index'), 40 ('guides/crypto/index', 'services/crypto/index'), [all …]
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/boards/ |
D | index.rst | 19 arc/index.rst 20 arm/index.rst 21 arm64/index.rst 22 mips/index.rst 23 nios2/index.rst 24 posix/index.rst 25 riscv/index.rst 26 sparc/index.rst 27 x86/index.rst 28 xtensa/index.rst [all …]
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/subsys/bluetooth/audio/shell/ |
D | micp_mic_dev.c | 204 unsigned long index; in cmd_micp_mic_dev_aics_deactivate() local 207 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_deactivate() 209 shell_error(sh, "Could not parse index: %d", result); in cmd_micp_mic_dev_aics_deactivate() 214 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_deactivate() 215 shell_error(sh, "Index shall be less than %u, was %lu", in cmd_micp_mic_dev_aics_deactivate() 216 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_deactivate() 221 result = bt_aics_deactivate(micp_included.aics[index]); in cmd_micp_mic_dev_aics_deactivate() 232 unsigned long index; in cmd_micp_mic_dev_aics_activate() local 235 index = shell_strtoul(argv[1], 0, &result); in cmd_micp_mic_dev_aics_activate() 237 shell_error(sh, "Could not parse index: %d", result); in cmd_micp_mic_dev_aics_activate() [all …]
|
D | vcp_vol_rend.c | 405 unsigned long index; in cmd_vcp_vol_rend_vocs_state_get() local 408 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_rend_vocs_state_get() 410 shell_error(sh, "Failed to parse index: %d", result); in cmd_vcp_vol_rend_vocs_state_get() 415 if (index > vcp_included.vocs_cnt) { in cmd_vcp_vol_rend_vocs_state_get() 416 shell_error(sh, "Invalid index %lu", index); in cmd_vcp_vol_rend_vocs_state_get() 421 result = bt_vocs_state_get(vcp_included.vocs[index]); in cmd_vcp_vol_rend_vocs_state_get() 432 unsigned long index; in cmd_vcp_vol_rend_vocs_location_get() local 435 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_rend_vocs_location_get() 437 shell_error(sh, "Failed to parse index: %d", result); in cmd_vcp_vol_rend_vocs_location_get() 442 if (index > vcp_included.vocs_cnt) { in cmd_vcp_vol_rend_vocs_location_get() [all …]
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/drivers/gpio/ |
D | gpio_shell.c | 26 uint8_t index; member 33 .index = 2, 40 uint8_t index = 0U; in cmd_gpio_conf() local 44 if (isdigit((unsigned char)argv[args_indx.index][0]) != 0 && in cmd_gpio_conf() 46 index = (uint8_t)atoi(argv[args_indx.index]); in cmd_gpio_conf() 66 index = (uint8_t)atoi(argv[args_indx.index]); in cmd_gpio_conf() 68 argv[args_indx.port], index); in cmd_gpio_conf() 69 gpio_pin_configure(dev, index, type); in cmd_gpio_conf() 79 uint8_t index = 0U; in cmd_gpio_get() local 82 if (isdigit((unsigned char)argv[args_indx.index][0]) != 0) { in cmd_gpio_get() [all …]
|