Home
last modified time | relevance | path

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

/arch/powerpc/platforms/4xx/
Dhsta_msi.c30 int *irq_map; member
58 hwirq = ppc4xx_hsta_msi.irq_map[irq]; in hsta_setup_msi_irqs()
97 if (ppc4xx_hsta_msi.irq_map[irq] == hwirq) in hsta_find_hwirq_offset()
155 ppc4xx_hsta_msi.irq_map = kmalloc_array(irq_count, sizeof(int), in hsta_msi_probe()
157 if (!ppc4xx_hsta_msi.irq_map) { in hsta_msi_probe()
164 ppc4xx_hsta_msi.irq_map[irq] = in hsta_msi_probe()
166 if (!ppc4xx_hsta_msi.irq_map[irq]) { in hsta_msi_probe()
180 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.c33 static unsigned char irq_map[][5] = { variable
77 return irq_map[slot][pin]; in pcibios_map_irq()
/arch/sparc/kernel/
Dirq_32.c118 struct irq_bucket *irq_map[SUN4D_MAX_IRQ]; variable
170 p->next = irq_map[pil]; in irq_link()
171 irq_map[pil] = p; in irq_link()
187 pnext = &irq_map[p->pil]; in irq_unlink()
227 p = irq_map[pil]; in handler_irq()
Dleon_pci_grpci1.c88 unsigned char irq_map[4]; /* GRPCI nexus PCI INTX# IRQs */ member
114 return priv->irq_map[pin]; in grpci1_map_irq()
381 generic_handle_irq(priv->irq_map[i]); in grpci1_pci_flow_irq()
640 priv->irq_map[0] = grpci1_build_device_irq(1); in grpci1_of_probe()
641 priv->irq_map[1] = grpci1_build_device_irq(2); in grpci1_of_probe()
642 priv->irq_map[2] = grpci1_build_device_irq(3); in grpci1_of_probe()
643 priv->irq_map[3] = grpci1_build_device_irq(4); in grpci1_of_probe()
647 priv->irq_map[0], priv->irq_map[1], priv->irq_map[2], in grpci1_of_probe()
648 priv->irq_map[3]); in grpci1_of_probe()
Dleon_pci_grpci2.c202 unsigned char irq_map[4]; member
231 return priv->irq_map[pin]; in grpci2_map_irq()
523 generic_handle_irq(priv->irq_map[i]); in grpci2_pci_flow_irq()
819 priv->irq_map[0] = grpci2_build_device_irq(1); in grpci2_of_probe()
820 priv->irq_map[1] = grpci2_build_device_irq(2); in grpci2_of_probe()
821 priv->irq_map[2] = grpci2_build_device_irq(3); in grpci2_of_probe()
822 priv->irq_map[3] = grpci2_build_device_irq(4); in grpci2_of_probe()
842 priv->irq_map[i] = ofdev->archdata.irqs[i]; in grpci2_of_probe()
844 priv->virq_err = priv->irq_map[0]; in grpci2_of_probe()
848 priv->virq_dma = priv->irq_map[0]; in grpci2_of_probe()
Dirq.h23 extern struct irq_bucket *irq_map[SUN4D_MAX_IRQ];
Dsun4d_irq.c134 p = irq_map[pil]; in sun4d_sbus_handler_irq()
173 p = irq_map[pil]; in sun4d_handler_irq()
Dleon_kernel.c64 p = irq_map[eirq]; in leon_handle_ext_irq()
/arch/nios2/kernel/
Dirq.c49 static int irq_map(struct irq_domain *h, unsigned int virq, in irq_map() function
58 .map = irq_map,
/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c855 struct kvmppc_irq_map *irq_map, in kvmppc_deliver_irq_passthru() argument
867 irq = irq_map->v_hwirq; in kvmppc_deliver_irq_passthru()
871 kvmppc_rm_handle_irq_desc(irq_map->desc); in kvmppc_deliver_irq_passthru()
890 icp_eoi(irq_desc_get_chip(irq_map->desc), irq_map->r_hwirq, xirr, in kvmppc_deliver_irq_passthru()
Dbook3s_hv_builtin.c396 struct kvmppc_irq_map *irq_map; in kvmppc_check_passthru() local
405 irq_map = get_irqmap(pimap, xisr); in kvmppc_check_passthru()
406 if (!irq_map) in kvmppc_check_passthru()
412 return kvmppc_deliver_irq_passthru(vcpu, xirr, irq_map, pimap, again); in kvmppc_check_passthru()
Dbook3s_hv.c5039 struct kvmppc_irq_map *irq_map; in kvmppc_set_passthru_irq() local
5097 irq_map = &pimap->mapped[i]; in kvmppc_set_passthru_irq()
5099 irq_map->v_hwirq = guest_gsi; in kvmppc_set_passthru_irq()
5100 irq_map->desc = desc; in kvmppc_set_passthru_irq()
5107 irq_map->r_hwirq = desc->irq_data.hwirq; in kvmppc_set_passthru_irq()
5117 irq_map->r_hwirq = 0; in kvmppc_set_passthru_irq()
/arch/powerpc/include/asm/
Dkvm_ppc.h625 struct kvmppc_irq_map *irq_map,