/freebsd/sys/dev/pci/ |
H A D | pci_host_generic.c | 426 case PCI_RES_BUS: in pci_host_generic_core_release_resource() 514 case PCI_RES_BUS: in pci_host_generic_core_alloc_resource() 543 case PCI_RES_BUS: in generic_pcie_activate_resource() 561 case PCI_RES_BUS: in generic_pcie_deactivate_resource() 579 case PCI_RES_BUS: in generic_pcie_adjust_resource() 603 case PCI_RES_BUS: in generic_pcie_map_resource() 640 case PCI_RES_BUS: in generic_pcie_unmap_resource()
|
H A D | pci_pci.c | 181 if (rman_get_type(r) == PCI_RES_BUS) in pcib_is_resource_managed() 648 bus->res = bus_alloc_resource_anywhere(dev, PCI_RES_BUS, &rid, in pcib_setup_secbus() 655 bus->res = bus_alloc_resource_anywhere(dev, PCI_RES_BUS, &rid, in pcib_setup_secbus() 662 (void)bus_adjust_resource(dev, PCI_RES_BUS, bus->res, in pcib_setup_secbus() 691 error = bus_free_resource(dev, PCI_RES_BUS, bus->res); in pcib_free_secbus() 714 rman_set_type(res, PCI_RES_BUS); in pcib_suballoc_bus() 731 error = bus_adjust_resource(bus->dev, PCI_RES_BUS, bus->res, in pcib_grow_subbus() 2045 case PCI_RES_BUS: in pcib_alloc_resource() 2127 if (type == PCI_RES_BUS) { in pcib_adjust_resource()
|
H A D | pci_subr.c | 345 rman_set_type(res, PCI_RES_BUS); in pci_domain_alloc_bus()
|
H A D | pci.c | 3870 resource_list_add(rl, PCI_RES_BUS, 0, 0, ~0, count); in pci_reserve_secbus() 3882 res = resource_list_reserve(rl, bus, dev, PCI_RES_BUS, &rid, in pci_reserve_secbus() 3928 if (resource_list_find(rl, PCI_RES_BUS, *rid) == NULL) in pci_alloc_secbus() 3929 resource_list_add(rl, PCI_RES_BUS, *rid, start, end, count); in pci_alloc_secbus() 3930 if (!resource_list_reserved(rl, PCI_RES_BUS, *rid)) { in pci_alloc_secbus() 3931 res = resource_list_reserve(rl, dev, child, PCI_RES_BUS, rid, in pci_alloc_secbus() 3934 resource_list_delete(rl, PCI_RES_BUS, *rid); in pci_alloc_secbus() 3946 return (resource_list_alloc(rl, dev, child, PCI_RES_BUS, rid, start, in pci_alloc_secbus() 4557 sc->sc_bus = bus_alloc_resource(dev, PCI_RES_BUS, &rid, busno, busno, in pci_attach_common() 4602 error = bus_release_resource(dev, PCI_RES_BUS, 0, sc->sc_bus); in pci_detach() [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_pcib_acpi.c | 239 type = PCI_RES_BUS; in acpi_pcib_producer_handler() 281 rle = resource_list_find(&sc->ap_host_res.hr_rl, PCI_RES_BUS, 0); in get_decoded_bus_range() 619 if (type == PCI_RES_BUS) in acpi_pcib_acpi_alloc_resource() 645 if (rman_get_type(r) == PCI_RES_BUS) in acpi_pcib_acpi_adjust_resource() 658 if (rman_get_type(r) == PCI_RES_BUS) in acpi_pcib_acpi_release_resource() 670 if (rman_get_type(r) == PCI_RES_BUS) in acpi_pcib_acpi_activate_resource() 682 if (rman_get_type(r) == PCI_RES_BUS) in acpi_pcib_acpi_deactivate_resource()
|
/freebsd/sys/x86/pci/ |
H A D | pci_bus.c | 599 if (type == PCI_RES_BUS) in legacy_pcib_alloc_resource() 612 if (rman_get_type(r) == PCI_RES_BUS) in legacy_pcib_adjust_resource() 621 if (rman_get_type(r) == PCI_RES_BUS) in legacy_pcib_release_resource() 629 if (rman_get_type(r) == PCI_RES_BUS) in legacy_pcib_activate_resource() 638 if (rman_get_type(r) == PCI_RES_BUS) in legacy_pcib_deactivate_resource()
|
H A D | qpi.c | 256 if (type == PCI_RES_BUS) in qpi_pcib_alloc_resource()
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_pcib.c | 429 case PCI_RES_BUS: in ofw_pcib_alloc_resource() 449 case PCI_RES_BUS: in ofw_pcib_release_resource() 505 case PCI_RES_BUS: in ofw_pcib_activate_resource() 617 case PCI_RES_BUS: in ofw_pcib_deactivate_resource() 636 case PCI_RES_BUS: in ofw_pcib_adjust_resource()
|
/freebsd/sys/x86/x86/ |
H A D | mptable_pci.c | 104 if (type == PCI_RES_BUS) in mptable_hostb_alloc_resource() 143 if (rman_get_type(r) == PCI_RES_BUS) in mptable_hostb_adjust_resource()
|
/freebsd/sys/amd64/include/ |
H A D | resource.h | 42 #define PCI_RES_BUS 5 /* PCI bus numbers */ macro
|
/freebsd/sys/i386/include/ |
H A D | resource.h | 42 #define PCI_RES_BUS 5 /* PCI bus numbers */ macro
|
/freebsd/sys/arm/include/ |
H A D | resource.h | 43 #define PCI_RES_BUS 6 /* PCI bus numbers */ macro
|
/freebsd/sys/riscv/include/ |
H A D | resource.h | 43 #define PCI_RES_BUS 6 /* PCI bus numbers */ macro
|
/freebsd/sys/powerpc/include/ |
H A D | resource.h | 42 #define PCI_RES_BUS 5 /* PCI bus numbers */ macro
|
/freebsd/sys/arm64/include/ |
H A D | resource.h | 47 #define PCI_RES_BUS 6 /* PCI bus numbers */ macro
|
/freebsd/sys/arm64/cavium/ |
H A D | thunder_pcie_pem.c | 261 case PCI_RES_BUS: in thunder_pem_activate_resource() 279 case PCI_RES_BUS: in thunder_pem_deactivate_resource() 349 case PCI_RES_BUS: in thunder_pem_adjust_resource() 662 case PCI_RES_BUS: in thunder_pem_alloc_resource() 710 case PCI_RES_BUS: in thunder_pem_release_resource()
|
/freebsd/sys/dev/cardbus/ |
H A D | cardbus.c | 101 sc->sc_bus = bus_alloc_resource(cbdev, PCI_RES_BUS, &rid, in cardbus_attach() 118 (void)bus_release_resource(cbdev, PCI_RES_BUS, 0, sc->sc_bus); in cardbus_detach()
|
/freebsd/sys/arm/mv/ |
H A D | mv_pci.c | 917 case PCI_RES_BUS: in mv_pcib_alloc_resource() 950 case PCI_RES_BUS: in mv_pcib_adjust_resource() 967 case PCI_RES_BUS: in mv_pcib_release_resource() 983 case PCI_RES_BUS: in mv_pcib_activate_resource() 999 case PCI_RES_BUS: in mv_pcib_deactivate_resource()
|
/freebsd/sys/dev/pccbb/ |
H A D | pccbb_pci.c | 758 if (type == PCI_RES_BUS) in cbb_pci_alloc_resource() 772 if (rman_get_type(r) == PCI_RES_BUS) { in cbb_pci_adjust_resource() 787 if (rman_get_type(r) == PCI_RES_BUS) { in cbb_pci_release_resource()
|
/freebsd/sys/dev/hyperv/pcib/ |
H A D | vmbus_pcib.c | 1675 if (type == PCI_RES_BUS) in vmbus_pcib_alloc_resource() 1720 if (rman_get_type(r) == PCI_RES_BUS) in vmbus_pcib_adjust_resource() 1732 case PCI_RES_BUS: in vmbus_pcib_release_resource() 1746 if (rman_get_type(r) == PCI_RES_BUS) in vmbus_pcib_activate_resource() 1757 if (rman_get_type(r) == PCI_RES_BUS) in vmbus_pcib_deactivate_resource()
|
/freebsd/sys/dev/vmd/ |
H A D | vmd.c | 426 case PCI_RES_BUS: in vmd_get_rman() 457 case PCI_RES_BUS: in vmd_alloc_resource()
|