Lines Matching refs:newirq
883 int i, pirq, newirq; in pcibios_lookup_irq() local
943 newirq = dev->irq; in pcibios_lookup_irq()
944 if (newirq && !((1 << newirq) & mask)) { in pcibios_lookup_irq()
946 newirq = 0; in pcibios_lookup_irq()
949 "%#x; try pci=usepirqmask\n", newirq, mask); in pcibios_lookup_irq()
951 if (!newirq && assign) { in pcibios_lookup_irq()
955 if (pirq_penalty[i] < pirq_penalty[newirq] && in pcibios_lookup_irq()
957 newirq = i; in pcibios_lookup_irq()
960 dev_dbg(&dev->dev, "PCI INT %c -> newirq %d", 'A' + pin - 1, newirq); in pcibios_lookup_irq()
970 } else if (newirq && r->set && in pcibios_lookup_irq()
972 if (r->set(pirq_router_dev, dev, pirq, newirq)) { in pcibios_lookup_irq()
973 eisa_set_level_irq(newirq); in pcibios_lookup_irq()
975 irq = newirq; in pcibios_lookup_irq()
980 if (newirq && mask == (1 << newirq)) { in pcibios_lookup_irq()
982 irq = newirq; in pcibios_lookup_irq()