Home
last modified time | relevance | path

Searched refs:index (Results 101 – 125 of 767) sorted by relevance

12345678910>>...31

/Zephyr-latest/tests/application_development/code_relocation/src/
Dmain.c23 uint32_t index; in disable_mpu_rasr_xn() local
27 for (index = 0U; index < 8; index++) { in disable_mpu_rasr_xn()
28 MPU->RNR = index; in disable_mpu_rasr_xn()
/Zephyr-latest/scripts/ci/es_upload/
DREADME.md1 # ElasticSearch index map examples
4 index map examples for use by [upload_test_results_es.py](../upload_test_results_es.py)
8 An index map file allows to create destination index files on ElasticSearch server
13 An alternative way is to have index files created at the ElasticSearch server
33 Execute the upload script once for the first time to create your index at the ElasticSearch
36 python3 ./scripts/ci/upload_test_results_es.py --create-index \
37 --index YOUR_INDEX_NAME \
50 at Elasticsearch index.
60 Only one testsuite property object can be flattened this way per index upload.
61 All other testsuite objects will be treated according to the index structure.
[all …]
/Zephyr-latest/drivers/serial/
Duart_renesas_ra8_sci_b.c1010 #define UART_RA_SCI_B_IRQ_CONFIG_INIT(index) \ argument
1012 R_ICU->IELSR[DT_IRQ_BY_NAME(DT_INST_PARENT(index), rxi, irq)] = \
1013 ELC_EVENT_SCI_RXI(DT_INST_PROP(index, channel)); \
1014 R_ICU->IELSR[DT_IRQ_BY_NAME(DT_INST_PARENT(index), txi, irq)] = \
1015 ELC_EVENT_SCI_TXI(DT_INST_PROP(index, channel)); \
1016 R_ICU->IELSR[DT_IRQ_BY_NAME(DT_INST_PARENT(index), tei, irq)] = \
1017 ELC_EVENT_SCI_TEI(DT_INST_PROP(index, channel)); \
1018 R_ICU->IELSR[DT_IRQ_BY_NAME(DT_INST_PARENT(index), eri, irq)] = \
1019 ELC_EVENT_SCI_ERI(DT_INST_PROP(index, channel)); \
1021 IRQ_CONNECT(DT_IRQ_BY_NAME(DT_INST_PARENT(index), rxi, irq), \
[all …]
Duart_renesas_ra_sci.c1068 #define UART_RA_SCI_ASYNC_INIT(index) \ argument
1084 DT_IRQ_BY_NAME(DT_INST_PARENT(index), rxi, irq)}, \
1087 .p_info = &uart_ra_sci_data_##index.rx_transfer_info, \
1088 .p_extend = &uart_ra_sci_data_##index.rx_transfer_cfg_extend, \
1092 .p_ctrl = &uart_ra_sci_data_##index.rx_transfer_ctrl, \
1093 .p_cfg = &uart_ra_sci_data_##index.rx_transfer_cfg, \
1111 DT_IRQ_BY_NAME(DT_INST_PARENT(index), txi, irq)}, \
1114 .p_info = &uart_ra_sci_data_##index.tx_transfer_info, \
1115 .p_extend = &uart_ra_sci_data_##index.tx_transfer_cfg_extend, \
1118 .p_ctrl = &uart_ra_sci_data_##index.tx_transfer_ctrl, \
[all …]
Duart_stm32.c2221 #define UART_DMA_CHANNEL_INIT(index, dir, dir_cap, src_dev, dest_dev) \ argument
2222 .dma_dev = DEVICE_DT_GET(STM32_DMA_CTLR(index, dir)), \
2223 .dma_channel = DT_INST_DMAS_CELL_BY_NAME(index, dir, channel), \
2225 .dma_slot = STM32_DMA_SLOT(index, dir, slot),\
2227 STM32_DMA_CHANNEL_CONFIG(index, dir)),\
2229 STM32_DMA_CHANNEL_CONFIG(index, dir)), \
2231 STM32_DMA_CHANNEL_CONFIG(index, dir)),\
2233 STM32_DMA_CHANNEL_CONFIG(index, dir)),\
2240 STM32_DMA_CHANNEL_CONFIG(index, dir)), \
2242 STM32_DMA_CHANNEL_CONFIG(index, dir)), \
[all …]
/Zephyr-latest/soc/infineon/cat1b/cyw20829/
Dsoc.c67 uint32_t index; in disable_mpu_rasr_xn() local
73 for (index = 0U; index < 8; index++) { in disable_mpu_rasr_xn()
74 MPU->RNR = index; in disable_mpu_rasr_xn()
/Zephyr-latest/subsys/lorawan/services/
Dfrag_transport.c132 uint8_t index = frag_status >> 1; in frag_transport_package_callback() local
134 LOG_DBG("FragSessionStatusReq index %d, participants: %u", index, in frag_transport_package_callback()
149 (index << 6) | ((ctx.nb_frag_received >> 8) & 0x3F); in frag_transport_package_callback()
157 index, ctx.nb_frag_received, missing_frag, memory_error, in frag_transport_package_callback()
164 uint8_t index = frag_session >> 4; in frag_transport_package_callback() local
165 uint8_t status = index << 6; in frag_transport_package_callback()
167 if (!ctx.is_active || ctx.frag_index == index) { in frag_transport_package_callback()
183 index, ctx.nb_frag, ctx.frag_size, ctx.padding, ctx.control, in frag_transport_package_callback()
238 uint8_t index = rx_buf[rx_pos++] & 0x03; in frag_transport_package_callback() local
241 status |= index; in frag_transport_package_callback()
[all …]
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/
Dsbs_gauge.c301 #define _SBS_GAUGE_BATT_CUTOFF_CFG_VAR_NAME(index) sbs_gauge_batt_cutoff_cfg_##index argument
304 #define _SBS_GAUGE_CONFIG_DEFINE(index) \ argument
306 index) = { \
307 .reg = DT_INST_PROP(index, battery_cutoff_reg_addr), \
308 .payload = DT_INST_PROP(index, battery_cutoff_payload), \
309 .payload_size = DT_INST_PROP_LEN(index, battery_cutoff_payload), \
313 #define SBS_GAUGE_CONFIG_DEFINE(index) \ argument
314 COND_CODE_1(DT_INST_PROP(index, battery_cutoff_support), \
315 (_SBS_GAUGE_CONFIG_DEFINE(index)), (;))
318 #define SBS_GAUGE_GET_BATTERY_CONFIG_NAME(index) \ argument
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf5_dppi.h253 #define SW_SWITCH_TIMER_TASK_GROUP(index) \ argument
254 (SW_SWITCH_TIMER_TASK_GROUP_BASE + (index))
259 #define SW_SWITCH_TIMER_EVTS_COMP(index) \ argument
260 (SW_SWITCH_TIMER_EVTS_COMP_BASE + (index))
266 #define SW_SWITCH_TIMER_S2_EVTS_COMP(index) \ argument
267 (SW_SWITCH_TIMER_EVTS_COMP_S2_BASE + (index))
273 #define HAL_SW_DPPI_TASK_EN_FROM_IDX(index) \ argument
274 (NRF_DPPI_TASK_CHG0_EN + ((index) * (NRF_DPPI_TASK_CHG1_EN - NRF_DPPI_TASK_CHG0_EN)))
280 #define HAL_SW_DPPI_TASK_DIS_FROM_IDX(index) \ argument
281 (NRF_DPPI_TASK_CHG0_DIS + ((index) * (NRF_DPPI_TASK_CHG1_EN - NRF_DPPI_TASK_CHG0_EN)))
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_stm32.c842 #define PWM(index) DT_INST_PARENT(index) argument
845 #define IRQ_CONNECT_AND_ENABLE_BY_NAME(index, name) \ argument
847 IRQ_CONNECT(DT_IRQ_BY_NAME(PWM(index), name, irq), \
848 DT_IRQ_BY_NAME(PWM(index), name, priority), \
849 pwm_stm32_isr, DEVICE_DT_INST_GET(index), 0); \
850 irq_enable(DT_IRQ_BY_NAME(PWM(index), name, irq)); \
853 #define IRQ_CONNECT_AND_ENABLE_DEFAULT(index) \ argument
855 IRQ_CONNECT(DT_IRQN(PWM(index)), \
856 DT_IRQ(PWM(index), priority), \
857 pwm_stm32_isr, DEVICE_DT_INST_GET(index), 0); \
[all …]
Dpwm_renesas_ra.c495 #define PWM_RA_IRQ_CONFIG_INIT(index) \ argument
498 IRQ_CONNECT(DT_INST_IRQ_BY_NAME(index, gtioca, irq), \
499 DT_INST_IRQ_BY_NAME(index, gtioca, priority), \
501 IRQ_CONNECT(DT_INST_IRQ_BY_NAME(index, overflow, irq), \
502 DT_INST_IRQ_BY_NAME(index, overflow, priority), \
507 #define PWM_RA_IRQ_CONFIG_INIT(index) argument
510 #define PWM_RA8_INIT(index) \ argument
511 PINCTRL_DT_INST_DEFINE(index); \
512 static const gpt_extended_cfg_t g_timer1_extend_##index = { \
530 .capture_a_ipl = DT_INST_IRQ_BY_NAME(index, gtioca, priority), \
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_portfolio.c66 int index, avail = -1, i = 0, j = 0; in portfolio_create() local
69 for (index = 0; index < ARRAY_SIZE(inst); index++) { in portfolio_create()
70 if (inst[index].obj && inst[index].obj_inst_id == obj_inst_id) { in portfolio_create()
78 if (avail < 0 && !inst[index].obj) { in portfolio_create()
79 avail = index; in portfolio_create()
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/
Dbiquad_q31.c24 size_t index; in ZTEST() local
46 for (index = 0; index < 2; index++) { in ZTEST()
72 size_t index; in ZTEST() local
95 for (index = 0; index < 2; index++) { in ZTEST()
/Zephyr-latest/subsys/retention/
Dblinfo_mcuboot.c92 uint16_t index; in blinfo_handle_get() local
98 index = BLINFO_MODE; in blinfo_handle_get()
100 index = BLINFO_SIGNATURE_TYPE; in blinfo_handle_get()
102 index = BLINFO_RECOVERY; in blinfo_handle_get()
104 index = BLINFO_RUNNING_SLOT; in blinfo_handle_get()
106 index = BLINFO_BOOTLOADER_VERSION; in blinfo_handle_get()
108 index = BLINFO_MAX_APPLICATION_SIZE; in blinfo_handle_get()
113 return blinfo_lookup(index, val, val_len_max); in blinfo_handle_get()
/Zephyr-latest/subsys/sensing/
Dsensor_mgmt.c131 static uint32_t arbitrate_sensitivity(struct sensing_sensor *sensor, int index) in arbitrate_sensitivity() argument
139 sensor->dev->name, conn, index, in arbitrate_sensitivity()
140 conn->sensitivity[index]); in arbitrate_sensitivity()
144 if (conn->sensitivity[index] < min_sensitivity) { in arbitrate_sensitivity()
145 min_sensitivity = conn->sensitivity[index]; in arbitrate_sensitivity()
157 static int set_arbitrate_sensitivity(struct sensing_sensor *sensor, int index, uint32_t sensitivity) in set_arbitrate_sensitivity() argument
164 sensor->sensitivity[index] = sensitivity; in set_arbitrate_sensitivity()
174 static int config_sensitivity(struct sensing_sensor *sensor, int index) in config_sensitivity() argument
176 uint32_t sensitivity = arbitrate_sensitivity(sensor, index); in config_sensitivity()
179 sensor->dev->name, index, sensitivity); in config_sensitivity()
[all …]
/Zephyr-latest/drivers/adc/
Dadc_stm32.c1714 #define ADC_DMA_CHANNEL_INIT(index, src_dev, dest_dev) \ argument
1716 .dma_dev = DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_IDX(index, 0)), \
1717 .channel = DT_INST_DMAS_CELL_BY_IDX(index, 0, channel), \
1719 .dma_slot = STM32_DMA_SLOT_BY_IDX(index, 0, slot), \
1721 STM32_DMA_CHANNEL_CONFIG_BY_IDX(index, 0)), \
1723 STM32_DMA_CHANNEL_CONFIG_BY_IDX(index, 0)), \
1725 STM32_DMA_CHANNEL_CONFIG_BY_IDX(index, 0)), \
1729 STM32_DMA_CHANNEL_CONFIG_BY_IDX(index, 0)), \
1734 STM32_DMA_CHANNEL_CONFIG_BY_IDX(index, 0)), \
1736 STM32_DMA_CHANNEL_CONFIG_BY_IDX(index, 0)), \
[all …]
/Zephyr-latest/doc/build/kconfig/
Dpreprocessor-functions.rst35 $(dt_chosen_partition,addr_hex,<chosen>[,<index>,<unit>])
36 $(dt_chosen_partition,addr_int,<chosen>[,<index>,<unit>])
38 $(dt_chosen_reg_addr_hex,<property in /chosen>[,<index>,<unit>])
39 $(dt_chosen_reg_addr_int,<property in /chosen>[,<index>,<unit>])
40 $(dt_chosen_reg_size_hex,<property in /chosen>[,<index>,<unit>])
41 $(dt_chosen_reg_size_int,<property in /chosen>[,<index>,<unit>])
48 $(dt_node_array_prop_hex,<node path>,<prop>,<index>[,<unit>])
49 $(dt_node_array_prop_int,<node path>,<prop>,<index>[,<unit>])
56 $(dt_node_ph_array_prop_hex,<node path>,<prop>,<index>,<cell>[,<unit>])
57 $(dt_node_ph_array_prop_int,<node path>,<prop>,<index>,<cell>[,<unit>])
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/distance/src/
Df32.c36 size_t index; in test_arm_distance_f32() local
56 for (index = 0; index < length; index++) { in test_arm_distance_f32()
104 output[index] = val; in test_arm_distance_f32()
157 size_t index; in ZTEST() local
170 for (index = 0; index < length; index++) { in ZTEST()
172 output[index] = in ZTEST()
174 input1, input2, dims[index], dims_vec); in ZTEST()
Df16.c38 size_t index; in test_arm_distance_f16() local
58 for (index = 0; index < length; index++) { in test_arm_distance_f16()
106 output[index] = val; in test_arm_distance_f16()
171 size_t index; in ZTEST() local
184 for (index = 0; index < length; index++) { in ZTEST()
186 output[index] = in ZTEST()
188 input1, input2, dims[index], dims_vec); in ZTEST()
/Zephyr-latest/drivers/input/
Dinput_ili2132a.c130 #define ILI2132A_INIT(index) \ argument
131 static const struct ili2132a_config ili2132a_config_##index = { \
132 .i2c = I2C_DT_SPEC_INST_GET(index), \
133 .rst = GPIO_DT_SPEC_INST_GET(index, rst_gpios), \
134 .irq = GPIO_DT_SPEC_INST_GET(index, irq_gpios), \
136 static struct ili2132a_data ili2132a_data_##index; \
137 DEVICE_DT_INST_DEFINE(index, ili2132a_init, NULL, &ili2132a_data_##index, \
138 &ili2132a_config_##index, POST_KERNEL, CONFIG_INPUT_INIT_PRIORITY, \
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dtbs_client_test.c50 uint8_t index, uint8_t call_count, in tbs_client_call_states_cb() argument
53 if (index != 0) { in tbs_client_call_states_cb()
57 printk("Index %u\n", index); in tbs_client_call_states_cb()
63 call_index = call_states[0].index; in tbs_client_call_states_cb()
69 uint8_t index, in tbs_client_read_bearer_provider_name() argument
77 printk("Index %u\n", index); in tbs_client_read_bearer_provider_name()
391 static void test_signal_strength(uint8_t index) in test_signal_strength() argument
399 err = bt_tbs_client_read_signal_strength(default_conn, index); in test_signal_strength()
410 static void test_technology(uint8_t index) in test_technology() argument
418 err = bt_tbs_client_read_technology(default_conn, index); in test_technology()
[all …]
/Zephyr-latest/drivers/can/
Dcan_renesas_ra.c1075 #define CAN_RENESAS_RA_CHANNEL_IRQ_INIT(index) \ argument
1077 R_ICU->IELSR_b[DT_INST_IRQ_BY_NAME(index, rx, irq)].IELS = \
1078 ELC_EVENT_CAN_COMFRX(DT_INST_PROP(index, channel)); \
1079 R_ICU->IELSR_b[DT_INST_IRQ_BY_NAME(index, tx, irq)].IELS = \
1080 ELC_EVENT_CAN_TX(DT_INST_PROP(index, channel)); \
1081 R_ICU->IELSR_b[DT_INST_IRQ_BY_NAME(index, err, irq)].IELS = \
1082 ELC_EVENT_CAN_CHERR(DT_INST_PROP(index, channel)); \
1084 IRQ_CONNECT(DT_INST_IRQ_BY_NAME(index, rx, irq), \
1085 DT_INST_IRQ_BY_NAME(index, rx, priority), canfd_common_fifo_rx_isr, \
1087 IRQ_CONNECT(DT_INST_IRQ_BY_NAME(index, tx, irq), \
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dhas.c554 uint8_t index; member
576 if (preset->index < start_index) { in preset_foreach()
580 if (preset->index > end_index) { in preset_foreach()
604 if (tmp->index > preset->index) { in preset_insert()
619 static struct has_preset *preset_alloc(uint8_t index, enum bt_has_properties properties, in preset_alloc() argument
631 preset->index = index; in preset_alloc()
687 static struct has_preset *preset_lookup_index(uint8_t index) in preset_lookup_index() argument
692 if (preset->index == index) { in preset_lookup_index()
720 if (prev == NULL || prev->index >= preset->index) { in preset_get_prev_index()
724 return prev->index; in preset_get_prev_index()
[all …]
/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc5041_stepper_controller.c44 const uint8_t index; member
113 err = tmc5041_read(config->controller, TMC5041_SWMODE(config->index), &reg_value); in stallguard_enable()
124 err = tmc5041_read(config->controller, TMC5041_VACTUAL(config->index), in stallguard_enable()
141 err = tmc5041_write(config->controller, TMC5041_SWMODE(config->index), reg_value); in stallguard_enable()
194 err = tmc5041_read(stepper_config->controller, TMC5041_DRVSTATUS(stepper_config->index), in rampstat_work_handler()
204 TMC5041_RAMPMODE(stepper_config->index), in rampstat_work_handler()
214 err = tmc5041_read(stepper_config->controller, TMC5041_RAMPSTAT(stepper_config->index), in rampstat_work_handler()
268 err = tmc5041_read(config->controller, TMC5041_CHOPCONF(config->index), &reg_value); in tmc5041_stepper_enable()
279 err = tmc5041_write(config->controller, TMC5041_CHOPCONF(config->index), reg_value); in tmc5041_stepper_enable()
292 err = tmc5041_read(config->controller, TMC5041_DRVSTATUS(config->index), &reg_value); in tmc5041_stepper_is_moving()
[all …]
/Zephyr-latest/drivers/misc/devmux/
Ddevmux.c79 int index; in z_impl_devmux_select_get() local
88 index = data->selected; in z_impl_devmux_select_get()
91 return index; in z_impl_devmux_select_get()
102 int z_impl_devmux_select_set(struct device *dev, size_t index) in z_impl_devmux_select_set() argument
107 if (!devmux_device_is_valid(dev) || index >= config->n_devs) { in z_impl_devmux_select_set()
111 if (!device_is_ready(config->devs[index])) { in z_impl_devmux_select_set()
117 *dev = *config->devs[index]; in z_impl_devmux_select_set()
118 data->selected = index; in z_impl_devmux_select_set()
125 int z_vrfy_devmux_select_set(struct device *dev, size_t index) in z_vrfy_devmux_select_set() argument
127 return z_impl_devmux_select_set(dev, index); in z_vrfy_devmux_select_set()

12345678910>>...31