Home
last modified time | relevance | path

Searched refs:PCI_EXP_LNKCAP_SLS (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/drivers/pci/controller/dwc/
H A Dpcie-fu740.c197 orig = tmp & PCI_EXP_LNKCAP_SLS; in fu740_pcie_start_link()
198 tmp &= ~PCI_EXP_LNKCAP_SLS; in fu740_pcie_start_link()
212 if ((tmp & PCI_EXP_LNKCAP_SLS) != orig) { in fu740_pcie_start_link()
215 tmp &= ~PCI_EXP_LNKCAP_SLS; in fu740_pcie_start_link()
H A Dpcie-designware.c750 pci->max_link_speed = FIELD_GET(PCI_EXP_LNKCAP_SLS, cap); in dw_pcie_link_set_max_speed()
772 link_speed = FIELD_GET(PCI_EXP_LNKCAP_SLS, cap); in dw_pcie_link_set_max_speed()
779 cap &= ~((u32)PCI_EXP_LNKCAP_SLS); in dw_pcie_link_set_max_speed()
H A Dpci-imx6.c834 phy_set_speed(imx_pcie->phy, FIELD_GET(PCI_EXP_LNKCAP_SLS, tmp)); in imx_pcie_ltssm_enable()
870 tmp &= ~PCI_EXP_LNKCAP_SLS; in imx_pcie_start_link()
886 tmp &= ~PCI_EXP_LNKCAP_SLS; in imx_pcie_start_link()
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dpcie.c256 if ((linkcap & PCI_EXP_LNKCAP_SLS) != PCI_EXP_LNKCAP_SLS_8_0GB) { in pcie_speeds()
259 linkcap & PCI_EXP_LNKCAP_SLS); in pcie_speeds()
/linux-6.15/drivers/pci/controller/cadence/
H A Dpcie-cadence-host.c133 if ((lnk_cap_sls & PCI_EXP_LNKCAP_SLS) <= PCI_EXP_LNKCAP_SLS_2_5GB) in cdns_pcie_retrain()
/linux-6.15/include/uapi/linux/
H A Dpci_regs.h537 #define PCI_EXP_LNKCAP_SLS 0x0000000f /* Max Link Speed (prior to PCIe r3.0: Supported Link Speeds… macro
/linux-6.15/drivers/pci/controller/
H A Dpcie-altera.c770 if ((linkcap & PCI_EXP_LNKCAP_SLS) <= PCI_EXP_LNKCAP_SLS_2_5GB) in altera_pcie_retrain()
H A Dpcie-brcmstb.c417 u32p_replace_bits(&lnkcap, gen, PCI_EXP_LNKCAP_SLS); in brcm_pcie_set_gen()
/linux-6.15/drivers/pci/
H A Dpci.c6130 speeds &= GENMASK(lnkcap & PCI_EXP_LNKCAP_SLS, 0); in pcie_get_supported_speeds()
6137 if ((lnkcap & PCI_EXP_LNKCAP_SLS) == PCI_EXP_LNKCAP_SLS_5_0GB) in pcie_get_supported_speeds()
6139 else if ((lnkcap & PCI_EXP_LNKCAP_SLS) == PCI_EXP_LNKCAP_SLS_2_5GB) in pcie_get_supported_speeds()
H A Dprobe.c883 bus->max_bus_speed = pcie_link_speed[linkcap & PCI_EXP_LNKCAP_SLS]; in pci_set_bus_speed()
/linux-6.15/drivers/scsi/esas2r/
H A Desas2r_ioctl.c798 gai->pci.link_speed_max = FIELD_GET(PCI_EXP_LNKCAP_SLS, caps); in hba_ioctl_callback()
/linux-6.15/drivers/scsi/qla2xxx/
H A Dqla_os.c636 lspeed = FIELD_GET(PCI_EXP_LNKCAP_SLS, lstat); in qla24xx_pci_info_str()