Searched refs:pbridge (Results 1 – 2 of 2) sorted by relevance
643 struct pci_dev *pdev, *pbridge; in is_downstream_to_pci_bridge() local649 pbridge = to_pci_dev(bridge); in is_downstream_to_pci_bridge()651 if (pbridge->subordinate && in is_downstream_to_pci_bridge()652 pbridge->subordinate->number <= pdev->bus->number && in is_downstream_to_pci_bridge()653 pbridge->subordinate->busn_res.end >= pdev->bus->number) in is_downstream_to_pci_bridge()
6298 struct pci_dev *pbridge; in cxgb4_iov_configure() local6309 pbridge = pdev->bus->self; in cxgb4_iov_configure()6310 pcie_capability_read_word(pbridge, PCI_EXP_FLAGS, &flags); in cxgb4_iov_configure()6311 pcie_capability_read_dword(pbridge, PCI_EXP_DEVCAP2, &devcap2); in cxgb4_iov_configure()6320 pbridge->bus->number, PCI_SLOT(pbridge->devfn), in cxgb4_iov_configure()6321 PCI_FUNC(pbridge->devfn)); in cxgb4_iov_configure()