Home
last modified time | relevance | path

Searched refs:max_link_speed (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/pci/
H A Dof.c750 u32 max_link_speed; in of_pci_get_max_link_speed() local
752 if (of_property_read_u32(node, "max-link-speed", &max_link_speed) || in of_pci_get_max_link_speed()
753 max_link_speed == 0 || max_link_speed > 4) in of_pci_get_max_link_speed()
756 return max_link_speed; in of_pci_get_max_link_speed()
H A Dpci-sysfs.c197 static DEVICE_ATTR_RO(max_link_speed);
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c171 if (pci->max_link_speed < 1) in dw_pcie_get_resources()
172 pci->max_link_speed = of_pci_get_max_link_speed(np); in dw_pcie_get_resources()
704 if (pci->max_link_speed < 1) { in dw_pcie_link_set_max_speed()
705 pci->max_link_speed = FIELD_GET(PCI_EXP_LNKCAP_SLS, cap); in dw_pcie_link_set_max_speed()
712 switch (pcie_link_speed[pci->max_link_speed]) { in dw_pcie_link_set_max_speed()
H A Dpcie-intel-gw.c135 switch (pci->max_link_speed) { in intel_pcie_init_n_fts()
255 if (pci->max_link_speed < 3) in intel_pcie_wait_l2()
H A Dpcie-spear13xx.c236 pci->max_link_speed = 1; in spear13xx_pcie_probe()
H A Dpci-imx6.c863 if (pci->max_link_speed > 1) { in imx_pcie_start_link()
868 tmp |= pci->max_link_speed; in imx_pcie_start_link()
1426 pci->max_link_speed = 1; in imx_pcie_probe()
1427 of_property_read_u32(node, "fsl,max-link-speed", &pci->max_link_speed); in imx_pcie_probe()
H A Dpcie-rcar-gen4.c147 changes = min_not_zero(dw->max_link_speed, RCAR_MAX_LINK_SPEED) - 1; in rcar_gen4_pcie_start_link()
H A Dpcie-designware.h457 int max_link_speed; member
H A Dpcie-qcom-ep.c502 if (pcie_link_speed[pci->max_link_speed] == PCIE_SPEED_16_0GT) { in qcom_pcie_perst_deassert()
H A Dpcie-qcom.c300 if (pcie_link_speed[pci->max_link_speed] == PCIE_SPEED_16_0GT) { in qcom_pcie_start_link()