Home
last modified time | relevance | path

Searched refs:pcie_cap (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/kernel/linux/linux-5.10/arch/x86/pci/
H A Dintel_mid_pci.c66 u32 pcie_cap = 0, cap_data; in fixed_bar_cap() local
75 devfn, pos, 4, &pcie_cap)) in fixed_bar_cap()
78 if (PCI_EXT_CAP_ID(pcie_cap) == 0x0000 || in fixed_bar_cap()
79 PCI_EXT_CAP_ID(pcie_cap) == 0xffff) in fixed_bar_cap()
82 if (PCI_EXT_CAP_ID(pcie_cap) == PCI_EXT_CAP_ID_VNDR) { in fixed_bar_cap()
89 pos = PCI_EXT_CAP_NEXT(pcie_cap); in fixed_bar_cap()
H A Dfixup.c281 dev->pcie_cap + PCI_EXP_LNKCTL; in pcie_rootport_aspm_quirk()
/kernel/linux/linux-6.6/arch/x86/pci/
H A 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()
H A Dfixup.c283 dev->pcie_cap + PCI_EXP_LNKCTL; in pcie_rootport_aspm_quirk()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c271 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()
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 in pnv_eeh_do_flr()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A 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 in pnv_eeh_do_flr()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c293 if (!edev || !edev->pcie_cap) in pseries_eeh_find_ecap()
407 edev->pcie_cap = pseries_eeh_find_cap(pdn, PCI_CAP_ID_EXP); in pseries_eeh_init_edev()
412 if (edev->pcie_cap) { in pseries_eeh_init_edev()
413 rtas_read_config(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pseries_eeh_init_edev()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A 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()
/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-mvebu.c576 u32 pcie_cap = mvebu_readl(port, PCIE_CAP_PCIEXP); in mvebu_pci_bridge_emul_init() local
577 u8 pcie_cap_ver = ((pcie_cap >> 16) & PCI_EXP_FLAGS_VERS); in mvebu_pci_bridge_emul_init()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Deeh.h139 int pcie_cap; /* Saved PCIe capability */ member
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Deeh_pe.c647 cap = edev->pcie_cap; in eeh_bridge_check_link()
H A Deeh.c214 cap = edev->pcie_cap; in eeh_dump_dev_log()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Deeh.h139 int pcie_cap; /* Saved PCIe capability */ member
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Deeh_pe.c648 cap = edev->pcie_cap; in eeh_bridge_check_link()
H A Deeh.c214 cap = edev->pcie_cap; in eeh_dump_dev_log()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
H A Dmac.c21 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dmac.c21 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
/kernel/linux/linux-5.10/include/linux/
H A Dpci.h332 u8 pcie_cap; /* PCIe capability offset */ member
2167 return dev->pcie_cap; in pci_pcie_cap()
/kernel/linux/linux-6.6/drivers/pci/controller/
H A 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()
/kernel/linux/linux-6.6/include/linux/
H A Dpci.h348 u8 pcie_cap; /* PCIe capability offset */ member
2429 return dev->pcie_cap; in pci_pcie_cap()
/kernel/linux/linux-5.10/drivers/pci/
H A Dquirks.c5311 if (pdev->pcie_cap || pci_find_capability(pdev, PCI_CAP_ID_EXP)) in quirk_intel_qat_vf_cap()
5344 pdev->pcie_cap = pos; in quirk_intel_qat_vf_cap()
H A Dprobe.c1502 pdev->pcie_cap = pos; in set_pcie_port_type()
/kernel/linux/linux-6.6/drivers/pci/
H A 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()

Completed in 53 milliseconds

12