Home
last modified time | relevance | path

Searched refs:irq_map (Results 1 – 11 of 11) sorted by relevance

/arch/mips/sgi-ip27/
Dip27-irqno.c12 static DECLARE_BITMAP(irq_map, NR_IRQS);
19 irq = find_first_zero_bit(irq_map, NR_IRQS); in allocate_irqno()
24 if (test_and_set_bit(irq, irq_map)) in allocate_irqno()
40 BUG_ON(test_and_set_bit(i, irq_map)); in alloc_legacy_irqno()
46 clear_bit(irq, irq_map); in free_irqno()
/arch/powerpc/sysdev/
Dppc4xx_hsta_msi.c34 int *irq_map; member
62 hwirq = ppc4xx_hsta_msi.irq_map[irq]; in hsta_setup_msi_irqs()
101 if (ppc4xx_hsta_msi.irq_map[irq] == hwirq) in hsta_find_hwirq_offset()
159 ppc4xx_hsta_msi.irq_map = kmalloc(sizeof(int) * irq_count, GFP_KERNEL); in hsta_msi_probe()
160 if (!ppc4xx_hsta_msi.irq_map) { in hsta_msi_probe()
167 ppc4xx_hsta_msi.irq_map[irq] = in hsta_msi_probe()
169 if (ppc4xx_hsta_msi.irq_map[irq] == NO_IRQ) { in hsta_msi_probe()
183 kfree(ppc4xx_hsta_msi.irq_map); in hsta_msi_probe()
/arch/mips/pci/
Dfixup-rc32434.c34 static int irq_map[2][12] = { variable
44 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)]; in pcibios_map_irq()
Dfixup-emma2rh.c46 static unsigned char irq_map[][5] __initdata = { variable
90 return irq_map[slot][pin]; in pcibios_map_irq()
/arch/sparc/kernel/
Dirq_32.c117 struct irq_bucket *irq_map[SUN4D_MAX_IRQ]; variable
169 p->next = irq_map[pil]; in irq_link()
170 irq_map[pil] = p; in irq_link()
186 pnext = &irq_map[p->pil]; in irq_unlink()
226 p = irq_map[pil]; in handler_irq()
Dleon_pci_grpci1.c87 unsigned char irq_map[4]; /* GRPCI nexus PCI INTX# IRQs */ member
113 return priv->irq_map[pin]; in grpci1_map_irq()
380 generic_handle_irq(priv->irq_map[i]); in grpci1_pci_flow_irq()
639 priv->irq_map[0] = grpci1_build_device_irq(1); in grpci1_of_probe()
640 priv->irq_map[1] = grpci1_build_device_irq(2); in grpci1_of_probe()
641 priv->irq_map[2] = grpci1_build_device_irq(3); in grpci1_of_probe()
642 priv->irq_map[3] = grpci1_build_device_irq(4); in grpci1_of_probe()
646 priv->irq_map[0], priv->irq_map[1], priv->irq_map[2], in grpci1_of_probe()
647 priv->irq_map[3]); in grpci1_of_probe()
Dleon_pci_grpci2.c201 unsigned char irq_map[4]; member
230 return priv->irq_map[pin]; in grpci2_map_irq()
522 generic_handle_irq(priv->irq_map[i]); in grpci2_pci_flow_irq()
818 priv->irq_map[0] = grpci2_build_device_irq(1); in grpci2_of_probe()
819 priv->irq_map[1] = grpci2_build_device_irq(2); in grpci2_of_probe()
820 priv->irq_map[2] = grpci2_build_device_irq(3); in grpci2_of_probe()
821 priv->irq_map[3] = grpci2_build_device_irq(4); in grpci2_of_probe()
841 priv->irq_map[i] = ofdev->archdata.irqs[i]; in grpci2_of_probe()
843 priv->virq_err = priv->irq_map[0]; in grpci2_of_probe()
847 priv->virq_dma = priv->irq_map[0]; in grpci2_of_probe()
Dirq.h22 extern struct irq_bucket *irq_map[SUN4D_MAX_IRQ];
Dsun4d_irq.c133 p = irq_map[pil]; in sun4d_sbus_handler_irq()
172 p = irq_map[pil]; in sun4d_handler_irq()
Dleon_kernel.c63 p = irq_map[eirq]; in leon_handle_ext_irq()
/arch/nios2/kernel/
Dirq.c62 static int irq_map(struct irq_domain *h, unsigned int virq, in irq_map() function
71 .map = irq_map,