Lines Matching refs:newirq
1397 int i, pirq, newirq; in pcibios_lookup_irq() local
1459 newirq = dev->irq; in pcibios_lookup_irq()
1460 if (newirq && !((1 << newirq) & mask)) { in pcibios_lookup_irq()
1462 newirq = 0; in pcibios_lookup_irq()
1465 "%#x; try pci=usepirqmask\n", newirq, mask); in pcibios_lookup_irq()
1467 if (!newirq && assign) { in pcibios_lookup_irq()
1471 if (pirq_penalty[i] < pirq_penalty[newirq] && in pcibios_lookup_irq()
1473 newirq = i; in pcibios_lookup_irq()
1476 dev_dbg(&dev->dev, "PCI INT %c -> newirq %d", 'A' + dpin - 1, newirq); in pcibios_lookup_irq()
1489 } else if (newirq && r->set && in pcibios_lookup_irq()
1491 if (r->set(pirq_router_dev, dev, pirq, newirq)) { in pcibios_lookup_irq()
1493 r->lvl(pirq_router_dev, dev, pirq, newirq); in pcibios_lookup_irq()
1495 elcr_set_level_irq(newirq); in pcibios_lookup_irq()
1497 irq = newirq; in pcibios_lookup_irq()
1502 if (newirq && mask == (1 << newirq)) { in pcibios_lookup_irq()
1504 irq = newirq; in pcibios_lookup_irq()