/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/ |
D | unary_f16.c | 44 size_t index; in test_op2() local 70 for (index = 0; index < NUM_MATRICES; index++) { in test_op2() 134 size_t index; in test_op1() local 155 for (index = 0; index < NUM_MATRICES; index++) { in test_op1() 214 size_t index; in ZTEST() local 237 for (index = 0; index < ARRAY_SIZE(in_inv_dims); index++) { in ZTEST() 277 size_t index; in test_op2v() local 299 for (index = 0; index < NUM_MATRICES; index++) { in test_op2v() 348 size_t index; in test_op1c() local 369 for (index = 0; index < NUM_MATRICES; index++) { in test_op1c() [all …]
|
D | unary_f32.c | 40 size_t index; in test_op2() local 66 for (index = 0; index < NUM_MATRICES; index++) { in test_op2() 130 size_t index; in test_op1() local 151 for (index = 0; index < NUM_MATRICES; index++) { in test_op1() 210 size_t index; in ZTEST() local 233 for (index = 0; index < ARRAY_SIZE(in_inv_dims); index++) { in ZTEST() 273 size_t index; in test_op2v() local 295 for (index = 0; index < NUM_MATRICES; index++) { in test_op2v() 344 size_t index; in test_op1c() local 365 for (index = 0; index < NUM_MATRICES; index++) { in test_op1c() [all …]
|
D | unary_f64.c | 32 size_t index; in test_op2() local 58 for (index = 0; index < NUM_MATRICES; index++) { in test_op2() 115 size_t index; in test_op1() local 136 for (index = 0; index < NUM_MATRICES; index++) { in test_op1() 189 size_t index; in ZTEST() local 212 for (index = 0; index < ARRAY_SIZE(in_inv_dims); index++) { in ZTEST() 252 size_t index; in ZTEST() local 275 for (index = 0; index < ARRAY_SIZE(in_cholesky_dpo_dims); index++) { in ZTEST() 315 size_t index; in ZTEST() local 344 for (index = 0; index < ARRAY_SIZE(in_cholesky_dpo_dims); index++) { in ZTEST() [all …]
|
D | unary_q15.c | 32 size_t index; in test_op2() local 58 for (index = 0; index < NUM_MATRICES; index++) { in test_op2() 116 size_t index; in test_op1() local 137 for (index = 0; index < NUM_MATRICES; index++) { in test_op1() 194 size_t index; in test_op2v() local 216 for (index = 0; index < NUM_MATRICES; index++) { in test_op2v() 263 size_t index; in test_op1c() local 284 for (index = 0; index < NUM_MATRICES; index++) { in test_op1c()
|
D | unary_q31.c | 32 size_t index; in test_op2() local 58 for (index = 0; index < NUM_MATRICES; index++) { in test_op2() 116 size_t index; in test_op1() local 137 for (index = 0; index < NUM_MATRICES; index++) { in test_op1() 194 size_t index; in test_op2v() local 216 for (index = 0; index < NUM_MATRICES; index++) { in test_op2v() 263 size_t index; in test_op1c() local 284 for (index = 0; index < NUM_MATRICES; index++) { in test_op1c()
|
D | unary_q7.c | 28 size_t index; in test_op1() local 49 for (index = 0; index < NUM_MATRICES; index++) { in test_op1() 99 size_t index; in test_op2v() local 121 for (index = 0; index < NUM_MATRICES; index++) { in test_op2v()
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | index.rst | 15 audio/index.rst 19 can/index.rst 26 display/index.rst 27 eeprom/index.rst 30 edac/index.rst 57 sensor/index.rst
|
/Zephyr-latest/drivers/adc/ |
D | adc_ltc2451.c | 95 #define LTC2451_DEFINE(index) \ argument 96 static const struct ltc2451_config ltc2451_cfg_##index = { \ 97 .i2c = I2C_DT_SPEC_INST_GET(index), \ 98 .conversion_speed = DT_INST_PROP(index, conversion_speed), \ 101 DEVICE_DT_INST_DEFINE(index, <c2451_init, NULL, NULL, \ 102 <c2451_cfg_##index, POST_KERNEL, CONFIG_ADC_INIT_PRIORITY, \
|
/Zephyr-latest/drivers/input/ |
D | input_stmpe811.c | 524 #define STMPE811_DEFINE(index) \ argument 525 BUILD_ASSERT(DT_INST_PROP_OR(index, raw_x_max, 4096) > \ 526 DT_INST_PROP_OR(index, raw_x_min, 0), \ 528 BUILD_ASSERT(DT_INST_PROP_OR(index, raw_y_max, 4096) > \ 529 DT_INST_PROP_OR(index, raw_y_min, 0), \ 531 static const struct stmpe811_config stmpe811_config_##index = { \ 532 .common = INPUT_TOUCH_DT_INST_COMMON_CONFIG_INIT(index), \ 533 .bus = I2C_DT_SPEC_INST_GET(index), \ 534 .int_gpio = GPIO_DT_SPEC_INST_GET(index, int_gpios), \ 536 DT_INST_ENUM_IDX(index, panel_driver_settling_time_us), \ [all …]
|
D | input_chsc6x.c | 129 #define CHSC6X_DEFINE(index) \ argument 130 static const struct chsc6x_config chsc6x_config_##index = { \ 131 .i2c = I2C_DT_SPEC_INST_GET(index), \ 132 .int_gpio = GPIO_DT_SPEC_INST_GET(index, irq_gpios), \ 134 static struct chsc6x_data chsc6x_data_##index; \ 135 DEVICE_DT_INST_DEFINE(index, chsc6x_init, NULL, &chsc6x_data_##index, \ 136 &chsc6x_config_##index, POST_KERNEL, CONFIG_INPUT_INIT_PRIORITY, \
|
D | input_ft5336.c | 296 #define FT5336_INIT(index) \ argument 297 PM_DEVICE_DT_INST_DEFINE(index, ft5336_pm_action); \ 298 static const struct ft5336_config ft5336_config_##index = { \ 299 .common = INPUT_TOUCH_DT_INST_COMMON_CONFIG_INIT(index), \ 300 .bus = I2C_DT_SPEC_INST_GET(index), \ 301 .reset_gpio = GPIO_DT_SPEC_INST_GET_OR(index, reset_gpios, {0}), \ 303 (.int_gpio = GPIO_DT_SPEC_INST_GET(index, int_gpios),)) \ 305 static struct ft5336_data ft5336_data_##index; \ 306 DEVICE_DT_INST_DEFINE(index, ft5336_init, PM_DEVICE_DT_INST_GET(index), \ 307 &ft5336_data_##index, &ft5336_config_##index, \
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_binaryappdata.c | 59 int index, avail = -1, i = 0, j = 0; in lwm2m_binaryappdata_create() local 62 for (index = 0; index < ARRAY_SIZE(inst); index++) { in lwm2m_binaryappdata_create() 63 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in lwm2m_binaryappdata_create() 71 if (avail < 0 && !inst[index].obj) { in lwm2m_binaryappdata_create() 72 avail = index; in lwm2m_binaryappdata_create()
|
/Zephyr-latest/drivers/pcie/host/ |
D | ptm.c | 60 #define PCIE_PTM_ROOT_INIT(index) \ argument 61 DEVICE_PCIE_INST_DECLARE(index); \ 62 static const struct pcie_ptm_root_config ptm_config_##index = { \ 63 DEVICE_PCIE_INST_INIT(index, pcie), \ 65 DEVICE_DT_INST_DEFINE(index, &pcie_ptm_root_init, NULL, NULL, \ 66 &ptm_config_##index, PRE_KERNEL_1, \
|
/Zephyr-latest/drivers/dma/ |
D | dma_stm32.c | 147 #define HANDLE_IRQS(index) \ argument 148 static const struct device *const dev_##index = \ 149 DEVICE_DT_INST_GET(index); \ 150 const struct dma_stm32_config *cfg_##index = dev_##index->config; \ 151 DMA_TypeDef *dma_##index = (DMA_TypeDef *)(cfg_##index->base); \ 153 for (id = 0; id < cfg_##index->max_streams; ++id) { \ 154 if (stm32_dma_is_irq_active(dma_##index, id)) { \ 155 dma_stm32_irq_handler(dev_##index, id); \ 445 int index = find_lsb_set(config->source_data_size) - 1; in dma_stm32_configure() local 446 DMA_InitStruct.PeriphOrM2MSrcDataSize = table_p_size[index]; in dma_stm32_configure() [all …]
|
D | dma_sedi.c | 68 static int width_index(uint32_t num_bytes, uint32_t *index) in width_index() argument 72 *index = DMA_TRANS_WIDTH_8; in width_index() 75 *index = DMA_TRANS_WIDTH_16; in width_index() 78 *index = DMA_TRANS_WIDTH_32; in width_index() 81 *index = DMA_TRANS_WIDTH_64; in width_index() 84 *index = DMA_TRANS_WIDTH_128; in width_index() 87 *index = DMA_TRANS_WIDTH_256; in width_index() 97 static int burst_index(uint32_t num_units, uint32_t *index) in burst_index() argument 101 *index = DMA_BURST_TRANS_LENGTH_1; in burst_index() 104 *index = DMA_BURST_TRANS_LENGTH_4; in burst_index() [all …]
|
D | dma_stm32u5.c | 491 int index = find_lsb_set(config->source_data_size) - 1; in dma_stm32_configure() local 493 DMA_InitStruct.SrcDataWidth = table_src_size[index]; in dma_stm32_configure() 495 index = find_lsb_set(config->dest_data_size) - 1; in dma_stm32_configure() 496 DMA_InitStruct.DestDataWidth = table_dst_size[index]; in dma_stm32_configure() 740 #define DMA_STM32_IRQ_CONNECT(index) \ argument 741 static void dma_stm32_config_irq_##index(const struct device *dev) \ 745 LISTIFY(DT_INST_PROP(index, dma_channels), \ 746 DMA_STM32_IRQ_CONNECT_CHANNEL, (;), index); \ 761 #define DMA_STM32_INIT_DEV(index) \ argument 762 BUILD_ASSERT(DT_INST_PROP(index, dma_channels) \ [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/statistics/src/ |
D | q31.c | 24 uint32_t index; in test_arm_max_q31() local 27 arm_max_q31(input1, length, &val, &index); in test_arm_max_q31() 33 zassert_equal(index, ref_max_idx[ref_index], in test_arm_max_q31() 45 uint32_t index; in test_arm_min_q31() local 48 arm_min_q31(input1, length, &val, &index); in test_arm_min_q31() 54 zassert_equal(index, ref_min_idx[ref_index], in test_arm_min_q31() 66 uint32_t index; in test_arm_absmax_q31() local 69 arm_absmax_q31(input1, length, &val, &index); in test_arm_absmax_q31() 75 zassert_equal(index, ref_absmax_idx[ref_index], in test_arm_absmax_q31() 87 uint32_t index; in test_arm_absmin_q31() local [all …]
|
D | q15.c | 24 uint32_t index; in test_arm_max_q15() local 27 arm_max_q15(input1, length, &val, &index); in test_arm_max_q15() 33 zassert_equal(index, ref_max_idx[ref_index], in test_arm_max_q15() 45 uint32_t index; in test_arm_min_q15() local 48 arm_min_q15(input1, length, &val, &index); in test_arm_min_q15() 54 zassert_equal(index, ref_min_idx[ref_index], in test_arm_min_q15() 66 uint32_t index; in test_arm_absmax_q15() local 69 arm_absmax_q15(input1, length, &val, &index); in test_arm_absmax_q15() 75 zassert_equal(index, ref_absmax_idx[ref_index], in test_arm_absmax_q15() 87 uint32_t index; in test_arm_absmin_q15() local [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_page_layout.c | 12 uint32_t index, struct flash_pages_info *info) in flash_get_page_info() argument 20 info->index = 0U; in flash_get_page_info() 27 index_jmp = index - info->index; in flash_get_page_info() 34 info->index += index_jmp; in flash_get_page_info() 92 page_info.index = page; in flash_page_foreach()
|
/Zephyr-latest/lib/crc/ |
D | crc4_sw.c | 43 uint8_t index; in crc4_ti() local 47 index = seed ^ ((src[i] >> (4*(1-j))) & 0xf); in crc4_ti() 48 seed = (lookup[index >> 1] >> (1 - (index & 1)) * 4) & 0xf; in crc4_ti()
|
/Zephyr-latest/subsys/bluetooth/services/ots/ |
D | ots_obj_manager.c | 47 static uint64_t obj_index_to_id(uint64_t index) in obj_index_to_id() argument 50 if (index == 0) { in obj_index_to_id() 53 return BT_OTS_OBJ_ID_MIN + index - 1; in obj_index_to_id() 56 return BT_OTS_OBJ_ID_MIN + index; in obj_index_to_id() 156 uint64_t index; in bt_gatt_ots_obj_manager_obj_get() local 166 index = obj_id_to_index(id); in bt_gatt_ots_obj_manager_obj_get() 168 if (index >= ARRAY_SIZE(obj_manager->pool)) { in bt_gatt_ots_obj_manager_obj_get() 172 if (!obj_manager->pool[index].is_allocated) { in bt_gatt_ots_obj_manager_obj_get() 176 *object = &obj_manager->pool[index].val; in bt_gatt_ots_obj_manager_obj_get()
|
/Zephyr-latest/drivers/sensor/hc_sr04/ |
D | hc_sr04.c | 174 #define HC_SR04_INIT(index) \ argument 175 static struct hcsr04_data hcsr04_data_##index = { \ 176 .dev = DEVICE_DT_INST_GET(index), \ 180 static struct hcsr04_config hcsr04_config_##index = { \ 181 .trigger_gpios = GPIO_DT_SPEC_INST_GET(index, trigger_gpios), \ 182 .echo_gpios = GPIO_DT_SPEC_INST_GET(index, echo_gpios), \ 185 SENSOR_DEVICE_DT_INST_DEFINE(index, &hcsr04_init, NULL, &hcsr04_data_##index, \ 186 &hcsr04_config_##index, POST_KERNEL, \
|
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/ |
D | biquad_q15.c | 21 size_t index; in ZTEST() local 43 for (index = 0; index < 2; index++) { in ZTEST()
|
/Zephyr-latest/drivers/sensor/ti/ina3221/ |
D | ina3221.c | 276 #define INST_DT_INA3221(index) \ argument 277 static const struct ina3221_config ina3221_config_##index = { \ 278 .bus = I2C_DT_SPEC_INST_GET(index), \ 279 .avg_mode = DT_INST_PROP(index, avg_mode), \ 280 .conv_time_bus = DT_INST_PROP(index, conv_time_bus), \ 281 .conv_time_shunt = DT_INST_PROP(index, conv_time_shunt), \ 282 .enable_channel = DT_INST_PROP(index, enable_channel), \ 283 .shunt_r = DT_INST_PROP(index, shunt_resistors), \ 285 static struct ina3221_data ina3221_data_##index; \ 287 SENSOR_DEVICE_DT_INST_DEFINE(index, ina3221_init, NULL, &ina3221_data_##index, \ [all …]
|
/Zephyr-latest/drivers/dac/ |
D | dac_mcp4725.c | 138 #define INST_DT_MCP4725(index) \ argument 139 static const struct mcp4725_config mcp4725_config_##index = { \ 140 .i2c = I2C_DT_SPEC_INST_GET(index), \ 143 DEVICE_DT_INST_DEFINE(index, dac_mcp4725_init, \ 146 &mcp4725_config_##index, POST_KERNEL, \
|