Home
last modified time | relevance | path

Searched refs:PCI_EXP_LNKSTA_CLS (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/qemu/hw/pci/
H A Dpcie.c1087 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 Dpcie-cadence-host.c137 if ((lnk_stat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in cdns_pcie_retrain()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-rcar-ep.c65 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_ep_hw_init()
H A Dpcie-altera.c615 if ((linkstat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in altera_pcie_retrain()
H A Dpcie-rcar-host.c315 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_force_speedup()
H A Dpci-tegra.c649 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 Dpcie-brcmstb.c1074 cls = FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta); in brcm_pcie_start_link()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h566 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h567 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-driver.c178 switch (stat & PCI_EXP_LNKSTA_CLS) { in get_link_speed()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-qcom-ep.c295 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_ep_icc_update()
H A Dpcie-designware.c669 FIELD_GET(PCI_EXP_LNKSTA_CLS, val), in dw_pcie_wait_for_link()
H A Dpcie-tegra194.c322 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 Dpci-imx6.c943 dev_info(dev, "Link up, Gen%i\n", tmp & PCI_EXP_LNKSTA_CLS); in imx6_pcie_start_link()
H A Dpcie-qcom.c1385 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_icc_update()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dpcie.c199 switch (linkstat & PCI_EXP_LNKSTA_CLS) { in extract_speed()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_mac.c41 switch (pcie_link_status & PCI_EXP_LNKSTA_CLS) { in igb_get_bus_info_pcie()
/openbmc/linux/drivers/pci/
H A Dpci-sysfs.c216 speed = pcie_link_speed[linkstat & PCI_EXP_LNKSTA_CLS]; in current_link_speed_show()
H A Dprobe.c735 bus->cur_bus_speed = pcie_link_speed[linksta & PCI_EXP_LNKSTA_CLS]; in pcie_update_link_speed()
H A Dpci.c6337 next_speed = pcie_link_speed[lnksta & PCI_EXP_LNKSTA_CLS]; in pcie_bandwidth_available()
/openbmc/linux/drivers/misc/bcm-vk/
H A Dbcm_vk_dev.c1627 (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 Ddrv.c1495 u16_get_bits(link_status, PCI_EXP_LNKSTA_CLS); in iwl_pci_probe()
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_ioctl.c796 (u8)(stat & PCI_EXP_LNKSTA_CLS); in hba_ioctl_callback()
/openbmc/qemu/hw/cxl/
H A Dcxl-mailbox-utils.c583 port->current_link_speed = lnksta & PCI_EXP_LNKSTA_CLS; in cmd_get_physical_port_state()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c4478 switch (link_status & PCI_EXP_LNKSTA_CLS) { in i40e_set_pci_config_data()

12