Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/irqchip/
Dirq-mips-gic.c572 irq_hw_number_t hwirq, base_hwirq; in gic_ipi_domain_alloc() local
575 base_hwirq = find_first_bit(ipi_available, gic_shared_intrs); in gic_ipi_domain_alloc()
576 if (base_hwirq == gic_shared_intrs) in gic_ipi_domain_alloc()
580 for (i = base_hwirq; i < nr_irqs; i++) { in gic_ipi_domain_alloc()
584 bitmap_clear(ipi_available, base_hwirq, nr_irqs); in gic_ipi_domain_alloc()
589 hwirq = GIC_SHARED_TO_HWIRQ(base_hwirq + i); in gic_ipi_domain_alloc()
616 bitmap_set(ipi_available, base_hwirq, nr_irqs); in gic_ipi_domain_alloc()
623 irq_hw_number_t base_hwirq; in gic_ipi_domain_free() local
630 base_hwirq = GIC_HWIRQ_TO_SHARED(irqd_to_hwirq(data)); in gic_ipi_domain_free()
631 bitmap_set(ipi_available, base_hwirq, nr_irqs); in gic_ipi_domain_free()
/Linux-v4.19/arch/mips/cavium-octeon/
Docteon-irq.c1143 unsigned int base_hwirq; member
1261 line = (hw + gpiod->base_hwirq) >> 6; in octeon_irq_gpio_map()
1262 bit = (hw + gpiod->base_hwirq) & 63; in octeon_irq_gpio_map()
1575 unsigned int base_hwirq; in octeon_irq_init_gpio() local
1590 base_hwirq = v; in octeon_irq_init_gpio()
1604 base_hwirq = (v0 << 6) | v1; in octeon_irq_init_gpio()
1614 gpiod->base_hwirq = base_hwirq; in octeon_irq_init_gpio()