Lines Matching refs:N
61 #define DEV_INIT(N) \ argument
62 IRQ_CONNECT(DT_INST_IRQN(N), 0, intc_isr, DEVICE_DT_INST_GET(N), 0); \
63 dev_init(DEVICE_DT_INST_GET(N));
73 #define DEF_DEV(N) \ argument
74 static const struct intc_mtk_cfg dev_cfg##N = { \
75 .xtensa_irq = DT_INST_IRQN(N), \
76 .irq_mask = DT_INST_PROP(N, mask), \
77 .sw_isr_off = (N + 1) * 32, \
78 .enable_reg = (void *)DT_INST_REG_ADDR(N), \
79 .status_reg = (void *)DT_INST_PROP(N, status_reg) }; \
80 DEVICE_DT_INST_DEFINE(N, NULL, NULL, NULL, &dev_cfg##N, PRE_KERNEL_1, 0, NULL);