Lines Matching full:pir
98 static MALLOC_DEFINE(M_PIR, "$PIR", "$PIR structures");
122 * We use PCI BIOS's PIR table if it's available. $PIR is the standard way
138 /* Look for $PIR and then _PIR. */ in pci_pir_open()
139 sigaddr = bios_sigsearch(0, "$PIR", 4, 16, 0); in pci_pir_open()
207 * Walk the $PIR executing the worker function for each valid intpin entry
239 "$PIR: Entry %d.%d.INT%c has different mask for link %#x, merging\n", in pci_pir_create_links()
295 "$PIR: Found matching pin for %d.%d.INT%c at func %d: %d\n", in pci_pir_search_irq()
322 "$PIR: Ignoring invalid BIOS IRQ %d from %d.%d.INT%c for link %#x\n", in pci_pir_initial_irqs()
330 * BIOS, even if it seems invalid from the $PIR entries. in pci_pir_initial_irqs()
335 "$PIR: Using invalid BIOS IRQ %d from %d.%d.INT%c for link %#x\n", in pci_pir_initial_irqs()
354 "$PIR: BIOS IRQ %d for %d.%d.INT%c is not valid for link %#x\n", in pci_pir_initial_irqs()
359 "$PIR: Preferring valid BIOS IRQ %d from %d.%d.INT%c for link %#x to IRQ %d\n", in pci_pir_initial_irqs()
366 "$PIR: BIOS IRQ %d for %d.%d.INT%c does not match link %#x irq %d\n", in pci_pir_initial_irqs()
372 * Parse $PIR to enumerate link devices and attempt to determine their
393 printf("$PIR: Links after initial probe:\n"); in pci_pir_parse()
404 printf("$PIR: Links after initial IRQ discovery:\n"); in pci_pir_parse()
424 "$PIR: Warning, IRQ %d for link %#x is not listed as valid\n", in pci_pir_parse()
431 printf("$PIR: Links after tunable overrides:\n"); in pci_pir_parse()
447 printf("$PIR: IRQs used by BIOS: "); in pci_pir_parse()
450 printf("$PIR: Interrupt Weights:\n[ "); in pci_pir_parse()
482 * Route a PCI interrupt using a link device from the $PIR.
502 printf("$PIR: No matching entry for %d.%d.INT%c\n", bus, in pci_pir_route_interrupt()
511 * check the set of PCI only interrupts from the $PIR. Third, in pci_pir_route_interrupt()
530 "$PIR: Failed to route interrupt for %d:%d INT%c\n", in pci_pir_route_interrupt()
544 printf("$PIR: ROUTE_INTERRUPT failed.\n"); in pci_pir_route_interrupt()
550 KASSERT(pir_device != NULL, ("missing pir device")); in pci_pir_route_interrupt()
555 printf("$PIR: %d:%d INT%c routed to irq %d\n", bus, device, in pci_pir_route_interrupt()
584 printf("$PIR: Found IRQ %d for link %#x from ", irq, in pci_pir_choose_irq()
631 * See if any interrupts for a given PCI bus are routed in the PIR. Don't
634 * only succeed if a host-PCI bridge has already attached and parsed the PIR.
650 * The driver for the new-bus pseudo device pir0 for the $PIR table.
666 KASSERT(pir_device == NULL, ("Multiple pir devices")); in pir_attach()
705 ("did not find matching entry for link %#x in the $PIR table", in pir_resume()
732 "pir",
737 DRIVER_MODULE(pir, legacy, pir_driver, 0, 0);