Home
last modified time | relevance | path

Searched refs:lnkcap (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/pci/
Dpci-bridge-emul.h50 u32 lnkcap; member
Dpci.c5648 u32 lnkcap2, lnkcap; in pcie_get_speed_cap() local
5674 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, &lnkcap); in pcie_get_speed_cap()
5675 if ((lnkcap & PCI_EXP_LNKCAP_SLS) == PCI_EXP_LNKCAP_SLS_5_0GB) in pcie_get_speed_cap()
5677 else if ((lnkcap & PCI_EXP_LNKCAP_SLS) == PCI_EXP_LNKCAP_SLS_2_5GB) in pcie_get_speed_cap()
5693 u32 lnkcap; in pcie_get_width_cap() local
5695 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, &lnkcap); in pcie_get_width_cap()
5696 if (lnkcap) in pcie_get_width_cap()
5697 return (lnkcap & PCI_EXP_LNKCAP_MLW) >> 4; in pcie_get_width_cap()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dcik.c1634 u32 lnkcap; in cik_program_aspm() local
1637 pcie_capability_read_dword(root, PCI_EXP_LNKCAP, &lnkcap); in cik_program_aspm()
1638 if (lnkcap & PCI_EXP_LNKCAP_CLKPM) in cik_program_aspm()
Dsi.c1955 u32 lnkcap; in si_program_aspm() local
1958 pcie_capability_read_dword(root, PCI_EXP_LNKCAP, &lnkcap); in si_program_aspm()
1959 if (lnkcap & PCI_EXP_LNKCAP_CLKPM) in si_program_aspm()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dsi.c7379 u32 lnkcap; in si_program_aspm() local
7382 pcie_capability_read_dword(root, PCI_EXP_LNKCAP, &lnkcap); in si_program_aspm()
7383 if (lnkcap & PCI_EXP_LNKCAP_CLKPM) in si_program_aspm()
Dcik.c9745 u32 lnkcap; in cik_program_aspm() local
9748 pcie_capability_read_dword(root, PCI_EXP_LNKCAP, &lnkcap); in cik_program_aspm()
9749 if (lnkcap & PCI_EXP_LNKCAP_CLKPM) in cik_program_aspm()