Searched refs:pbridge (Results 1 – 2 of 2) sorted by relevance
642 struct pci_dev *pdev, *pbridge; in is_downstream_to_pci_bridge() local648 pbridge = to_pci_dev(bridge); in is_downstream_to_pci_bridge()650 if (pbridge->subordinate && in is_downstream_to_pci_bridge()651 pbridge->subordinate->number <= pdev->bus->number && in is_downstream_to_pci_bridge()652 pbridge->subordinate->busn_res.end >= pdev->bus->number) in is_downstream_to_pci_bridge()
6299 struct pci_dev *pbridge; in cxgb4_iov_configure() local6310 pbridge = pdev->bus->self; in cxgb4_iov_configure()6311 pcie_capability_read_word(pbridge, PCI_EXP_FLAGS, &flags); in cxgb4_iov_configure()6312 pcie_capability_read_dword(pbridge, PCI_EXP_DEVCAP2, &devcap2); in cxgb4_iov_configure()6321 pbridge->bus->number, PCI_SLOT(pbridge->devfn), in cxgb4_iov_configure()6322 PCI_FUNC(pbridge->devfn)); in cxgb4_iov_configure()