Searched refs:hca_pcie_cap (Results 1 – 1 of 1) sorted by relevance
53 int hca_pcie_cap = 0; in mthca_reset() local123 hca_pcie_cap = pci_find_capability(mdev->pdev, PCI_CAP_ID_EXP); in mthca_reset()251 if (hca_pcie_cap) { in mthca_reset()252 devctl = hca_header[(hca_pcie_cap + PCI_EXP_DEVCTL) / 4]; in mthca_reset()253 if (pci_write_config_word(mdev->pdev, hca_pcie_cap + PCI_EXP_DEVCTL, in mthca_reset()260 linkctl = hca_header[(hca_pcie_cap + PCI_EXP_LNKCTL) / 4]; in mthca_reset()261 if (pci_write_config_word(mdev->pdev, hca_pcie_cap + PCI_EXP_LNKCTL, in mthca_reset()