Lines Matching refs:newirq
885 int i, pirq, newirq; in pcibios_lookup_irq() local
945 newirq = dev->irq; in pcibios_lookup_irq()
946 if (newirq && !((1 << newirq) & mask)) { in pcibios_lookup_irq()
948 newirq = 0; in pcibios_lookup_irq()
951 "%#x; try pci=usepirqmask\n", newirq, mask); in pcibios_lookup_irq()
953 if (!newirq && assign) { in pcibios_lookup_irq()
957 if (pirq_penalty[i] < pirq_penalty[newirq] && in pcibios_lookup_irq()
959 newirq = i; in pcibios_lookup_irq()
962 dev_dbg(&dev->dev, "PCI INT %c -> newirq %d", 'A' + pin - 1, newirq); in pcibios_lookup_irq()
972 } else if (newirq && r->set && in pcibios_lookup_irq()
974 if (r->set(pirq_router_dev, dev, pirq, newirq)) { in pcibios_lookup_irq()
975 elcr_set_level_irq(newirq); in pcibios_lookup_irq()
977 irq = newirq; in pcibios_lookup_irq()
982 if (newirq && mask == (1 << newirq)) { in pcibios_lookup_irq()
984 irq = newirq; in pcibios_lookup_irq()