/Zephyr-latest/samples/subsys/input/draw_touch_events/src/ |
D | main.c | 83 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/ |
D | main.c | 16 #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/ |
D | main.c | 62 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/ |
D | has_test.c | 33 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/ |
D | dac_test.c | 41 #define VND_DAC_INIT(index) \ argument 42 DEVICE_DT_INST_DEFINE(index, &vnd_dac_init, NULL, NULL, NULL, POST_KERNEL, \
|
D | dac_ad56xx.c | 170 #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/ |
D | dis.c | 170 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/ |
D | frag_decoder_lowmem.c | 71 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/ |
D | npcx-espi-vws-ex-map.dtsi | 28 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/ |
D | index.rst | 17 random/index.rst 18 api/index.rst
|
/Zephyr-latest/drivers/input/ |
D | input_cf1133.c | 321 #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/ |
D | biquad_f32.c | 21 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()
|
D | biquad_f16.c | 22 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/ |
D | index.rst | 19 api/index.rst 20 conn_mgr/index.rst
|
/Zephyr-latest/tests/bluetooth/common/testlib/src/ |
D | conn_ref.c | 51 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/ |
D | npcx_espi.h | 15 #define ESPI_NPCX_VW_EX_VAL(dir, group, index) \ argument 16 (((dir & 0x1) << 12) + ((group & 0xf) << 8) + (index & 0xff))
|
/Zephyr-latest/include/zephyr/drivers/ |
D | led.h | 42 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/ |
D | alder_lake.dtsi | 60 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/ |
D | merged_prs.py | 33 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/ |
D | adc_gd32.c | 209 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/ |
D | eth_cyclonev.c | 404 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/ |
D | pwm_mchp_xec.c | 447 #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/ |
D | i2s_test.c | 51 #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/ |
D | http_hpack.c | 293 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/ |
D | bas.c | 132 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()
|