Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-mips-gic.c578 irq_hw_number_t hwirq, base_hwirq; in gic_ipi_domain_alloc() local
581 base_hwirq = find_first_bit(ipi_available, gic_shared_intrs); in gic_ipi_domain_alloc()
582 if (base_hwirq == gic_shared_intrs) in gic_ipi_domain_alloc()
586 for (i = base_hwirq; i < nr_irqs; i++) { in gic_ipi_domain_alloc()
590 bitmap_clear(ipi_available, base_hwirq, nr_irqs); in gic_ipi_domain_alloc()
595 hwirq = GIC_SHARED_TO_HWIRQ(base_hwirq + i); in gic_ipi_domain_alloc()
622 bitmap_set(ipi_available, base_hwirq, nr_irqs); in gic_ipi_domain_alloc()
629 irq_hw_number_t base_hwirq; in gic_ipi_domain_free() local
636 base_hwirq = GIC_HWIRQ_TO_SHARED(irqd_to_hwirq(data)); in gic_ipi_domain_free()
637 bitmap_set(ipi_available, base_hwirq, nr_irqs); in gic_ipi_domain_free()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Docteon-irq.c1153 unsigned int base_hwirq; member
1271 line = (hw + gpiod->base_hwirq) >> 6; in octeon_irq_gpio_map()
1272 bit = (hw + gpiod->base_hwirq) & 63; in octeon_irq_gpio_map()
1585 unsigned int base_hwirq; in octeon_irq_init_gpio() local
1600 base_hwirq = v; in octeon_irq_init_gpio()
1614 base_hwirq = (v0 << 6) | v1; in octeon_irq_init_gpio()
1624 gpiod->base_hwirq = base_hwirq; in octeon_irq_init_gpio()