Searched refs:pcie_cap (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A 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/arch/x86/pci/ |
| H A D | intel_mid.c | 68 u32 pcie_cap = 0, cap_data; in fixed_bar_cap() local 77 devfn, pos, 4, &pcie_cap)) in fixed_bar_cap() 80 if (PCI_EXT_CAP_ID(pcie_cap) == 0x0000 || in fixed_bar_cap() 81 PCI_EXT_CAP_ID(pcie_cap) == 0xffff) in fixed_bar_cap() 84 if (PCI_EXT_CAP_ID(pcie_cap) == PCI_EXT_CAP_ID_VNDR) { in fixed_bar_cap() 91 pos = PCI_EXT_CAP_NEXT(pcie_cap); in fixed_bar_cap()
|
| H A D | fixup.c | 283 dev->pcie_cap + PCI_EXP_LNKCTL; in pcie_rootport_aspm_quirk()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | eeh-powernv.c | 271 if (!edev || !edev->pcie_cap) in pnv_eeh_find_ecap() 358 edev->pcie_cap = pnv_eeh_find_cap(pdn, PCI_CAP_ID_EXP); in pnv_eeh_probe() 363 if (edev->pcie_cap) { in pnv_eeh_probe() 364 pnv_pci_cfg_read(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pnv_eeh_probe() 933 if (WARN_ON(!edev->pcie_cap)) in pnv_eeh_do_flr() 936 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCAP, 4, ®); in pnv_eeh_do_flr() 944 edev->pcie_cap + PCI_EXP_DEVSTA, in pnv_eeh_do_flr() 946 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr() 949 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr() 954 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | eeh.c | 214 cap = edev->pcie_cap; in eeh_dump_dev_log()
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | sky2.c | 3329 sky2_pci_write16(hw, pdev->pcie_cap + PCI_EXP_LNKCTL, in sky2_reset()
|