Searched refs:IRQS_PER_BANK (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/irqchip/ |
| H A D | irq-stm32mp-exti.c | 24 #define IRQS_PER_BANK 32 macro 122 #define STM32MP_DESC_IRQ_SIZE (ARRAY_SIZE(stm32mp_exti_banks) * IRQS_PER_BANK) 244 u32 mask = BIT(d->hwirq % IRQS_PER_BANK); in stm32mp_exti_convert_type() 295 u32 val = BIT(d->hwirq % IRQS_PER_BANK); in stm32mp_exti_write_bit() 307 val |= BIT(d->hwirq % IRQS_PER_BANK); in stm32mp_exti_set_bit() 320 val &= ~BIT(d->hwirq % IRQS_PER_BANK); in stm32mp_exti_clr_bit() 406 u32 mask = BIT(d->hwirq % IRQS_PER_BANK); in stm32mp_exti_set_wake() 461 u32 mask = BIT(d->hwirq % IRQS_PER_BANK); in stm32mp_exti_retrigger() 508 if (hwirq >= host_data->drv_data->bank_nr * IRQS_PER_BANK) in stm32mp_exti_domain_alloc() 511 bank = hwirq / IRQS_PER_BANK; in stm32mp_exti_domain_alloc() [all …]
|
| H A D | irq-stm32-exti.c | 18 #define IRQS_PER_BANK 32 macro 127 for (i = 0; i < nbanks; i++, irq_base += IRQS_PER_BANK) { in stm32_irq_handler() 131 for_each_set_bit(n, &pending, IRQS_PER_BANK) in stm32_irq_handler() 142 u32 mask = BIT(d->hwirq % IRQS_PER_BANK); in stm32_exti_set_type() 338 domain = irq_domain_create_linear(of_fwnode_handle(node), drv_data->bank_nr * IRQS_PER_BANK, in stm32_exti_init() 347 ret = irq_alloc_domain_generic_chips(domain, IRQS_PER_BANK, 1, "exti", in stm32_exti_init() 362 gc = irq_get_domain_generic_chip(domain, i * IRQS_PER_BANK); in stm32_exti_init() 373 gc->wake_enabled = IRQ_MSK(IRQS_PER_BANK); in stm32_exti_init()
|
| H A D | irq-bcm2835.c | 67 #define IRQS_PER_BANK 32 macro 120 if (WARN_ON(intspec[1] >= IRQS_PER_BANK)) in armctrl_xlate() 169 "bank %d irq %*pbl\n", b, IRQS_PER_BANK, ®); in armctrl_of_init()
|