Lines Matching refs:pab
765 struct acpi_bridge *pab, /* parent bridge to which child bridge is added */ in shpchprm_acpi_register_a_bridge() argument
772 lpab = find_acpi_bridge_by_bus(*head, pab->seg, pab->bus); in shpchprm_acpi_register_a_bridge()
774 if (!(pab->type & BRIDGE_TYPE_HOST)) in shpchprm_acpi_register_a_bridge()
775 warn("PCI parent bridge s:b(%x:%x) not in list.\n", pab->seg, pab->bus); in shpchprm_acpi_register_a_bridge()
776 pab->next = *head; in shpchprm_acpi_register_a_bridge()
777 *head = pab; in shpchprm_acpi_register_a_bridge()
778 lpab = pab; in shpchprm_acpi_register_a_bridge()
781 if ((cab->type & BRIDGE_TYPE_HOST) && (pab == cab)) in shpchprm_acpi_register_a_bridge()
786 if ((pab->bus != lcab->parent->bus) || (lcab->bus != cab->bus)) in shpchprm_acpi_register_a_bridge()
809 struct acpi_bridge *pab = (struct acpi_bridge *)context; in shpchprm_acpi_build_php_slots_callback() local
841 bus_num = pab->bus; in shpchprm_acpi_build_php_slots_callback()
842 seg_num = pab->seg; in shpchprm_acpi_build_php_slots_callback()
844 if (pab->bus == bus_num) { in shpchprm_acpi_build_php_slots_callback()
845 lab = pab; in shpchprm_acpi_build_php_slots_callback()
848 lab = find_acpi_bridge_by_bus(pab, seg_num, bus_num); in shpchprm_acpi_build_php_slots_callback()
859 lab->pbus = pab->bus; in shpchprm_acpi_build_php_slots_callback()
866 shpchprm_acpi_register_a_bridge (&acpi_bridges_head, pab, lab); in shpchprm_acpi_build_php_slots_callback()
899 struct acpi_bridge *pab, in build_a_bridge() argument
905 shpchprm_acpi_register_a_bridge (&acpi_bridges_head, pab, ab); in build_a_bridge()
924 struct acpi_bridge *pab, /* parent */ in add_p2p_bridge() argument
943 pdev = pci_find_slot(pab->bus, PCI_DEVFN(devnum, funcnum)); in add_p2p_bridge()
951 ab->seg = pab->seg; in add_p2p_bridge()
952 ab->pbus = pab->bus; /* or pdev->bus->number */ in add_p2p_bridge()
960 pab->bus, ab->bus, pdev->bus->number, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in add_p2p_bridge()
961 pab->bus, (u32)devnum, (u32)funcnum, path_name); in add_p2p_bridge()
963 build_a_bridge(pab, ab); in add_p2p_bridge()
975 struct acpi_bridge *pab = (struct acpi_bridge *)context; in scan_p2p_bridge() local
994 pdev = pci_find_slot(pab->bus, PCI_DEVFN(devnum, funcnum)); in scan_p2p_bridge()
1000 ab = add_p2p_bridge(handle, pab, adr); in scan_p2p_bridge()