Searched refs:linkcap (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/ast/ |
A D | ast_dp501.c | 279 u8 linkcap[4], linkrate, linklanes, maxclk = 0xff; in ast_get_dp501_max_clk() local 293 plinkcap = (u32 *)linkcap; in ast_get_dp501_max_clk() 295 if (linkcap[2] == 0) { in ast_get_dp501_max_clk() 296 linkrate = linkcap[0]; in ast_get_dp501_max_clk() 297 linklanes = linkcap[1]; in ast_get_dp501_max_clk() 319 plinkcap = (u32 *)linkcap; in ast_get_dp501_max_clk() 321 if (linkcap[2] == 0) { in ast_get_dp501_max_clk() 322 linkrate = linkcap[0]; in ast_get_dp501_max_clk() 323 linklanes = linkcap[1]; in ast_get_dp501_max_clk()
|
/linux/drivers/pci/pcie/ |
A D | portdrv_core.c | 258 u32 linkcap; in get_port_device_capability() local 260 pcie_capability_read_dword(dev, PCI_EXP_LNKCAP, &linkcap); in get_port_device_capability() 261 if (linkcap & PCI_EXP_LNKCAP_LBNC) in get_port_device_capability()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | pcie.c | 245 u32 linkcap; in pcie_speeds() local 257 ret = pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &linkcap); in pcie_speeds() 263 if ((linkcap & PCI_EXP_LNKCAP_SLS) != PCI_EXP_LNKCAP_SLS_8_0GB) { in pcie_speeds() 266 linkcap & PCI_EXP_LNKCAP_SLS); in pcie_speeds()
|
/linux/drivers/pci/controller/ |
A D | pcie-altera.c | 602 u16 linkcap, linkstat, linkctl; in altera_pcie_retrain() local 612 &linkcap); in altera_pcie_retrain() 613 if ((linkcap & PCI_EXP_LNKCAP_SLS) <= PCI_EXP_LNKCAP_SLS_2_5GB) in altera_pcie_retrain()
|
/linux/drivers/pci/ |
A D | probe.c | 817 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()
|
Completed in 19 milliseconds