Home
last modified time | relevance | path

Searched refs:IRQS_PER_BANK (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/irqchip/
H A Dirq-stm32-exti.c26 #define IRQS_PER_BANK 32 macro
175 #define STM32MP1_DESC_IRQ_SIZE (ARRAY_SIZE(stm32mp1_exti_banks) * IRQS_PER_BANK)
319 for (i = 0; i < nbanks; i++, irq_base += IRQS_PER_BANK) { in stm32_irq_handler()
323 for_each_set_bit(n, &pending, IRQS_PER_BANK) in stm32_irq_handler()
334 u32 mask = BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_set_type()
486 u32 val = BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_write_bit()
498 val |= BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_set_bit()
511 val &= ~BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_clr_bit()
601 u32 mask = BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_h_set_wake()
675 u32 mask = BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_h_retrigger()
[all …]
H A Dirq-bcm2835.c67 #define IRQS_PER_BANK 32 macro
118 if (WARN_ON(intspec[1] >= IRQS_PER_BANK)) in armctrl_xlate()
167 "bank %d irq %*pbl\n", b, IRQS_PER_BANK, &reg); in armctrl_of_init()