Home
last modified time | relevance | path

Searched refs:pcie_cap (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dreset.c46 int pcie_cap; in mlx4_reset() local
79 pcie_cap = pci_pcie_cap(dev->persist->pdev); in mlx4_reset()
141 if (pcie_cap) { in mlx4_reset()
142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; in mlx4_reset()
150 linkctl = hca_header[(pcie_cap + PCI_EXP_LNKCTL) / 4]; in mlx4_reset()
/linux-4.4.14/arch/x86/pci/
Dintel_mid_pci.c63 u32 pcie_cap = 0, cap_data; in fixed_bar_cap() local
72 devfn, pos, 4, &pcie_cap)) in fixed_bar_cap()
75 if (PCI_EXT_CAP_ID(pcie_cap) == 0x0000 || in fixed_bar_cap()
76 PCI_EXT_CAP_ID(pcie_cap) == 0xffff) in fixed_bar_cap()
79 if (PCI_EXT_CAP_ID(pcie_cap) == PCI_EXT_CAP_ID_VNDR) { in fixed_bar_cap()
86 pos = PCI_EXT_CAP_NEXT(pcie_cap); in fixed_bar_cap()
Dfixup.c279 dev->pcie_cap + PCI_EXP_LNKCTL; in pcie_rootport_aspm_quirk()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Deeh_pseries.c168 if (!edev || !edev->pcie_cap) in pseries_eeh_find_ecap()
227 edev->pcie_cap = pseries_eeh_find_cap(pdn, PCI_CAP_ID_EXP); in pseries_eeh_probe()
232 if (edev->pcie_cap) { in pseries_eeh_probe()
233 rtas_read_config(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pseries_eeh_probe()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Deeh-powernv.c325 if (!edev || !edev->pcie_cap) in pnv_eeh_find_ecap()
389 edev->pcie_cap = pnv_eeh_find_cap(pdn, PCI_CAP_ID_EXP); in pnv_eeh_probe()
393 if (edev->pcie_cap) { in pnv_eeh_probe()
394 pnv_pci_cfg_read(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pnv_eeh_probe()
/linux-4.4.14/drivers/mfd/
Drtsx_pcr.c71 rtsx_pci_update_cfg_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL, in rtsx_pci_enable_aspm()
77 rtsx_pci_update_cfg_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL, in rtsx_pci_disable_aspm()
991 pcr->pcie_cap = pci_find_capability(pcr->pci, PCI_CAP_ID_EXP); in rtsx_pci_init_hw()
1054 rtsx_pci_write_config_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL + 1, 1); in rtsx_pci_init_hw()
/linux-4.4.14/arch/powerpc/include/asm/
Deeh.h137 int pcie_cap; /* Saved PCIe capability */ member
/linux-4.4.14/arch/powerpc/kernel/
Deeh_pe.c714 cap = edev->pcie_cap; in eeh_bridge_check_link()
Deeh.c210 cap = edev->pcie_cap; in eeh_dump_dev_log()
/linux-4.4.14/include/linux/mfd/
Drtsx_pci.h883 int pcie_cap; member
/linux-4.4.14/include/linux/
Dpci.h275 u8 pcie_cap; /* PCIe capability offset */ member
1773 return dev->pcie_cap; in pci_pcie_cap()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c7013 u32 pcie_cap; in set_pcie_completion_timeout() local
7015 pcie_cap = pci_find_capability(adapter->pdev, PCI_CAP_ID_EXP); in set_pcie_completion_timeout()
7016 if (pcie_cap) { in set_pcie_completion_timeout()
7018 pcie_cap + PCI_EXP_DEVCTL2, &val); in set_pcie_completion_timeout()
7022 pcie_cap + PCI_EXP_DEVCTL2, val); in set_pcie_completion_timeout()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dmac.c39 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
/linux-4.4.14/drivers/pci/
Dquirks.c4141 if (pdev->pcie_cap || pci_find_capability(pdev, PCI_CAP_ID_EXP)) in quirk_intel_qat_vf_cap()
4174 pdev->pcie_cap = pos; in quirk_intel_qat_vf_cap()
Dprobe.c1022 pdev->pcie_cap = pos; in set_pcie_port_type()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dsky2.c3356 sky2_pci_write16(hw, pdev->pcie_cap + PCI_EXP_LNKCTL, in sky2_reset()