Home
last modified time | relevance | path

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

/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.c775 if ((linkstat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in altera_pcie_retrain()
H A Dpci-tegra.c650 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_apply_sw_fixup()
2251 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_change_link_speed()
H A Dpcie-brcmstb.c1386 cls = FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta); in brcm_pcie_start_link()
/linux/include/uapi/linux/
H A Dpci_regs.h569 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence-host.c139 if ((lnk_stat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in cdns_pcie_retrain()
/linux/drivers/media/pci/cobalt/
H A Dcobalt-driver.c178 switch (stat & PCI_EXP_LNKSTA_CLS) { in get_link_speed()
/linux/drivers/pci/controller/dwc/
H A Dpcie-qcom-ep.c322 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_ep_icc_update()
H A Dpcie-tegra194.c220 GEN1_CORE_CLK_FREQ, /* PCI_EXP_LNKSTA_CLS == 0; undefined */
311 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.c729 FIELD_GET(PCI_EXP_LNKSTA_CLS, val), in dw_pcie_wait_for_link()
H A Dpcie-qcom.c1569 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_icc_opp_update()
/linux/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/drivers/infiniband/hw/hfi1/
H A Dpcie.c199 switch (linkstat & PCI_EXP_LNKSTA_CLS) { in extract_speed()
/linux/drivers/pci/
H A Dpci.h464 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.c6016 return pcie_link_speed[FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta)]; in to_pcie_link_speed()
/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()
/linux/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/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/
H A Dtrans.c4246 u16_get_bits(link_status, PCI_EXP_LNKSTA_CLS); in iwl_pci_gen1_2_probe()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c3895 switch (link_status & PCI_EXP_LNKSTA_CLS) { in i40e_set_pci_config_data()
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c6257 speed = lnksta & PCI_EXP_LNKSTA_CLS; in megasas_init_fw()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c8884 p->speed = val & PCI_EXP_LNKSTA_CLS; in get_pci_mode()