Lines Matching refs:pab

764 	struct acpi_bridge	*pab,	/* parent bridge to which child bridge is added */  in pciehprm_acpi_register_a_bridge()  argument
771 lpab = find_acpi_bridge_by_bus(*head, pab->seg, pab->bus); in pciehprm_acpi_register_a_bridge()
773 if (!(pab->type & BRIDGE_TYPE_HOST)) in pciehprm_acpi_register_a_bridge()
774 warn("PCI parent bridge s:b(%x:%x) not in list.\n", pab->seg, pab->bus); in pciehprm_acpi_register_a_bridge()
775 pab->next = *head; in pciehprm_acpi_register_a_bridge()
776 *head = pab; in pciehprm_acpi_register_a_bridge()
777 lpab = pab; in pciehprm_acpi_register_a_bridge()
780 if ((cab->type & BRIDGE_TYPE_HOST) && (pab == cab)) in pciehprm_acpi_register_a_bridge()
785 if ((pab->bus != lcab->parent->bus) || (lcab->bus != cab->bus)) in pciehprm_acpi_register_a_bridge()
808 struct acpi_bridge *pab = (struct acpi_bridge *)context; in pciehprm_acpi_build_php_slots_callback() local
840 bus_num = pab->bus; in pciehprm_acpi_build_php_slots_callback()
841 seg_num = pab->seg; in pciehprm_acpi_build_php_slots_callback()
843 if (pab->bus == bus_num) { in pciehprm_acpi_build_php_slots_callback()
844 lab = pab; in pciehprm_acpi_build_php_slots_callback()
847 lab = find_acpi_bridge_by_bus(pab, seg_num, bus_num); in pciehprm_acpi_build_php_slots_callback()
858 lab->pbus = pab->bus; in pciehprm_acpi_build_php_slots_callback()
865 pciehprm_acpi_register_a_bridge (&acpi_bridges_head, pab, lab); in pciehprm_acpi_build_php_slots_callback()
900 struct acpi_bridge *pab, in build_a_bridge() argument
906 pciehprm_acpi_register_a_bridge (&acpi_bridges_head, pab, ab); in build_a_bridge()
925 struct acpi_bridge *pab, /* parent */ in add_p2p_bridge() argument
944 pdev = pci_find_slot(pab->bus, PCI_DEVFN(devnum, funcnum)); in add_p2p_bridge()
952 ab->seg = pab->seg; in add_p2p_bridge()
953 ab->pbus = pab->bus; /* or pdev->bus->number */ in add_p2p_bridge()
961 pab->bus, ab->bus, pdev->bus->number, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in add_p2p_bridge()
962 pab->bus, (u32)devnum, (u32)funcnum, path_name); in add_p2p_bridge()
964 build_a_bridge(pab, ab); in add_p2p_bridge()
976 struct acpi_bridge *pab = (struct acpi_bridge *)context; in scan_p2p_bridge() local
995 pdev = pci_find_slot(pab->bus, PCI_DEVFN(devnum, funcnum)); in scan_p2p_bridge()
1001 ab = add_p2p_bridge(handle, pab, adr); in scan_p2p_bridge()