Home
last modified time | relevance | path

Searched refs:DT_IRQ_BY_IDX (Results 1 – 25 of 33) sorted by relevance

12

/Zephyr-latest/include/zephyr/drivers/timer/
Darm_arch_timer.h16 #define ARM_TIMER_SECURE_IRQ DT_IRQ_BY_IDX(ARM_TIMER_NODE, 0, irq)
17 #define ARM_TIMER_NON_SECURE_IRQ DT_IRQ_BY_IDX(ARM_TIMER_NODE, 1, irq)
18 #define ARM_TIMER_VIRTUAL_IRQ DT_IRQ_BY_IDX(ARM_TIMER_NODE, 2, irq)
19 #define ARM_TIMER_HYP_IRQ DT_IRQ_BY_IDX(ARM_TIMER_NODE, 3, irq)
21 #define ARM_TIMER_SECURE_PRIO DT_IRQ_BY_IDX(ARM_TIMER_NODE, 0,\
23 #define ARM_TIMER_NON_SECURE_PRIO DT_IRQ_BY_IDX(ARM_TIMER_NODE, 1,\
25 #define ARM_TIMER_VIRTUAL_PRIO DT_IRQ_BY_IDX(ARM_TIMER_NODE, 2,\
27 #define ARM_TIMER_HYP_PRIO DT_IRQ_BY_IDX(ARM_TIMER_NODE, 3,\
30 #define ARM_TIMER_SECURE_FLAGS DT_IRQ_BY_IDX(ARM_TIMER_NODE, 0, flags)
31 #define ARM_TIMER_NON_SECURE_FLAGS DT_IRQ_BY_IDX(ARM_TIMER_NODE, 1, flags)
[all …]
/Zephyr-latest/soc/espressif/esp32/
Desp32-mp.c264 esp_intr_alloc(DT_IRQ_BY_IDX(DT_NODELABEL(ipi0), 0, irq), in arch_cpu_start()
265 ESP_PRIO_TO_FLAGS(DT_IRQ_BY_IDX(DT_NODELABEL(ipi0), 0, priority)) | in arch_cpu_start()
266 ESP_INT_FLAGS_CHECK(DT_IRQ_BY_IDX(DT_NODELABEL(ipi0), 0, flags)) | in arch_cpu_start()
272 esp_intr_alloc(DT_IRQ_BY_IDX(DT_NODELABEL(ipi1), 0, irq), in arch_cpu_start()
273 ESP_PRIO_TO_FLAGS(DT_IRQ_BY_IDX(DT_NODELABEL(ipi1), 0, priority)) | in arch_cpu_start()
274 ESP_INT_FLAGS_CHECK(DT_IRQ_BY_IDX(DT_NODELABEL(ipi1), 0, flags)) | in arch_cpu_start()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_nxp_pint.c194 IRQ_CONNECT(DT_IRQ_BY_IDX(node_id, idx, irq), \
195 DT_IRQ_BY_IDX(node_id, idx, priority), \
197 irq_enable(DT_IRQ_BY_IDX(node_id, idx, irq)); \
198 pint_irq_cfg[idx].irq = DT_IRQ_BY_IDX(node_id, idx, irq); \
Dintc_exti_stm32.c211 DT_IRQ_BY_IDX(node_id, idx, irq)); \
212 IRQ_CONNECT(DT_IRQ_BY_IDX(node_id, idx, irq), \
213 DT_IRQ_BY_IDX(node_id, idx, priority), \
Dintc_gpio_stm32wb0.c158 DT_IRQ_BY_IDX(node, pidx, priority), \
/Zephyr-latest/drivers/timer/
Desp32_sys_timer.c148 ret = esp_intr_alloc(DT_IRQ_BY_IDX(DT_NODELABEL(systimer0), 0, irq), in sys_clock_driver_init()
149 ESP_PRIO_TO_FLAGS(DT_IRQ_BY_IDX(DT_NODELABEL(systimer0), 0, priority)) | in sys_clock_driver_init()
150 ESP_INT_FLAGS_CHECK(DT_IRQ_BY_IDX(DT_NODELABEL(systimer0), 0, flags)), in sys_clock_driver_init()
Dite_it8xxx2_timer.c44 const int32_t z_sys_timer_irq_for_test = DT_IRQ_BY_IDX(DT_NODELABEL(timer), 5, irq);
57 #define ONE_SHOT_TIMER_IRQ DT_IRQ_BY_IDX(DT_NODELABEL(twd0), 1, irq)
58 #define ONE_SHOT_TIMER_FLAG DT_IRQ_BY_IDX(DT_NODELABEL(twd0), 1, flags)
/Zephyr-latest/drivers/misc/nxp_s32_emios/
Dnxp_s32_emios.c108 IRQ_CONNECT(DT_IRQ_BY_IDX(node_id, idx, irq), \
109 DT_IRQ_BY_IDX(node_id, idx, priority), \
113 irq_enable(DT_IRQ_BY_IDX(node_id, idx, irq)); \
/Zephyr-latest/drivers/xen/
Devents.c282 IRQ_CONNECT(DT_IRQ_BY_IDX(DT_INST(0, xen_xen), 0, irq), in xen_events_init()
283 DT_IRQ_BY_IDX(DT_INST(0, xen_xen), 0, priority), events_isr, in xen_events_init()
284 NULL, DT_IRQ_BY_IDX(DT_INST(0, xen_xen), 0, flags)); in xen_events_init()
286 irq_enable(DT_IRQ_BY_IDX(DT_INST(0, xen_xen), 0, irq)); in xen_events_init()
/Zephyr-latest/drivers/watchdog/
Dwdt_esp32.c199 .irq_source = DT_IRQ_BY_IDX(DT_NODELABEL(wdt##idx), 0, irq), \
200 .irq_priority = DT_IRQ_BY_IDX(DT_NODELABEL(wdt##idx), 0, priority), \
201 .irq_flags = DT_IRQ_BY_IDX(DT_NODELABEL(wdt##idx), 0, flags), \
/Zephyr-latest/drivers/counter/
Dcounter_rpi_pico_timer.c209 IRQ_CONNECT((DT_IRQ_BY_IDX(node_id, idx, irq)), \
210 (DT_IRQ_BY_IDX(node_id, idx, priority)), hardware_alarm_irq_handler, \
212 irq_enable((DT_IRQ_BY_IDX(node_id, idx, irq))); \
/Zephyr-latest/drivers/mbox/
Dmbox_andes_plic_sw.c119 const uint32_t irq = DT_IRQ_BY_IDX(node, idx, irq); \
138 [DT_IRQ_BY_IDX(node, idx, irq)] = DT_IRQN_BY_IDX(node, idx)
/Zephyr-latest/drivers/gpio/
Dgpio_rzt2m.c407 IRQ_CONNECT(DT_IRQ_BY_IDX(DT_INST(0, renesas_rzt2m_gpio_common), irq_n, irq), \
408 DT_IRQ_BY_IDX(DT_INST(0, renesas_rzt2m_gpio_common), irq_n, priority), \
410 DT_IRQ_BY_IDX(DT_INST(0, renesas_rzt2m_gpio_common), irq_n, flags)) \
411 irq_enable(DT_IRQ_BY_IDX(DT_INST(0, renesas_rzt2m_gpio_common), irq_n, irq));
Dgpio_esp32.c483 int ret = esp_intr_alloc(DT_IRQ_BY_IDX(DT_NODELABEL(gpio0), 0, irq), in gpio_esp32_init()
484 ESP_PRIO_TO_FLAGS(DT_IRQ_BY_IDX(DT_NODELABEL(gpio0), 0, priority)) | in gpio_esp32_init()
485 ESP_INT_FLAGS_CHECK(DT_IRQ_BY_IDX(DT_NODELABEL(gpio0), 0, flags)), in gpio_esp32_init()
Dgpio_renesas_ra.c399 .irq = DT_IRQ_BY_IDX(n, i, irq), \
400 .flags = DT_IRQ_BY_IDX(n, i, flags), \
401 .priority = DT_IRQ_BY_IDX(n, i, priority), \
Dgpio_renesas_rz.c432 gpio_rz_tint_isr(DT_IRQ_BY_IDX(node_id, irq_num, irq), param); \
439 IRQ_CONNECT(DT_IRQ_BY_IDX(node_id, irq_num, irq), \
440 DT_IRQ_BY_IDX(node_id, irq_num, priority), rz_gpio_isr_##irq_num, \
/Zephyr-latest/drivers/input/
Dinput_esp32_touch_sensor.c275 flags = ESP_PRIO_TO_FLAGS(DT_IRQ_BY_IDX(DT_NODELABEL(touch), 0, priority)) |
276 ESP_INT_FLAGS_CHECK(DT_IRQ_BY_IDX(DT_NODELABEL(touch), 0, flags)) |
278 err = esp_intr_alloc(DT_IRQ_BY_IDX(DT_NODELABEL(touch), 0, irq), flags, esp32_touch_rtc_isr,
/Zephyr-latest/drivers/ethernet/
Deth_esp32.c264 res = esp_intr_alloc(DT_IRQ_BY_IDX(DT_NODELABEL(eth), 0, irq), in eth_esp32_initialize()
265 ESP_PRIO_TO_FLAGS(DT_IRQ_BY_IDX(DT_NODELABEL(eth), 0, priority)) | in eth_esp32_initialize()
266 ESP_INT_FLAGS_CHECK(DT_IRQ_BY_IDX(DT_NODELABEL(eth), 0, flags)) | in eth_esp32_initialize()
/Zephyr-latest/drivers/virtualization/
Dvirt_ivshmem.c561 .irq = DT_IRQ_BY_IDX(DT_DRV_INST(drv_idx), intx_idx, irq), \
562 .priority = DT_IRQ_BY_IDX(DT_DRV_INST(drv_idx), intx_idx, priority), \
563 .flags = DT_IRQ_BY_IDX(DT_DRV_INST(drv_idx), intx_idx, flags), \
/Zephyr-latest/drivers/serial/
Duart_pl011.c631 IRQ_CONNECT(DT_IRQ_BY_IDX(n, i, irq), \
632 DT_IRQ_BY_IDX(n, i, priority), \
636 irq_enable(DT_IRQ_BY_IDX(n, i, irq)); \
/Zephyr-latest/drivers/pwm/
Dpwm_mcux_ftm.c533 IRQ_CONNECT(DT_IRQ_BY_IDX(node_id, idx, irq), \
534 DT_IRQ_BY_IDX(node_id, idx, priority), \
538 irq_enable(DT_IRQ_BY_IDX(node_id, idx, irq)); \
/Zephyr-latest/drivers/dma/
Ddma_mchp_xec.c790 IRQ_CONNECT(DT_IRQ_BY_IDX(node_id, i, irq), \
791 DT_IRQ_BY_IDX(node_id, i, priority), \
794 irq_enable(DT_IRQ_BY_IDX(node_id, i, irq)); \
/Zephyr-latest/include/zephyr/
Ddevicetree.h2668 #define DT_IRQ_BY_IDX(node_id, idx, cell) \ macro
2696 #define DT_IRQ(node_id, cell) DT_IRQ_BY_IDX(node_id, 0, cell)
2837 #define DT_IRQN_L1_INTERNAL(node_id, idx) DT_IRQ_BY_IDX(node_id, idx, irq)
2872 (DT_IRQ_BY_IDX(node_id, idx, irq)))
4555 DT_IRQ_BY_IDX(DT_DRV_INST(inst), idx, cell)
/Zephyr-latest/drivers/i2c/
Di2c_esp32.c836 .irq_source = DT_IRQ_BY_IDX(I2C(idx), 0, irq), \
837 .irq_priority = DT_IRQ_BY_IDX(I2C(idx), 0, priority), \
838 .irq_flags = DT_IRQ_BY_IDX(I2C(idx), 0, flags), \
/Zephyr-latest/drivers/can/
Dcan_nxp_s32_canxl.c1134 IRQ_CONNECT(DT_IRQ_BY_IDX(node_id, idx, irq), \
1135 DT_IRQ_BY_IDX(node_id, idx, priority), \
1139 DT_IRQ_BY_IDX(node_id, idx, flags)); \
1140 irq_enable(DT_IRQ_BY_IDX(node_id, idx, irq)); \

12