Searched refs:PCI_EXP_LNKSTA_CLS (Results 1 – 17 of 17) 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-rcar-host.c | 309 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_force_speedup()
|
| H A D | pcie-altera.c | 775 if ((linkstat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in altera_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/include/uapi/linux/ |
| H A D | pci_regs.h | 578 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | pcie.c | 199 switch (linkstat & PCI_EXP_LNKSTA_CLS) { in extract_speed()
|
| /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/pci/ |
| H A D | pci-sysfs.c | 238 speed = pcie_link_speed[linkstat & PCI_EXP_LNKSTA_CLS]; in current_link_speed_show()
|
| H A D | pci.c | 5891 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/pci/controller/dwc/ |
| H A D | pcie-qcom.c | 1571 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_icc_opp_update()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_common.c | 3929 switch (link_status & PCI_EXP_LNKSTA_CLS) { in i40e_set_pci_config_data()
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | trans.c | 4280 u16_get_bits(link_status, PCI_EXP_LNKSTA_CLS); in iwl_pci_gen1_2_probe()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4_hw.c | 8884 p->speed = val & PCI_EXP_LNKSTA_CLS; in get_pci_mode()
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_sas_base.c | 6255 speed = lnksta & PCI_EXP_LNKSTA_CLS; in megasas_init_fw()
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_base.c | 3332 speed = lnksta & PCI_EXP_LNKSTA_CLS; in _base_check_and_enable_high_iops_queues()
|