Lines Matching refs:IRQS_PER_BANK
21 #define IRQS_PER_BANK 32 macro
233 for (i = 0; i < nbanks; i++, irq_base += IRQS_PER_BANK) { in stm32_irq_handler()
237 for_each_set_bit(n, &pending, IRQS_PER_BANK) { in stm32_irq_handler()
250 u32 mask = BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_set_type()
390 u32 val = BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_write_bit()
402 val |= BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_set_bit()
415 val &= ~BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_clr_bit()
492 u32 mask = BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_h_set_wake()
581 bank = hwirq / IRQS_PER_BANK; in stm32_exti_h_domain_alloc()
683 domain = irq_domain_add_linear(node, drv_data->bank_nr * IRQS_PER_BANK, in stm32_exti_init()
692 ret = irq_alloc_domain_generic_chips(domain, IRQS_PER_BANK, 1, "exti", in stm32_exti_init()
707 gc = irq_get_domain_generic_chip(domain, i * IRQS_PER_BANK); in stm32_exti_init()
718 gc->wake_enabled = IRQ_MSK(IRQS_PER_BANK); in stm32_exti_init()
771 drv_data->bank_nr * IRQS_PER_BANK, in stm32_exti_hierarchy_init()