Home
last modified time | relevance | path

Searched refs:PCI_RES_BUS (Results 1 – 15 of 15) sorted by relevance

/NextBSD/sys/dev/acpica/
HDacpi_pcib_acpi.c100 #ifdef PCI_RES_BUS
124 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
245 #ifdef PCI_RES_BUS in acpi_pcib_producer_handler()
247 type = PCI_RES_BUS; in acpi_pcib_producer_handler()
285 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
291 rle = resource_list_find(&sc->ap_host_res.hr_rl, PCI_RES_BUS, 0); in first_decoded_bus()
306 #if defined(NEW_PCIB) && defined(PCI_RES_BUS) in acpi_pcib_acpi_attach()
422 #if defined(NEW_PCIB) && defined(PCI_RES_BUS) in acpi_pcib_acpi_attach()
601 #ifdef PCI_RES_BUS in acpi_pcib_acpi_alloc_resource()
602 if (type == PCI_RES_BUS) in acpi_pcib_acpi_alloc_resource()
[all …]
/NextBSD/sys/x86/x86/
HDmptable_pci.c108 #ifdef PCI_RES_BUS in mptable_hostb_alloc_resource()
109 if (type == PCI_RES_BUS) in mptable_hostb_alloc_resource()
149 #ifdef PCI_RES_BUS in mptable_hostb_adjust_resource()
150 if (type == PCI_RES_BUS) in mptable_hostb_adjust_resource()
177 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
/NextBSD/sys/dev/cardbus/
HDcardbus.c95 #ifdef PCI_RES_BUS in cardbus_attach()
101 #ifdef PCI_RES_BUS in cardbus_attach()
103 sc->sc_bus = bus_alloc_resource(cbdev, PCI_RES_BUS, &rid, in cardbus_attach()
118 #ifdef PCI_RES_BUS in cardbus_detach()
123 #ifdef PCI_RES_BUS in cardbus_detach()
126 (void)bus_release_resource(cbdev, PCI_RES_BUS, 0, sc->sc_bus); in cardbus_detach()
HDcardbusvar.h72 #ifdef PCI_RES_BUS
/NextBSD/sys/x86/pci/
HDpci_bus.c599 #if defined(NEW_PCIB) && defined(PCI_RES_BUS) in legacy_pcib_alloc_resource()
600 if (type == PCI_RES_BUS) in legacy_pcib_alloc_resource()
609 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
615 if (type == PCI_RES_BUS) in legacy_pcib_adjust_resource()
625 if (type == PCI_RES_BUS) in legacy_pcib_release_resource()
644 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
HDqpi.c241 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
247 if (type == PCI_RES_BUS) in qpi_pcib_alloc_resource()
275 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
/NextBSD/sys/dev/pccbb/
HDpccbb_pci.c281 #if !(defined(NEW_PCIB) && defined(PCI_RES_BUS)) in cbb_pci_attach()
299 #if defined(NEW_PCIB) && defined(PCI_RES_BUS) in cbb_pci_attach()
350 #if !(defined(NEW_PCIB) && defined(PCI_RES_BUS)) in cbb_pci_attach()
783 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
791 if (type == PCI_RES_BUS) in cbb_pci_alloc_resource()
805 if (type == PCI_RES_BUS) { in cbb_pci_adjust_resource()
821 if (type == PCI_RES_BUS) { in cbb_pci_release_resource()
928 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
/NextBSD/sys/dev/pci/
HDpci_pci.c137 #ifdef PCI_RES_BUS in pcib_is_resource_managed()
138 case PCI_RES_BUS: in pcib_is_resource_managed()
536 #ifdef PCI_RES_BUS
579 bus->res = bus_alloc_resource(dev, PCI_RES_BUS, &rid, 0ul, ~0ul, in pcib_setup_secbus()
586 bus->res = bus_alloc_resource(dev, PCI_RES_BUS, &rid, 0ul, ~0ul, in pcib_setup_secbus()
593 (void)bus_adjust_resource(dev, PCI_RES_BUS, bus->res, in pcib_setup_secbus()
643 error = bus_adjust_resource(bus->dev, PCI_RES_BUS, bus->res, in pcib_grow_subbus()
913 #if !(defined(NEW_PCIB) && defined(PCI_RES_BUS)) in pcib_attach_common()
945 #if !(defined(NEW_PCIB) && defined(PCI_RES_BUS)) in pcib_attach_common()
972 #if !(defined(NEW_PCIB) && defined(PCI_RES_BUS)) in pcib_attach_common()
[all …]
HDpcib_private.h89 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
133 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
HDpci.c95 #ifdef PCI_RES_BUS
131 #ifdef PCI_RES_BUS
373 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
3349 #if defined(NEW_PCIB) && defined(PCI_RES_BUS)
3426 resource_list_add(rl, PCI_RES_BUS, 0, 0ul, ~0ul, count); in pci_reserve_secbus()
3438 res = resource_list_reserve(rl, bus, dev, PCI_RES_BUS, &rid, in pci_reserve_secbus()
3484 if (resource_list_find(rl, PCI_RES_BUS, *rid) == NULL) in pci_alloc_secbus()
3485 resource_list_add(rl, PCI_RES_BUS, *rid, start, end, count); in pci_alloc_secbus()
3486 if (!resource_list_reserved(rl, PCI_RES_BUS, *rid)) { in pci_alloc_secbus()
3487 res = resource_list_reserve(rl, dev, child, PCI_RES_BUS, rid, in pci_alloc_secbus()
[all …]
HDpci_subr.c287 #ifdef PCI_RES_BUS
HDpci_private.h43 #ifdef PCI_RES_BUS
/NextBSD/sys/i386/include/
HDresource.h44 #define PCI_RES_BUS 5 /* PCI bus numbers */ macro
/NextBSD/sys/amd64/include/
HDresource.h44 #define PCI_RES_BUS 5 /* PCI bus numbers */ macro
/NextBSD/sys/arm/include/
HDresource.h46 #define PCI_RES_BUS 6 /* PCI bus numbers */ macro