/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | reset.c | 46 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/ |
D | intel_mid_pci.c | 63 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()
|
D | fixup.c | 279 dev->pcie_cap + PCI_EXP_LNKCTL; in pcie_rootport_aspm_quirk()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 168 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/ |
D | eeh-powernv.c | 325 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/ |
D | rtsx_pcr.c | 71 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/ |
D | eeh.h | 137 int pcie_cap; /* Saved PCIe capability */ member
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | eeh_pe.c | 714 cap = edev->pcie_cap; in eeh_bridge_check_link()
|
D | eeh.c | 210 cap = edev->pcie_cap; in eeh_dump_dev_log()
|
/linux-4.4.14/include/linux/mfd/ |
D | rtsx_pci.h | 883 int pcie_cap; member
|
/linux-4.4.14/include/linux/ |
D | pci.h | 275 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/ |
D | t4_hw.c | 7013 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/ |
D | mac.c | 39 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
|
/linux-4.4.14/drivers/pci/ |
D | quirks.c | 4141 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()
|
D | probe.c | 1022 pdev->pcie_cap = pos; in set_pcie_port_type()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | sky2.c | 3356 sky2_pci_write16(hw, pdev->pcie_cap + PCI_EXP_LNKCTL, in sky2_reset()
|