Home
last modified time | relevance | path

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

/openbmc/linux/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.c723 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()
H A Dpci-imx6.c886 tmp &= ~PCI_EXP_LNKCAP_SLS; in imx6_pcie_start_link()
902 tmp &= ~PCI_EXP_LNKCAP_SLS; in imx6_pcie_start_link()
/openbmc/qemu/hw/pci/
H A Dpcie.c120 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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h534 #define PCI_EXP_LNKCAP_SLS 0x0000000f /* Supported Link Speeds */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h535 #define PCI_EXP_LNKCAP_SLS 0x0000000f /* Supported Link Speeds */ macro
/openbmc/linux/drivers/pci/controller/
H A Dpcie-altera.c610 if ((linkcap & PCI_EXP_LNKCAP_SLS) <= PCI_EXP_LNKCAP_SLS_2_5GB) in altera_pcie_retrain()
H A Dpcie-brcmstb.c383 lnkcap = (lnkcap & ~PCI_EXP_LNKCAP_SLS) | gen; in brcm_pcie_set_gen()
/openbmc/qemu/hw/xen/
H A Dxen_pt_config_init.c913 reg_field |= PCI_EXP_LNKCAP_SLS & lnkcap; in xen_pt_linkctrl2_reg_init()
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_ioctl.c798 (u8)(caps & PCI_EXP_LNKCAP_SLS); in hba_ioctl_callback()
/openbmc/linux/drivers/pci/
H A Dpci.c6376 if ((lnkcap & PCI_EXP_LNKCAP_SLS) == PCI_EXP_LNKCAP_SLS_5_0GB) in pcie_get_speed_cap()
6378 else if ((lnkcap & PCI_EXP_LNKCAP_SLS) == PCI_EXP_LNKCAP_SLS_2_5GB) in pcie_get_speed_cap()
H A Dprobe.c821 bus->max_bus_speed = pcie_link_speed[linkcap & PCI_EXP_LNKCAP_SLS]; in pci_set_bus_speed()
H A Dquirks.c117 lnkctl2 |= lnkcap & PCI_EXP_LNKCAP_SLS; in pcie_failed_link_retrain()
/openbmc/qemu/hw/cxl/
H A Dcxl-mailbox-utils.c582 port->max_link_speed = lnkcap & PCI_EXP_LNKCAP_SLS; in cmd_get_physical_port_state()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_os.c636 lspeed = lstat & PCI_EXP_LNKCAP_SLS; in qla24xx_pci_info_str()