Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/arch/x86/pci/
Dintel_mid_pci.c68 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()
Dfixup.c283 dev->pcie_cap + PCI_EXP_LNKCTL; in pcie_rootport_aspm_quirk()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Deeh-powernv.c272 if (!edev || !edev->pcie_cap) in pnv_eeh_find_ecap()
359 edev->pcie_cap = pnv_eeh_find_cap(pdn, PCI_CAP_ID_EXP); in pnv_eeh_probe()
364 if (edev->pcie_cap) { in pnv_eeh_probe()
365 pnv_pci_cfg_read(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pnv_eeh_probe()
934 if (WARN_ON(!edev->pcie_cap)) in pnv_eeh_do_flr()
937 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCAP, 4, &reg); in pnv_eeh_do_flr()
945 edev->pcie_cap + PCI_EXP_DEVSTA, in pnv_eeh_do_flr()
947 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
950 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
955 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
[all …]
/linux-6.6.21/arch/powerpc/platforms/pseries/
Deeh_pseries.c295 if (!edev || !edev->pcie_cap) in pseries_eeh_find_ecap()
409 edev->pcie_cap = pseries_eeh_find_cap(pdn, PCI_CAP_ID_EXP); in pseries_eeh_init_edev()
414 if (edev->pcie_cap) { in pseries_eeh_init_edev()
415 rtas_read_config(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pseries_eeh_init_edev()
/linux-6.6.21/arch/powerpc/include/asm/
Deeh.h139 int pcie_cap; /* Saved PCIe capability */ member
/linux-6.6.21/arch/powerpc/kernel/
Deeh_pe.c648 cap = edev->pcie_cap; in eeh_bridge_check_link()
Deeh.c214 cap = edev->pcie_cap; in eeh_dump_dev_log()
/linux-6.6.21/drivers/pci/controller/
Dpci-mvebu.c907 u32 pcie_cap = mvebu_readl(port, PCIE_CAP_PCIEXP); in mvebu_pci_bridge_emul_init() local
908 u8 pcie_cap_ver = ((pcie_cap >> 16) & PCI_EXP_FLAGS_VERS); in mvebu_pci_bridge_emul_init()
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dmac.c21 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
/linux-6.6.21/include/linux/
Dpci.h348 u8 pcie_cap; /* PCIe capability offset */ member
2429 return dev->pcie_cap; in pci_pcie_cap()
/linux-6.6.21/drivers/pci/
Dquirks.c5414 if (pdev->pcie_cap || pci_find_capability(pdev, PCI_CAP_ID_EXP)) in quirk_intel_qat_vf_cap()
5447 pdev->pcie_cap = pos; in quirk_intel_qat_vf_cap()
Dprobe.c1539 pdev->pcie_cap = pos; in set_pcie_port_type()
/linux-6.6.21/drivers/net/ethernet/marvell/
Dsky2.c3329 sky2_pci_write16(hw, pdev->pcie_cap + PCI_EXP_LNKCTL, in sky2_reset()