Lines Matching refs:irq_num
279 int irq_num = gpio_eos_s3_get_irq_num(pad_config.ucPin); in gpio_eos_s3_pin_interrupt_configure() local
281 if (irq_num < 0) { in gpio_eos_s3_pin_interrupt_configure()
286 INTR_CTRL->GPIO_INTR_EN_M4 &= ~BIT((uint32_t)irq_num); in gpio_eos_s3_pin_interrupt_configure()
289 data->gpio_irqs[irq_num] = DISABLED_GPIO_IRQ; in gpio_eos_s3_pin_interrupt_configure()
292 INTR_CTRL->GPIO_INTR_TYPE &= ~((uint32_t)(BIT(irq_num))); in gpio_eos_s3_pin_interrupt_configure()
293 INTR_CTRL->GPIO_INTR_POL &= ~((uint32_t)(BIT(irq_num))); in gpio_eos_s3_pin_interrupt_configure()
320 int irq_num = HAL_GPIO_IntrCfg(&gpio_cfg); in gpio_eos_s3_pin_interrupt_configure() local
322 if (irq_num < 0) { in gpio_eos_s3_pin_interrupt_configure()
327 data->gpio_irqs[irq_num] = gpio_num; in gpio_eos_s3_pin_interrupt_configure()
330 INTR_CTRL->GPIO_INTR |= BIT((uint32_t)irq_num); in gpio_eos_s3_pin_interrupt_configure()
333 INTR_CTRL->GPIO_INTR_EN_M4 |= BIT((uint32_t)irq_num); in gpio_eos_s3_pin_interrupt_configure()
351 for (int irq_num = 0; irq_num < MAX_GPIOS; irq_num++) { in gpio_eos_s3_isr() local
352 if (data->gpio_irqs[irq_num] != DISABLED_GPIO_IRQ) { in gpio_eos_s3_isr()
354 dev, BIT(data->gpio_irqs[irq_num])); in gpio_eos_s3_isr()