Lines Matching refs:pr
271 struct pirq_routing pr; in create_pirq_routing_table() local
273 pr.bdf = fdt_addr_to_cpu(cell[0]); in create_pirq_routing_table()
274 pr.pin = fdt_addr_to_cpu(cell[1]); in create_pirq_routing_table()
275 pr.pirq = fdt_addr_to_cpu(cell[2]); in create_pirq_routing_table()
278 i, PCI_BUS(pr.bdf), PCI_DEV(pr.bdf), in create_pirq_routing_table()
279 PCI_FUNC(pr.bdf), 'A' + pr.pin - 1, in create_pirq_routing_table()
280 'A' + pr.pirq); in create_pirq_routing_table()
283 PCI_BUS(pr.bdf), PCI_DEV(pr.bdf)); in create_pirq_routing_table()
286 PCI_BUS(pr.bdf), PCI_DEV(pr.bdf)); in create_pirq_routing_table()
288 if (slot->irq[pr.pin - 1].link) { in create_pirq_routing_table()
298 if (slot->irq[pr.pin - 1].link != in create_pirq_routing_table()
299 pirq_linkno_to_reg(priv, pr.pirq)) in create_pirq_routing_table()
306 debug("writing INT%c\n", 'A' + pr.pin - 1); in create_pirq_routing_table()
307 fill_irq_info(priv, slot, PCI_BUS(pr.bdf), PCI_DEV(pr.bdf), in create_pirq_routing_table()
308 pr.pin, pr.pirq); in create_pirq_routing_table()