Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/ast/
Dast_dp501.c273 u8 linkcap[4], linkrate, linklanes, maxclk = 0xff; in ast_get_dp501_max_clk() local
285 *(u32 *)linkcap = ast_mindwm(ast, boot_address + offset); in ast_get_dp501_max_clk()
286 if (linkcap[2] == 0) { in ast_get_dp501_max_clk()
287 linkrate = linkcap[0]; in ast_get_dp501_max_clk()
288 linklanes = linkcap[1]; in ast_get_dp501_max_clk()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dpcie.c294 u32 linkcap; in pcie_speeds() local
306 ret = pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &linkcap); in pcie_speeds()
312 if ((linkcap & PCI_EXP_LNKCAP_SLS) != PCI_EXP_LNKCAP_SLS_8_0GB) { in pcie_speeds()
315 linkcap & PCI_EXP_LNKCAP_SLS); in pcie_speeds()
/Linux-v5.10/drivers/pci/controller/
Dpcie-altera.c602 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-v5.10/drivers/pci/
Dprobe.c814 u32 linkcap; in pci_set_bus_speed() local
817 pcie_capability_read_dword(bridge, PCI_EXP_LNKCAP, &linkcap); in pci_set_bus_speed()
818 bus->max_bus_speed = pcie_link_speed[linkcap & PCI_EXP_LNKCAP_SLS]; in pci_set_bus_speed()
819 bridge->link_active_reporting = !!(linkcap & PCI_EXP_LNKCAP_DLLLARC); in pci_set_bus_speed()