Home
last modified time | relevance | path

Searched refs:index (Results 51 – 75 of 767) sorted by relevance

12345678910>>...31

/Zephyr-latest/drivers/i2c/
Di2c_renesas_ra_iic.c492 #define I2C_RA_IIC_INIT(index) \ argument
494 PINCTRL_DT_INST_DEFINE(index); \
496 static void i2c_ra_iic_irq_config_func##index(const struct device *dev) \
498 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, rxi, irq)] = \
499 ELC_EVENT_IIC_RXI(DT_INST_PROP(index, channel)); \
500 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, txi, irq)] = \
501 ELC_EVENT_IIC_TXI(DT_INST_PROP(index, channel)); \
502 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, tei, irq)] = \
503 ELC_EVENT_IIC_TEI(DT_INST_PROP(index, channel)); \
504 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, eri, irq)] = \
[all …]
/Zephyr-latest/drivers/sensor/st/vl53l0x/
Dvl53l0x_platform.c22 VL53L0X_Error VL53L0X_WriteMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata, in VL53L0X_WriteMulti() argument
30 I2CBuffer[0] = index; in VL53L0X_WriteMulti()
43 VL53L0X_Error VL53L0X_ReadMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata, in VL53L0X_ReadMulti() argument
49 status_int = i2c_burst_read(Dev->i2c, Dev->I2cDevAddr, index, pdata, in VL53L0X_ReadMulti()
60 VL53L0X_Error VL53L0X_WrByte(VL53L0X_DEV Dev, uint8_t index, uint8_t data) in VL53L0X_WrByte() argument
65 status_int = i2c_reg_write_byte(Dev->i2c, Dev->I2cDevAddr, index, data); in VL53L0X_WrByte()
75 VL53L0X_Error VL53L0X_WrWord(VL53L0X_DEV Dev, uint8_t index, uint16_t data) in VL53L0X_WrWord() argument
81 I2CBuffer[0] = index; in VL53L0X_WrWord()
94 VL53L0X_Error VL53L0X_WrDWord(VL53L0X_DEV Dev, uint8_t index, uint32_t data) in VL53L0X_WrDWord() argument
100 I2CBuffer[0] = index; in VL53L0X_WrDWord()
[all …]
Dvl53l0x_platform.h78 VL53L0X_Error VL53L0X_WriteMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata,
90 VL53L0X_Error VL53L0X_ReadMulti(VL53L0X_DEV Dev, uint8_t index, uint8_t *pdata,
101 VL53L0X_Error VL53L0X_WrByte(VL53L0X_DEV Dev, uint8_t index, uint8_t data);
111 VL53L0X_Error VL53L0X_WrWord(VL53L0X_DEV Dev, uint8_t index, uint16_t data);
121 VL53L0X_Error VL53L0X_WrDWord(VL53L0X_DEV Dev, uint8_t index, uint32_t data);
131 VL53L0X_Error VL53L0X_RdByte(VL53L0X_DEV Dev, uint8_t index, uint8_t *data);
141 VL53L0X_Error VL53L0X_RdWord(VL53L0X_DEV Dev, uint8_t index, uint16_t *data);
151 VL53L0X_Error VL53L0X_RdDWord(VL53L0X_DEV Dev, uint8_t index, uint32_t *data);
165 VL53L0X_Error VL53L0X_UpdateByte(VL53L0X_DEV Dev, uint8_t index,
/Zephyr-latest/tests/lib/cmsis_dsp/fastmath/src/
Df16.c39 size_t index;
48 for (index = 0; index < length; index++) {
49 output[index] = arm_cos_f16(((float16_t *)in_angles)[index]);
69 size_t index;
78 for (index = 0; index < length; index++) {
79 output[index] = arm_sin_f16(((float16_t *)in_angles)[index]);
102 size_t index; in ZTEST() local
112 for (index = 0; index < length; index++) { in ZTEST()
114 ((float16_t *)in_sqrt)[index], &output[index]); in ZTEST()
117 if (((float16_t *)in_sqrt)[index] < 0.0f) { in ZTEST()
/Zephyr-latest/doc/connectivity/
Dindex.rst9 bluetooth/index.rst
10 canbus/index.rst
11 networking/index.rst
12 lora_lorawan/index.rst
13 usb/index.rst
/Zephyr-latest/drivers/sdhc/
Dsdhc_renesas_ra.c602 #define RA_SDMMC_IRQ_CONFIG_INIT(index) \ argument
606 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, accs, irq)] = \
607 ELC_EVENT_SDMMC_ACCS(DT_INST_PROP(index, channel)); \
608 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, card, irq)] = \
609 ELC_EVENT_SDMMC_CARD(DT_INST_PROP(index, channel)); \
610 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, dma_req, irq)] = \
611 ELC_EVENT_SDMMC_DMA_REQ(DT_INST_PROP(index, channel)); \
613 IRQ_CONNECT(DT_INST_IRQ_BY_NAME(index, accs, irq), \
614 DT_INST_IRQ_BY_NAME(index, accs, priority), ra_sdmmc_accs_isr, \
615 DEVICE_DT_INST_GET(index), 0); \
[all …]
/Zephyr-latest/samples/drivers/led/lp50xx/boards/
Dlpcxpresso11u68.overlay18 index = <0>;
26 index = <1>;
34 index = <2>;
42 index = <3>;
50 index = <4>;
58 index = <5>;
66 index = <6>;
74 index = <7>;
82 index = <8>;
90 index = <9>;
/Zephyr-latest/tests/lib/cmsis_dsp/svm/src/
Df16.c50 size_t index; in ZTEST() local
66 for (index = 0; index < sample_count; index++) { in ZTEST()
90 size_t index; in ZTEST() local
108 for (index = 0; index < sample_count; index++) { in ZTEST()
132 size_t index; in ZTEST() local
149 for (index = 0; index < sample_count; index++) { in ZTEST()
173 size_t index; in ZTEST() local
190 for (index = 0; index < sample_count; index++) { in ZTEST()
213 size_t index; in ZTEST() local
229 for (index = 0; index < sample_count; index++) { in ZTEST()
Df32.c50 size_t index; in ZTEST() local
66 for (index = 0; index < sample_count; index++) { in ZTEST()
90 size_t index; in ZTEST() local
108 for (index = 0; index < sample_count; index++) { in ZTEST()
132 size_t index; in ZTEST() local
149 for (index = 0; index < sample_count; index++) { in ZTEST()
173 size_t index; in ZTEST() local
190 for (index = 0; index < sample_count; index++) { in ZTEST()
213 size_t index; in ZTEST() local
229 for (index = 0; index < sample_count; index++) { in ZTEST()
/Zephyr-latest/drivers/watchdog/
Dwdt_cc13xx_cc26xx.c223 #define CC13XX_CC26XX_WDT_INIT(index) \ argument
224 static void wdt_cc13xx_cc26xx_irq_cfg_##index(void) \
226 if (DT_INST_PROP(index, interrupt_nmi)) { \
229 IRQ_CONNECT(DT_INST_IRQN(index), \
230 DT_INST_IRQ(index, priority), \
231 wdt_cc13xx_cc26xx_isr, DEVICE_DT_INST_GET(index), 0); \
232 irq_enable(DT_INST_IRQN(index)); \
234 static struct wdt_cc13xx_cc26xx_data wdt_cc13xx_cc26xx_data_##index = { \
240 static struct wdt_cc13xx_cc26xx_cfg wdt_cc13xx_cc26xx_cfg_##index = { \
241 .reg = DT_INST_REG_ADDR(index), \
[all …]
/Zephyr-latest/drivers/sensor/st/vl53l1x/
Dvl53l1_platform.h30 VL53L1_Error VL53L1_WriteMulti(VL53L1_Dev_t *pdev, uint16_t index,
42 VL53L1_Error VL53L1_ReadMulti(VL53L1_Dev_t *pdev, uint16_t index,
53 VL53L1_Error VL53L1_WrByte(VL53L1_Dev_t *pdev, uint16_t index, uint8_t data);
63 VL53L1_Error VL53L1_WrWord(VL53L1_Dev_t *pdev, uint16_t index, uint16_t data);
73 VL53L1_Error VL53L1_WrDWord(VL53L1_Dev_t *pdev, uint16_t index, uint32_t data);
83 VL53L1_Error VL53L1_RdByte(VL53L1_Dev_t *pdev, uint16_t index, uint8_t *pdata);
93 VL53L1_Error VL53L1_RdWord(VL53L1_Dev_t *pdev, uint16_t index, uint16_t *pdata);
103 VL53L1_Error VL53L1_RdDWord(VL53L1_Dev_t *pdev, uint16_t index, uint32_t *pdata);
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dhas_server.c20 static int select_cb(uint8_t index, bool sync) in select_cb() argument
22 printk("%s %u sync %d", __func__, index, sync); in select_cb()
27 static void name_changed_cb(uint8_t index, const char *name) in name_changed_cb() argument
29 printk("%s %u name %s", __func__, index, name); in name_changed_cb()
43 .index = PRESET_INDEX_UNIVERSAL, in has_server_preset_init()
49 .index = PRESET_INDEX_OUTDOOR, in has_server_preset_init()
55 .index = PRESET_INDEX_NOISY_ENV, in has_server_preset_init()
61 .index = PRESET_INDEX_OFFICE, in has_server_preset_init()
/Zephyr-latest/drivers/kscan/
Dkscan_input.c103 #define KSCAN_INPUT_INIT(index) \ argument
104 INPUT_CALLBACK_DEFINE_NAMED(DEVICE_DT_GET(DT_INST_PARENT(index)), \
106 (void *)DEVICE_DT_INST_GET(index), \
107 kscan_input_cb_##index); \
108 static const struct kscan_input_config kscan_input_config_##index = { \
109 .input_dev = DEVICE_DT_GET(DT_INST_PARENT(index)), \
111 static struct kscan_input_data kscan_input_data_##index; \
112 DEVICE_DT_INST_DEFINE(index, kscan_input_init, NULL, \
113 &kscan_input_data_##index, \
114 &kscan_input_config_##index, \
/Zephyr-latest/drivers/serial/
Duart_si32_usart.c355 #define SI32_USART_IRQ_HANDLER_DECL(index) \ argument
356 static void usart_si32_irq_config_func_##index(const struct device *dev);
357 #define SI32_USART_IRQ_HANDLER(index) \ argument
358 static void usart_si32_irq_config_func_##index(const struct device *dev) \
360 IRQ_CONNECT(DT_INST_IRQN(index), DT_INST_IRQ(index, priority), \
361 usart_si32_irq_handler, DEVICE_DT_INST_GET(index), 0); \
362 irq_enable(DT_INST_IRQN(index)); \
365 #define SI32_USART_IRQ_HANDLER_DECL(index) /* Not used */ argument
366 #define SI32_USART_IRQ_HANDLER(index) /* Not used */ argument
370 #define SI32_USART_IRQ_HANDLER_FUNC(index) .irq_config_func = usart_si32_irq_config_func_##index, argument
[all …]
/Zephyr-latest/scripts/kconfig/
Dkconfigfunctions.py167 def _node_reg_addr(node, index, unit): argument
174 if int(index) >= len(node.regs):
177 if node.regs[int(index)].addr is None:
180 return node.regs[int(index)].addr >> _dt_units_to_scale(unit)
183 def _node_reg_size(node, index, unit): argument
190 if int(index) >= len(node.regs):
193 if node.regs[int(index)].size is None:
196 return node.regs[int(index)].size >> _dt_units_to_scale(unit)
227 def _node_array_prop(node, prop, index=0, unit=None): argument
248 if int(index) >= len(node.props[prop].val):
[all …]
/Zephyr-latest/drivers/spi/
Dspi_renesas_ra.c679 #define RA_SPI_IRQ_CONFIG_INIT(index) \ argument
683 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, rxi, irq)] = \
684 ELC_EVENT_SPI_RXI(DT_INST_PROP(index, channel)); \
685 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, txi, irq)] = \
686 ELC_EVENT_SPI_TXI(DT_INST_PROP(index, channel)); \
687 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, tei, irq)] = \
688 ELC_EVENT_SPI_TEI(DT_INST_PROP(index, channel)); \
689 R_ICU->IELSR[DT_INST_IRQ_BY_NAME(index, eri, irq)] = \
690 ELC_EVENT_SPI_ERI(DT_INST_PROP(index, channel)); \
692 IRQ_CONNECT(DT_INST_IRQ_BY_NAME(index, rxi, irq), \
[all …]
/Zephyr-latest/arch/arc/core/mpu/
Darc_mpu_v6_internal.h75 static inline void _region_init(uint32_t index, uint32_t region_addr, in _region_init() argument
78 uint32_t bank = index / ARC_FEATURE_MPU_BANK_SIZE; in _region_init()
80 index = (index % ARC_FEATURE_MPU_BANK_SIZE) * 2U; in _region_init()
108 z_arc_v2_aux_reg_write(_ARC_V2_MPU_RDP0 + index, region_attr); in _region_init()
109 z_arc_v2_aux_reg_write(_ARC_V2_MPU_RDB0 + index, region_addr); in _region_init()
151 uint32_t index = (r_index % ARC_FEATURE_MPU_BANK_SIZE) * 2U; in _is_enabled_region() local
154 return ((z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDB0 + index) in _is_enabled_region()
167 uint32_t index = (r_index % ARC_FEATURE_MPU_BANK_SIZE) * 2U; in _is_in_region() local
170 r_addr_start = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDB0 + index) & (~AUX_MPU_RDB_VALID_MASK); in _is_in_region()
171 r_size_lshift = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDP0 + index) & AUX_MPU_RDP_SIZE_MASK; in _is_in_region()
[all …]
/Zephyr-latest/drivers/input/
Dinput_cap12xx.c212 #define CAP12XX_INIT(index) \ argument
213 IF_ENABLED(DT_INST_NODE_HAS_PROP(index, int_gpios), ( \
214 static struct gpio_dt_spec cap12xx_int_gpio_##index = \
215 GPIO_DT_SPEC_INST_GET(index, int_gpios);)) \
216 static const uint16_t cap12xx_input_codes_##index[] = DT_INST_PROP(index, input_codes); \
217 static const struct cap12xx_config cap12xx_config_##index = { \
218 .i2c = I2C_DT_SPEC_INST_GET(index), \
219 .input_channels = DT_INST_PROP_LEN(index, input_codes), \
220 .input_codes = cap12xx_input_codes_##index, \
221 IF_ENABLED(DT_INST_NODE_HAS_PROP(index, int_gpios), ( \
[all …]
Dinput_xpt2046.c237 #define XPT2046_INIT(index) \ argument
238 static const struct xpt2046_config xpt2046_config_##index = { \
240 index, SPI_OP_MODE_MASTER | SPI_TRANSFER_MSB | SPI_WORD_SET(8), 0), \
241 .int_gpio = GPIO_DT_SPEC_INST_GET(index, int_gpios), \
242 .min_x = DT_INST_PROP(index, min_x), \
243 .min_y = DT_INST_PROP(index, min_y), \
244 .max_x = DT_INST_PROP(index, max_x), \
245 .max_y = DT_INST_PROP(index, max_y), \
246 .threshold = DT_INST_PROP(index, z_threshold), \
247 .screen_size_x = DT_INST_PROP(index, touchscreen_size_x), \
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_mcux.c25 uint8_t index; member
70 PWM_StopTimer(config->base, 1U << config->index); in mcux_pwm_set_cycles_internal()
82 status = PWM_SetupPwm(config->base, config->index, in mcux_pwm_set_cycles_internal()
93 PWM_SetVALxValue(config->base, config->index, in mcux_pwm_set_cycles_internal()
96 PWM_SetVALxValue(config->base, config->index, in mcux_pwm_set_cycles_internal()
99 PWM_SetVALxValue(config->base, config->index, in mcux_pwm_set_cycles_internal()
101 PWM_SetVALxValue(config->base, config->index, in mcux_pwm_set_cycles_internal()
106 PWM_SetVALxValue(config->base, config->index, in mcux_pwm_set_cycles_internal()
109 PWM_SetVALxValue(config->base, config->index, in mcux_pwm_set_cycles_internal()
112 PWM_SetVALxValue(config->base, config->index, in mcux_pwm_set_cycles_internal()
[all …]
/Zephyr-latest/doc/
Dindex.rst29 <a href="introduction/index.html">
36 <a href="develop/getting_started/index.html">
43 <a href="samples/index.html">
50 <a href="boards/index.html">
57 <a href="hardware/index.html">
64 <a href="security/index.html">
71 <a href="services/index.html">
78 <a href="contribute/index.html">
98 introduction/index.rst
99 develop/index.rst
[all …]
/Zephyr-latest/arch/arm/core/mpu/
Darm_mpu_v8_internal.h23 int index; member
158 static void region_init(const uint32_t index, in region_init() argument
163 index, in region_init()
176 index, region_conf->base, region_conf->attr.rbar, in region_init()
247 static inline uint32_t mpu_region_get_base(const uint32_t index) in mpu_region_get_base() argument
249 mpu_set_rnr(index); in mpu_region_get_base()
253 static inline void mpu_region_set_base(const uint32_t index, const uint32_t base) in mpu_region_set_base() argument
255 mpu_set_rnr(index); in mpu_region_set_base()
260 static inline uint32_t mpu_region_get_last_addr(const uint32_t index) in mpu_region_get_last_addr() argument
262 mpu_set_rnr(index); in mpu_region_get_last_addr()
[all …]
Dnxp_mpu.c86 static void region_init(const uint32_t index, in region_init() argument
93 if (index == 0U) { in region_init()
101 __ASSERT(region_base == SYSMPU->WORD[index][0], in region_init()
103 index, region_base, (uint32_t)SYSMPU->WORD[index][0]); in region_init()
105 __ASSERT(region_end == SYSMPU->WORD[index][1], in region_init()
107 index, region_end, (uint32_t)SYSMPU->WORD[index][1]); in region_init()
112 SYSMPU->RGDAAC[index] = region_attr; in region_init()
115 SYSMPU->WORD[index][0] = region_base; in region_init()
116 SYSMPU->WORD[index][1] = region_end; in region_init()
117 SYSMPU->WORD[index][2] = region_attr; in region_init()
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/
Dbtp_has.h19 uint8_t index; member
25 uint8_t index; member
33 uint8_t index; member
39 uint8_t index; member
48 uint8_t index; member
56 uint8_t index; member
/Zephyr-latest/tests/lib/cmsis_dsp/interpolation/src/
Df32.c22 size_t index; in test_arm_linear_interp_f32() local
38 for (index = 0; index < length; index++) { in test_arm_linear_interp_f32()
39 output[index] = arm_linear_interp_f32(&inst, in test_arm_linear_interp_f32()
40 input[index]); in test_arm_linear_interp_f32()
61 size_t index; in test_arm_bilinear_interp_f32() local
76 for (index = 0; index < length; index++) { in test_arm_bilinear_interp_f32()
77 output[index] = arm_bilinear_interp_f32( in test_arm_bilinear_interp_f32()
79 input[2 * index], in test_arm_bilinear_interp_f32()
80 input[2 * index + 1] in test_arm_bilinear_interp_f32()

12345678910>>...31