Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 767) sorted by relevance

12345678910>>...31

/Zephyr-latest/doc/services/
Dindex.rst9 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/
Dtest_common.h77 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/
Dipso_filling_sensor.c102 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 …]
Ducifi_battery.c60 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 …]
Dipso_current_sensor.c83 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 …]
Dipso_voltage_sensor.c84 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 …]
Dipso_temp_sensor.c79 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 …]
Ducifi_lpwan.c98 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 …]
Dipso_pressure_sensor.c79 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 …]
Dipso_generic_sensor.c92 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 …]
Dipso_humidity_sensor.c78 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 …]
Dlwm2m_obj_gateway.c96 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 …]
Dlwm2m_obj_security.c116 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 …]
Dlwm2m_obj_server.c327 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/
Dindex.rst9 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/tests/lib/cmsis_dsp/fastmath/src/
Dq15.c23 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 …]
Dq31.c23 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/arch/riscv/core/
Dpmp.c64 unsigned int index; in print_pmp_entries() local
67 for (index = pmp_start; index < pmp_end; index++) { in print_pmp_entries()
70 switch (pmp_n_cfg[index] & PMP_A) { in print_pmp_entries()
72 start = (index == 0) ? 0 : (pmp_addr[index - 1] << 2); in print_pmp_entries()
73 end = (pmp_addr[index] << 2) - 1; in print_pmp_entries()
76 start = pmp_addr[index] << 2; in print_pmp_entries()
80 tmp = (pmp_addr[index] << 2) | 0x3; in print_pmp_entries()
91 LOG_DBG("%3d: "PR_ADDR" 0x%02x", index, in print_pmp_entries()
92 pmp_addr[index], in print_pmp_entries()
93 pmp_n_cfg[index]); in print_pmp_entries()
[all …]
/Zephyr-latest/doc/
Dindex-tex.rst16 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/tests/kernel/pipe/pipe/src/
Dtest_pipe.c124 uint32_t index; in rx_buffer_check() local
126 for (index = 0U; index < size; index++) { in rx_buffer_check()
127 if (buffer[index] != (char) index) { in rx_buffer_check()
129 buffer[index], (char) index); in rx_buffer_check()
130 return index; in rx_buffer_check()
141 uint32_t index; in pipe_put_single() local
146 for (index = 0U; index < TOTAL_ELEMENTS; index++) { in pipe_put_single()
149 min_xfer = (single_elements[index].min_size == ALL_BYTES ? in pipe_put_single()
150 single_elements[index].size : in pipe_put_single()
151 single_elements[index].min_size); in pipe_put_single()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmicp_mic_dev.c213 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()
223 if (index >= micp_included.aics_cnt) { 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()
251 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_activate()
253 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_activate()
258 result = bt_aics_activate(micp_included.aics[index]); in cmd_micp_mic_dev_aics_activate()
[all …]
/Zephyr-latest/doc/kernel/
Dindex.rst9 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/subsys/secure_storage/psa/its/src/
Dcustom_store.c31 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/doc/build/
Dindex.rst11 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/lib/cmsis_dsp/statistics/src/
Df64.c21 size_t index; in ZTEST() local
35 for (index = 0; index < length; index++) { in ZTEST()
36 output[index] = in ZTEST()
37 arm_entropy_f64(input, in_entropy_dim[index + 1]); in ZTEST()
38 input += in_entropy_dim[index + 1]; in ZTEST()
56 size_t index; in ZTEST() local
71 for (index = 0; index < length; index++) { in ZTEST()
72 output[index] = in ZTEST()
74 input1, input2, in_kl_dim[index + 1]); in ZTEST()
76 input1 += in_kl_dim[index + 1]; in ZTEST()
[all …]

12345678910>>...31