/openbmc/qemu/hw/pci/ |
H A D | pcie.c | 1087 if ((lnksta & PCI_EXP_LNKSTA_CLS) > (lnkcap & PCI_EXP_LNKCAP_SLS)) { in pcie_sync_bridge_lnk() 1088 lnksta &= ~PCI_EXP_LNKSTA_CLS; in pcie_sync_bridge_lnk() 1090 } else if (!(lnksta & PCI_EXP_LNKSTA_CLS)) { in pcie_sync_bridge_lnk() 1096 PCI_EXP_LNKSTA_CLS | PCI_EXP_LNKSTA_NLW); in pcie_sync_bridge_lnk() 1098 (PCI_EXP_LNKSTA_CLS | PCI_EXP_LNKSTA_NLW)); in pcie_sync_bridge_lnk()
|
/openbmc/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-host.c | 137 if ((lnk_stat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in cdns_pcie_retrain()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rcar-ep.c | 65 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_ep_hw_init()
|
H A D | pcie-altera.c | 615 if ((linkstat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in altera_pcie_retrain()
|
H A D | pcie-rcar-host.c | 315 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_force_speedup()
|
H A D | pci-tegra.c | 649 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_apply_sw_fixup() 2306 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_change_link_speed()
|
H A D | pcie-brcmstb.c | 1074 cls = FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta); in brcm_pcie_start_link()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 566 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 567 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-driver.c | 178 switch (stat & PCI_EXP_LNKSTA_CLS) { in get_link_speed()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-qcom-ep.c | 295 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_ep_icc_update()
|
H A D | pcie-designware.c | 669 FIELD_GET(PCI_EXP_LNKSTA_CLS, val), in dw_pcie_wait_for_link()
|
H A D | pcie-tegra194.c | 322 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, val); in tegra_pcie_icc_set() 420 PCI_EXP_LNKSTA_CLS); in tegra_pcie_rp_irq_handler()
|
H A D | pci-imx6.c | 943 dev_info(dev, "Link up, Gen%i\n", tmp & PCI_EXP_LNKSTA_CLS); in imx6_pcie_start_link()
|
H A D | pcie-qcom.c | 1385 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_icc_update()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | pcie.c | 199 switch (linkstat & PCI_EXP_LNKSTA_CLS) { in extract_speed()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.c | 41 switch (pcie_link_status & PCI_EXP_LNKSTA_CLS) { in igb_get_bus_info_pcie()
|
/openbmc/linux/drivers/pci/ |
H A D | pci-sysfs.c | 216 speed = pcie_link_speed[linkstat & PCI_EXP_LNKSTA_CLS]; in current_link_speed_show()
|
H A D | probe.c | 735 bus->cur_bus_speed = pcie_link_speed[linksta & PCI_EXP_LNKSTA_CLS]; in pcie_update_link_speed()
|
H A D | pci.c | 6337 next_speed = pcie_link_speed[lnksta & PCI_EXP_LNKSTA_CLS]; in pcie_bandwidth_available()
|
/openbmc/linux/drivers/misc/bcm-vk/ |
H A D | bcm_vk_dev.c | 1627 (lnksta & PCI_EXP_LNKSTA_CLS) != PCI_EXP_LNKSTA_CLS_2_5GB) { in bcm_vk_shutdown()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | drv.c | 1495 u16_get_bits(link_status, PCI_EXP_LNKSTA_CLS); in iwl_pci_probe()
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_ioctl.c | 796 (u8)(stat & PCI_EXP_LNKSTA_CLS); in hba_ioctl_callback()
|
/openbmc/qemu/hw/cxl/ |
H A D | cxl-mailbox-utils.c | 583 port->current_link_speed = lnksta & PCI_EXP_LNKSTA_CLS; in cmd_get_physical_port_state()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 4478 switch (link_status & PCI_EXP_LNKSTA_CLS) { in i40e_set_pci_config_data()
|