Home
last modified time | relevance | path

Searched refs:index (Results 226 – 250 of 767) sorted by relevance

12345678910>>...31

/Zephyr-latest/samples/subsys/input/draw_touch_events/src/
Dmain.c83 int index; in fill_cross_buffer() local
87 index = BPP * (CROSS_DIM / 2 * CROSS_DIM + x); in fill_cross_buffer()
88 buffer_cross[index + i] = -1; in fill_cross_buffer()
91 index = BPP * (y * CROSS_DIM + CROSS_DIM / 2); in fill_cross_buffer()
92 buffer_cross[index + i] = -1; in fill_cross_buffer()
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/
Dmain.c16 #define CHECK_SINGLE_ENDED_VOLTAGE(sensor_val, index, pin_voltage, r1, r2) \ argument
20 sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000, \
25 (double)(sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000), \
30 #define CHECK_CURRENT(sensor_val, index, pin_voltage, r_microohms) \ argument
34 sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000, \
39 (double)(sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000), \
46 #define CHECK_TEMPERATURE(sensor_val, index, expected_temperature, temperature_type) \ argument
50 sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000, \
52 (double)(sensor_val[index].val1 + (float)sensor_val[index].val2 / 1000000));
/Zephyr-latest/samples/drivers/soc_flash_nand/src/
Dmain.c62 for (int index = 0; index < page.size * NAND_NUM_PAGES; index++) { in main() local
63 w_Page_buffer[index] = (page_data++ % 255); in main()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dhas_test.c33 static int preset_select(uint8_t index, bool sync) in preset_select() argument
90 preset_param.index = test_preset_index_5; in test_common()
101 preset_param.index = test_preset_index_1; in test_common()
135 preset_param.index = test_preset_index_3; in test_offline_behavior()
/Zephyr-latest/drivers/dac/
Ddac_test.c41 #define VND_DAC_INIT(index) \ argument
42 DEVICE_DT_INST_DEFINE(index, &vnd_dac_init, NULL, NULL, NULL, POST_KERNEL, \
Ddac_ad56xx.c170 #define DAC_AD56XX_INST_DEFINE(index, name, res, channels, channels_count) \ argument
171 static struct ad56xx_data data_##name##_##index; \
172 static const struct ad56xx_config config_##name##_##index = { \
174 index, SPI_OP_MODE_MASTER | SPI_MODE_CPHA | SPI_WORD_SET(8), 0), \
176 .gpio_reset = GPIO_DT_SPEC_INST_GET_OR(index, reset_gpios, {0}), \
180 DEVICE_DT_INST_DEFINE(index, ad56xx_init, NULL, &data_##name##_##index, \
181 &config_##name##_##index, POST_KERNEL, \
/Zephyr-latest/subsys/bluetooth/services/
Ddis.c170 uint16_t *index, uint16_t len, uint16_t offset) in read_udi_subval() argument
181 if (*index + val_len < offset) { in read_udi_subval()
182 *index += val_len; in read_udi_subval()
187 if (*index >= offset && *bytes_read < len) { in read_udi_subval()
193 (*index)++; in read_udi_subval()
205 uint16_t index = sizeof(uint8_t); in read_udi() local
213 &bytes_read, &index, len, offset); in read_udi()
215 &bytes_read, &index, len, offset); in read_udi()
217 &bytes_read, &index, len, offset); in read_udi()
219 buf_i, &bytes_read, &index, len, offset); in read_udi()
/Zephyr-latest/subsys/lorawan/services/
Dfrag_decoder_lowmem.c71 static inline bool bit_get(struct sys_bitarray *bitmap, size_t index) in bit_get() argument
75 ret = sys_bitarray_test_bit(bitmap, index, &bit); in bit_get()
80 static inline void bit_set(struct sys_bitarray *bitmap, size_t index) in bit_set() argument
84 ret = sys_bitarray_set_bit(bitmap, index); in bit_set()
88 static inline void bit_clear(struct sys_bitarray *bitmap, size_t index) in bit_clear() argument
92 ret = sys_bitarray_clear_bit(bitmap, index); in bit_clear()
96 static inline size_t bit_count_ones(struct sys_bitarray *bitmap, size_t index) in bit_count_ones() argument
101 ret = sys_bitarray_popcount_region(bitmap, index + 1, 0, &count); in bit_count_ones()
191 void frag_dec_frame_received(struct frag_decoder *decoder, uint16_t index) in frag_dec_frame_received() argument
195 ret = sys_bitarray_test_and_clear_bit(&lost_frames, index, &was_set); in frag_dec_frame_received()
/Zephyr-latest/dts/arm/nuvoton/npcx/
Dnpcx-espi-vws-ex-map.dtsi28 vw-index-extend-set = < ESPI_NPCX_VW_EX_VAL(1, 6, 0x4A) >;
34 /* index 4Ah (In) */
41 /* index 40h (Out) */
/Zephyr-latest/doc/services/crypto/
Dindex.rst17 random/index.rst
18 api/index.rst
/Zephyr-latest/drivers/input/
Dinput_cf1133.c321 #define CF1133_INIT(index) \ argument
322 static const struct cf1133_config cf1133_config_##index = { \
323 .bus = I2C_DT_SPEC_INST_GET(index), \
325 (.int_gpio = GPIO_DT_SPEC_INST_GET(index, int_gpios), \
328 static struct cf1133_data cf1133_data_##index; \
330 DEVICE_DT_INST_DEFINE(index, cf1133_init, NULL, &cf1133_data_##index, \
331 &cf1133_config_##index, POST_KERNEL, \
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/
Dbiquad_f32.c21 size_t index; in ZTEST() local
56 for (index = 0; index < 2; index++) { in ZTEST()
81 size_t index; in ZTEST() local
105 for (index = 0; index < 2; index++) { in ZTEST()
Dbiquad_f16.c22 size_t index; in ZTEST() local
57 for (index = 0; index < 2; index++) { in ZTEST()
83 size_t index; in ZTEST() local
107 for (index = 0; index < 2; index++) { in ZTEST()
/Zephyr-latest/doc/connectivity/networking/
Dindex.rst19 api/index.rst
20 conn_mgr/index.rst
/Zephyr-latest/tests/bluetooth/common/testlib/src/
Dconn_ref.c51 uint8_t index = bt_conn_index(conn); in find_by_index() local
53 if (index == data->wanted_index) { in find_by_index()
/Zephyr-latest/include/zephyr/dt-bindings/espi/
Dnpcx_espi.h15 #define ESPI_NPCX_VW_EX_VAL(dir, group, index) \ argument
16 (((dir & 0x1) << 12) + ((group & 0xf) << 8) + (index & 0xff))
/Zephyr-latest/include/zephyr/drivers/
Dled.h42 uint32_t index; member
349 uint32_t index; member
364 return led_set_brightness(spec->dev, spec->index, value); in led_set_brightness_dt()
377 return led_on(spec->dev, spec->index); in led_on_dt()
390 return led_off(spec->dev, spec->index); in led_off_dt()
445 .index = DT_NODE_CHILD_IDX(node_id), \
/Zephyr-latest/dts/x86/intel/
Dalder_lake.dtsi60 group-index = <0x02>;
67 group-index = <0x0>;
74 group-index = <0x0B>;
81 group-index = <0x8>;
88 group-index = <0xE>;
95 group-index = <0xC>;
102 group-index = <0x7>;
109 group-index = <0x9>;
116 group-index = <0x6>;
123 group-index = <0x3>;
[all …]
/Zephyr-latest/scripts/ci/stats/
Dmerged_prs.py33 def gendata(data, index): argument
36 "_index": index,
166 index = args.es_index
168 index = os.environ['PR_STAT_ES_INDEX']
169 bulk(es, gendata(json_list, index))
/Zephyr-latest/drivers/adc/
Dadc_gd32.c209 uint8_t index = 0, offset; in adc_gd32_configure_sampt() local
217 for ( ; index < ARRAY_SIZE(acq_time_tbl); index++) { in adc_gd32_configure_sampt()
218 if (ADC_ACQ_TIME_VALUE(acq_time) <= acq_time_tbl[index]) { in adc_gd32_configure_sampt()
223 if (ADC_ACQ_TIME_VALUE(acq_time) != acq_time_tbl[index]) { in adc_gd32_configure_sampt()
231 ADC_SAMPT1(cfg->reg) |= table_samp_time[index] << offset; in adc_gd32_configure_sampt()
235 ADC_SAMPT0(cfg->reg) |= table_samp_time[index] << offset; in adc_gd32_configure_sampt()
276 uint32_t index; in adc_gd32_start_read() local
278 index = find_lsb_set(sequence->channels) - 1; in adc_gd32_start_read()
279 if (sequence->channels > BIT(index)) { in adc_gd32_start_read()
321 ADC_RSQ2(cfg->reg) = index; in adc_gd32_start_read()
/Zephyr-latest/drivers/ethernet/
Deth_cyclonev.c404 int32_t index = 0; in eth_cyclonev_send() local
461 index = p->tx_current_desc_number; in eth_cyclonev_send()
474 tx_desc = &p->tx_desc_ring[index]; in eth_cyclonev_send()
501 index--; in eth_cyclonev_send()
502 if (index < 0) { in eth_cyclonev_send()
503 index = NB_TX_DESCS - 1; in eth_cyclonev_send()
644 uint32_t index, frame_length, rx_search, wrap, data_remaining, last_desc_index, buf_size; in eth_cyclonev_receive() local
646 index = p->rx_current_desc_number; in eth_cyclonev_receive()
647 rx_desc = &p->rx_desc_ring[index]; in eth_cyclonev_receive()
651 LOG_DBG("RDES0[%d] = 0x%08x", index, rx_desc->status); in eth_cyclonev_receive()
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_mchp_xec.c447 #define XEC_PWM_DEVICE_INIT(index) \ argument
449 static struct pwm_xec_data pwm_xec_data_##index; \
451 PINCTRL_DT_INST_DEFINE(index); \
453 XEC_PWM_CONFIG(index); \
455 PM_DEVICE_DT_INST_DEFINE(index, pwm_xec_pm_action); \
457 DEVICE_DT_INST_DEFINE(index, &pwm_xec_init, \
458 PM_DEVICE_DT_INST_GET(index), \
459 &pwm_xec_data_##index, \
460 &pwm_xec_config_##index, POST_KERNEL, \
/Zephyr-latest/drivers/i2s/
Di2s_test.c51 #define VND_I2S_INIT(index) \ argument
52 DEVICE_DT_INST_DEFINE(index, &vnd_i2s_init, NULL, NULL, NULL, POST_KERNEL, \
/Zephyr-latest/subsys/net/lib/http/
Dhttp_hpack.c293 uint32_t index; in hpack_handle_indexed() local
297 &index); in hpack_handle_indexed()
302 if (index == 0) { in hpack_handle_indexed()
306 entry = http_hpack_table_get(index); in hpack_handle_indexed()
327 uint32_t index; in hpack_handle_literal() local
332 ret = hpack_integer_decode(buf, datalen, prefix_len, &index); in hpack_handle_literal()
341 if (index == 0) { in hpack_handle_literal()
356 entry = http_hpack_table_get(index); in hpack_handle_literal()
572 static int hpack_encode_literal_value(uint8_t *buf, size_t buflen, int index, in hpack_encode_literal_value() argument
577 ret = hpack_integer_encode(buf, buflen, index, in hpack_encode_literal_value()
[all …]
/Zephyr-latest/subsys/bluetooth/services/bas/
Dbas.c132 const struct bt_gatt_attr *bt_bas_get_bas_attr(uint16_t index) in bt_bas_get_bas_attr() argument
134 if (index < bas.attr_count) { in bt_bas_get_bas_attr()
135 return &bas.attrs[index]; in bt_bas_get_bas_attr()

12345678910>>...31