Home
last modified time | relevance | path

Searched refs:oirq (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/sysdev/
Dmpic_msi.c38 struct of_irq oirq; in mpic_msi_reserve_u3_hwirqs() local
57 while (of_irq_map_one(np, index++, &oirq) == 0) { in mpic_msi_reserve_u3_hwirqs()
58 ops->xlate(mpic->irqhost, NULL, oirq.specifier, in mpic_msi_reserve_u3_hwirqs()
59 oirq.size, &hwirq, &flags); in mpic_msi_reserve_u3_hwirqs()
/arch/powerpc/platforms/pseries/
Dras.c76 struct of_irq oirq; in request_ras_irqs() local
103 for (index = 0; of_irq_map_one(np, index, &oirq) == 0; in request_ras_irqs()
107 virqs[count] = irq_create_of_mapping(oirq.controller, in request_ras_irqs()
108 oirq.specifier, in request_ras_irqs()
109 oirq.size); in request_ras_irqs()
/arch/powerpc/platforms/
Dfsl_uli1575.c328 struct of_irq oirq; in hpcd_final_uli5288() local
340 of_irq_map_raw(hosenode, &pin, 1, laddr, &oirq); in hpcd_final_uli5288()
341 virq = irq_create_of_mapping(oirq.controller, oirq.specifier, in hpcd_final_uli5288()
342 oirq.size); in hpcd_final_uli5288()
/arch/powerpc/platforms/cell/
Dspu_manage.c181 struct of_irq oirq; in spu_map_interrupts() local
186 ret = of_irq_map_one(np, i, &oirq); in spu_map_interrupts()
192 pr_debug(" irq %d no 0x%x on %s\n", i, oirq.specifier[0], in spu_map_interrupts()
193 oirq.controller->full_name); in spu_map_interrupts()
194 spu->irqs[i] = irq_create_of_mapping(oirq.controller, in spu_map_interrupts()
195 oirq.specifier, oirq.size); in spu_map_interrupts()
204 pr_debug("failed to map irq %x for spu %s\n", *oirq.specifier, in spu_map_interrupts()
Dspider-pic.c241 struct of_irq oirq; in spider_find_cascade_and_node() local
242 if (of_irq_map_one(pic->host->of_node, 0, &oirq) == 0) { in spider_find_cascade_and_node()
243 virq = irq_create_of_mapping(oirq.controller, oirq.specifier, in spider_find_cascade_and_node()
244 oirq.size); in spider_find_cascade_and_node()
Dcelleb_scc_pciex.c496 struct of_irq oirq; in celleb_setup_pciex() local
517 if (of_irq_map_one(node, 1, &oirq)) { in celleb_setup_pciex()
521 virq = irq_create_of_mapping(oirq.controller, oirq.specifier, in celleb_setup_pciex()
522 oirq.size); in celleb_setup_pciex()
/arch/powerpc/kernel/
Dpci-common.c209 struct of_irq oirq; in pci_read_irq_line() local
229 memset(&oirq, 0xff, sizeof(oirq)); in pci_read_irq_line()
232 if (of_irq_map_pci(pci_dev, &oirq)) { in pci_read_irq_line()
258 oirq.size, oirq.specifier[0], oirq.specifier[1], in pci_read_irq_line()
259 oirq.controller ? oirq.controller->full_name : in pci_read_irq_line()
262 virq = irq_create_of_mapping(oirq.controller, oirq.specifier, in pci_read_irq_line()
263 oirq.size); in pci_read_irq_line()
Dirq.c726 struct of_irq oirq; in irq_of_parse_and_map() local
728 if (of_irq_map_one(dev, index, &oirq)) in irq_of_parse_and_map()
731 return irq_create_of_mapping(oirq.controller, oirq.specifier, in irq_of_parse_and_map()
732 oirq.size); in irq_of_parse_and_map()