Searched refs:PCI_EXP_LNKSTA_CLS (Results 1 – 22 of 22) sorted by relevance
/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 | 775 if ((linkstat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in altera_pcie_retrain()
|
H A D | pci-tegra.c | 650 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 D | pcie-brcmstb.c | 1386 cls = FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta); in brcm_pcie_start_link()
|
/linux/include/uapi/linux/ |
H A D | pci_regs.h | 569 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
|
/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-host.c | 139 if ((lnk_stat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in cdns_pcie_retrain()
|
/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-driver.c | 178 switch (stat & PCI_EXP_LNKSTA_CLS) { in get_link_speed()
|
/linux/drivers/pci/controller/dwc/ |
H A D | pcie-qcom-ep.c | 322 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_ep_icc_update()
|
H A D | pcie-tegra194.c | 220 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 D | pcie-designware.c | 729 FIELD_GET(PCI_EXP_LNKSTA_CLS, val), in dw_pcie_wait_for_link()
|
H A D | pcie-qcom.c | 1569 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_icc_opp_update()
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.c | 42 switch (pcie_link_status & PCI_EXP_LNKSTA_CLS) { in igb_get_bus_info_pcie()
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | pcie.c | 199 switch (linkstat & PCI_EXP_LNKSTA_CLS) { in extract_speed()
|
/linux/drivers/pci/ |
H A D | pci.h | 464 bus->cur_bus_speed = pcie_link_speed[linksta & PCI_EXP_LNKSTA_CLS]; in __pcie_update_link_speed()
|
H A D | pci-sysfs.c | 221 speed = pcie_link_speed[linkstat & PCI_EXP_LNKSTA_CLS]; in current_link_speed_show()
|
H A D | pci.c | 6016 return pcie_link_speed[FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta)]; in to_pcie_link_speed()
|
/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()
|
/linux/drivers/scsi/esas2r/ |
H A D | esas2r_ioctl.c | 797 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 D | trans.c | 4246 u16_get_bits(link_status, PCI_EXP_LNKSTA_CLS); in iwl_pci_gen1_2_probe()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 3895 switch (link_status & PCI_EXP_LNKSTA_CLS) { in i40e_set_pci_config_data()
|
/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 6257 speed = lnksta & PCI_EXP_LNKSTA_CLS; in megasas_init_fw()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 8884 p->speed = val & PCI_EXP_LNKSTA_CLS; in get_pci_mode()
|