Searched refs:PCI_EXP_LNKCAP_SLS (Results 1 – 17 of 17) sorted by relevance
197 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()
723 link_speed = FIELD_GET(PCI_EXP_LNKCAP_SLS, cap); in dw_pcie_link_set_max_speed()730 cap &= ~((u32)PCI_EXP_LNKCAP_SLS); in dw_pcie_link_set_max_speed()
886 tmp &= ~PCI_EXP_LNKCAP_SLS; in imx6_pcie_start_link()902 tmp &= ~PCI_EXP_LNKCAP_SLS; in imx6_pcie_start_link()
120 PCI_EXP_LNKCAP_MLW | PCI_EXP_LNKCAP_SLS); in pcie_cap_fill_slot_lnk()1087 if ((lnksta & PCI_EXP_LNKSTA_CLS) > (lnkcap & PCI_EXP_LNKCAP_SLS)) { in pcie_sync_bridge_lnk()1089 lnksta |= lnkcap & PCI_EXP_LNKCAP_SLS; in pcie_sync_bridge_lnk()
256 if ((linkcap & PCI_EXP_LNKCAP_SLS) != PCI_EXP_LNKCAP_SLS_8_0GB) { in pcie_speeds()259 linkcap & PCI_EXP_LNKCAP_SLS); in pcie_speeds()
133 if ((lnk_cap_sls & PCI_EXP_LNKCAP_SLS) <= PCI_EXP_LNKCAP_SLS_2_5GB) in cdns_pcie_retrain()
534 #define PCI_EXP_LNKCAP_SLS 0x0000000f /* Supported Link Speeds */ macro
535 #define PCI_EXP_LNKCAP_SLS 0x0000000f /* Supported Link Speeds */ macro
610 if ((linkcap & PCI_EXP_LNKCAP_SLS) <= PCI_EXP_LNKCAP_SLS_2_5GB) in altera_pcie_retrain()
383 lnkcap = (lnkcap & ~PCI_EXP_LNKCAP_SLS) | gen; in brcm_pcie_set_gen()
913 reg_field |= PCI_EXP_LNKCAP_SLS & lnkcap; in xen_pt_linkctrl2_reg_init()
798 (u8)(caps & PCI_EXP_LNKCAP_SLS); in hba_ioctl_callback()
6388 if ((lnkcap & PCI_EXP_LNKCAP_SLS) == PCI_EXP_LNKCAP_SLS_5_0GB) in pcie_get_speed_cap()6390 else if ((lnkcap & PCI_EXP_LNKCAP_SLS) == PCI_EXP_LNKCAP_SLS_2_5GB) in pcie_get_speed_cap()
821 bus->max_bus_speed = pcie_link_speed[linkcap & PCI_EXP_LNKCAP_SLS]; in pci_set_bus_speed()
129 lnkctl2 |= lnkcap & PCI_EXP_LNKCAP_SLS; in pcie_failed_link_retrain()
582 port->max_link_speed = lnkcap & PCI_EXP_LNKCAP_SLS; in cmd_get_physical_port_state()
636 lspeed = lstat & PCI_EXP_LNKCAP_SLS; in qla24xx_pci_info_str()