Home
last modified time | relevance | path

Searched refs:linkcap (Results 1 – 4 of 4) sorted by relevance

/drivers/pci/pcie/
Dportdrv_core.c254 u32 linkcap; in get_port_device_capability() local
256 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, &linkcap); in get_port_device_capability()
257 if (linkcap & PCI_EXP_LNKCAP_LBNC) in get_port_device_capability()
/drivers/infiniband/hw/hfi1/
Dpcie.c240 u32 linkcap; in pcie_speeds() local
252 ret = pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &linkcap); in pcie_speeds()
258 if ((linkcap & PCI_EXP_LNKCAP_SLS) != PCI_EXP_LNKCAP_SLS_8_0GB) { in pcie_speeds()
261 linkcap & PCI_EXP_LNKCAP_SLS); in pcie_speeds()
/drivers/pci/controller/
Dpcie-altera.c600 u16 linkcap, linkstat, linkctl; in altera_pcie_retrain() local
610 &linkcap); in altera_pcie_retrain()
611 if ((linkcap & PCI_EXP_LNKCAP_SLS) <= PCI_EXP_LNKCAP_SLS_2_5GB) in altera_pcie_retrain()
/drivers/pci/
Dprobe.c817 u32 linkcap; in pci_set_bus_speed() local
820 pcie_capability_read_dword(bridge, PCI_EXP_LNKCAP, &linkcap); in pci_set_bus_speed()
821 bus->max_bus_speed = pcie_link_speed[linkcap & PCI_EXP_LNKCAP_SLS]; in pci_set_bus_speed()
822 bridge->link_active_reporting = !!(linkcap & PCI_EXP_LNKCAP_DLLLARC); in pci_set_bus_speed()