Searched refs:lnkcap (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/drm2/ |
H A D | drm_pci.c | 442 u32 lnkcap = 0, lnkcap2 = 0; in drm_pcie_get_speed_cap_mask() local 464 lnkcap = pci_read_config(root, pos + PCIER_LINK_CAP, 4); in drm_pcie_get_speed_cap_mask() 467 lnkcap &= PCIEM_LINK_CAP_MAX_SPEED; in drm_pcie_get_speed_cap_mask() 482 if (lnkcap & 1) in drm_pcie_get_speed_cap_mask() 484 if (lnkcap & 2) in drm_pcie_get_speed_cap_mask() 488 …n 2 caps for device %x:%x = %x/%x\n", pci_get_vendor(root), pci_get_device(root), lnkcap, lnkcap2); in drm_pcie_get_speed_cap_mask()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | pci.h | 1073 uint32_t lnkcap, lnkcap2; in pcie_get_speed_cap() local 1109 lnkcap = pci_read_config(root, pos + PCIER_LINK_CAP, 4); in pcie_get_speed_cap() 1110 if (lnkcap & PCI_EXP_LNKCAP_SLS_2_5GB) in pcie_get_speed_cap() 1112 if (lnkcap & PCI_EXP_LNKCAP_SLS_5_0GB) in pcie_get_speed_cap() 1114 if (lnkcap & PCI_EXP_LNKCAP_SLS_8_0GB) in pcie_get_speed_cap() 1116 if (lnkcap & PCI_EXP_LNKCAP_SLS_16_0GB) in pcie_get_speed_cap() 1118 if (lnkcap & PCI_EXP_LNKCAP_SLS_32_0GB) in pcie_get_speed_cap() 1120 if (lnkcap & PCI_EXP_LNKCAP_SLS_64_0GB) in pcie_get_speed_cap() 1129 uint32_t lnkcap; in pcie_get_width_cap() local 1131 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, &lnkcap); in pcie_get_width_cap() [all …]
|