Lines Matching refs:irq_num
24 #define GET_IRQ_NUM(dev) (((const struct gpio_b91_config *)dev->config)->irq_num)
82 uint32_t irq_num; member
167 uint8_t irq_num = GET_IRQ_NUM(dev); in gpio_b91_irq_set() local
172 if (irq_num == IRQ_GPIO) { in gpio_b91_irq_set()
175 } else if (irq_num == IRQ_GPIO2_RISC0) { in gpio_b91_irq_set()
178 } else if (irq_num == IRQ_GPIO2_RISC1) { in gpio_b91_irq_set()
206 if (irq_num == IRQ_GPIO) { in gpio_b91_irq_set()
209 gpio_b91_irq_status_clr(irq_num); in gpio_b91_irq_set()
216 riscv_plic_irq_enable(irq_num); in gpio_b91_irq_set()
217 riscv_plic_set_priority(irq_num, irq_prioriy); in gpio_b91_irq_set()
548 .irq_num = DT_INST_IRQN(n), \