Home
last modified time | relevance | path

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

/linux-6.15/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()
/linux-6.15/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-rcar-host.c316 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_force_speedup()
H A Dpcie-altera.c775 if ((linkstat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in altera_pcie_retrain()
H A Dpci-tegra.c649 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_apply_sw_fixup()
2276 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_change_link_speed()
H A Dpcie-brcmstb.c1366 cls = FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta); in brcm_pcie_start_link()
/linux-6.15/include/uapi/linux/
H A Dpci_regs.h569 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
/linux-6.15/drivers/media/pci/cobalt/
H A Dcobalt-driver.c178 switch (stat & PCI_EXP_LNKSTA_CLS) { in get_link_speed()
/linux-6.15/drivers/pci/controller/dwc/
H A Dpcie-qcom-ep.c318 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_ep_icc_update()
H A Dpcie-tegra194.c311 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, val); in tegra_pcie_icc_set()
409 PCI_EXP_LNKSTA_CLS); in tegra_pcie_rp_irq_handler()
H A Dpcie-designware.c707 FIELD_GET(PCI_EXP_LNKSTA_CLS, val), in dw_pcie_wait_for_link()
H A Dpci-imx6.c926 dev_info(dev, "Link up, Gen%i\n", tmp & PCI_EXP_LNKSTA_CLS); in imx_pcie_start_link()
H A Dpcie-qcom.c1492 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_icc_opp_update()
/linux-6.15/drivers/pci/
H A Dpci.h457 bus->cur_bus_speed = pcie_link_speed[linksta & PCI_EXP_LNKSTA_CLS]; in __pcie_update_link_speed()
H A Dpci-sysfs.c221 speed = pcie_link_speed[linkstat & PCI_EXP_LNKSTA_CLS]; in current_link_speed_show()
H A Dpci.c6022 return pcie_link_speed[FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta)]; in to_pcie_link_speed()
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dpcie.c199 switch (linkstat & PCI_EXP_LNKSTA_CLS) { in extract_speed()
/linux-6.15/drivers/net/ethernet/intel/igb/
H A De1000_mac.c42 switch (pcie_link_status & PCI_EXP_LNKSTA_CLS) { in igb_get_bus_info_pcie()
/linux-6.15/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()
/linux-6.15/drivers/scsi/esas2r/
H A Desas2r_ioctl.c797 gai->pci.link_speed_curr = FIELD_GET(PCI_EXP_LNKSTA_CLS, stat); in hba_ioctl_callback()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/pcie/
H A Ddrv.c1659 u16_get_bits(link_status, PCI_EXP_LNKSTA_CLS); in iwl_pci_probe()
/linux-6.15/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c3963 switch (link_status & PCI_EXP_LNKSTA_CLS) { in i40e_set_pci_config_data()
/linux-6.15/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c8884 p->speed = val & PCI_EXP_LNKSTA_CLS; in get_pci_mode()
/linux-6.15/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c6251 speed = lnksta & PCI_EXP_LNKSTA_CLS; in megasas_init_fw()
/linux-6.15/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c3326 speed = lnksta & PCI_EXP_LNKSTA_CLS; in _base_check_and_enable_high_iops_queues()