Home
last modified time | relevance | path

Searched refs:lnkcap2 (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/pci/
Dpci.h261 #define PCIE_LNKCAP2_SLS2SPEED(lnkcap2) \ argument
262 ((lnkcap2) & PCI_EXP_LNKCAP2_SLS_64_0GB ? PCIE_SPEED_64_0GT : \
263 (lnkcap2) & PCI_EXP_LNKCAP2_SLS_32_0GB ? PCIE_SPEED_32_0GT : \
264 (lnkcap2) & PCI_EXP_LNKCAP2_SLS_16_0GB ? PCIE_SPEED_16_0GT : \
265 (lnkcap2) & PCI_EXP_LNKCAP2_SLS_8_0GB ? PCIE_SPEED_8_0GT : \
266 (lnkcap2) & PCI_EXP_LNKCAP2_SLS_5_0GB ? PCIE_SPEED_5_0GT : \
267 (lnkcap2) & PCI_EXP_LNKCAP2_SLS_2_5GB ? PCIE_SPEED_2_5GT : \
Dpci-bridge-emul.h62 __le32 lnkcap2; member
Dpci.c6308 u32 lnkcap2, lnkcap; in pcie_get_speed_cap() local
6319 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP2, &lnkcap2); in pcie_get_speed_cap()
6322 if (lnkcap2) in pcie_get_speed_cap()
6323 return PCIE_LNKCAP2_SLS2SPEED(lnkcap2); in pcie_get_speed_cap()