Lines Matching +full:is +full:- +full:wired
1 /*-
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
51 * For locking, we assume the caller is not concurrent since this is
74 /* First check to see if there is a table to walk. */ in prt_walk_table()
75 if (prt == NULL || prt->Pointer == NULL) in prt_walk_table()
79 prtptr = prt->Pointer; in prt_walk_table()
81 while (entry->Length != 0) { in prt_walk_table()
83 prtptr += entry->Length; in prt_walk_table()
96 if (entry->Source[0] == '\0') in prt_attach_devices()
103 if (entry->SourceIndex != 0) in prt_attach_devices()
108 if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, entry->Source, &handle))) in prt_attach_devices()
123 acpi_pci_link_add_reference(child, entry->SourceIndex, pcib, in prt_attach_devices()
124 ACPI_ADR_PCI_SLOT(entry->Address), entry->Pin); in prt_attach_devices()
136 * get it, this is not an error but may reduce functionality. There in acpi_pcib_fetch_prt()
138 * only warn about missing tables if bootverbose is set. in acpi_pcib_fetch_prt()
140 prt->Length = ACPI_ALLOCATE_BUFFER; in acpi_pcib_fetch_prt()
144 "could not get PCI interrupt routing table for %s - %s\n", in acpi_pcib_fetch_prt()
159 if (pr->pr_entry != NULL) in prt_lookup_device()
167 * is required by the specification to be 0xffff. We don't risk in prt_lookup_device()
170 if (ACPI_ADR_PCI_SLOT(entry->Address) == pr->pr_slot && in prt_lookup_device()
171 entry->Pin == pr->pr_pin) in prt_lookup_device()
172 pr->pr_entry = entry; in prt_lookup_device()
192 /* ACPI numbers pins 0-3, not 1-4 like the BIOS. */ in acpi_pcib_route_interrupt()
193 pin--; in acpi_pcib_route_interrupt()
212 if (prt->Source[0] != '\0') in acpi_pcib_route_interrupt()
213 printf(" (src %s:%u)", prt->Source, prt->SourceIndex); in acpi_pcib_route_interrupt()
218 * If source is empty/NULL, the source index is a global IRQ number in acpi_pcib_route_interrupt()
219 * and it's hard-wired so we're done. in acpi_pcib_route_interrupt()
221 * XXX: If the source index is non-zero, ignore the source device and in acpi_pcib_route_interrupt()
222 * assume that this is a hard-wired entry. in acpi_pcib_route_interrupt()
224 if (prt->Source[0] == '\0' || prt->SourceIndex != 0) { in acpi_pcib_route_interrupt()
227 pci_get_slot(dev), 'A' + pin, prt->SourceIndex); in acpi_pcib_route_interrupt()
228 if (prt->SourceIndex) { in acpi_pcib_route_interrupt()
229 interrupt = prt->SourceIndex; in acpi_pcib_route_interrupt()
233 device_printf(pcib, "error: invalid hard-wired IRQ of 0\n"); in acpi_pcib_route_interrupt()
240 if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, prt->Source, &lnkdev))) { in acpi_pcib_route_interrupt()
242 prt->Source); in acpi_pcib_route_interrupt()
246 prt->SourceIndex); in acpi_pcib_route_interrupt()