Lines Matching refs:idx
34 #define VEVIF_IRQN(idx, _) DT_INST_IRQ_BY_IDX(0, idx, irq) argument
43 uint8_t idx = channel - TASKS_IDX_MIN; in vevif_task_rx_isr() local
47 if (cbs.cb[idx] != NULL) { in vevif_task_rx_isr()
48 cbs.cb[idx](DEVICE_DT_INST_GET(0), channel, cbs.user_data[idx], NULL); in vevif_task_rx_isr()
68 uint8_t idx = id - TASKS_IDX_MIN; in vevif_task_rx_register_callback() local
74 cbs.cb[idx] = cb; in vevif_task_rx_register_callback()
75 cbs.user_data[idx] = user_data; in vevif_task_rx_register_callback()
83 uint8_t idx = id - TASKS_IDX_MIN; in vevif_task_rx_set_enabled() local
95 irq_enable(vevif_irqs[idx]); in vevif_task_rx_set_enabled()
102 irq_disable(vevif_irqs[idx]); in vevif_task_rx_set_enabled()
115 #define VEVIF_IRQ_CONNECT(idx, _) \ argument
116 IRQ_CONNECT(DT_INST_IRQ_BY_IDX(0, idx, irq), DT_INST_IRQ_BY_IDX(0, idx, priority), \
117 vevif_task_rx_isr, &vevif_irqs[idx], 0)
120 #define VEVIF_IRQ_FUN(idx, _) \ argument
121 ISR_DIRECT_DECLARE(vevif_task_##idx##_rx_isr) \
123 vevif_task_rx_isr(&vevif_irqs[idx]); \
129 #define VEVIF_IRQ_CONNECT(idx, _) \ argument
130 IRQ_DIRECT_CONNECT(DT_INST_IRQ_BY_IDX(0, idx, irq), DT_INST_IRQ_BY_IDX(0, idx, priority), \
131 vevif_task_##idx##_rx_isr, 0)