Searched refs:PCI_EXP_LNKSTA_CLS (Results 1 – 25 of 25) sorted by relevance
/linux-6.6.21/drivers/pci/controller/cadence/ |
D | pcie-cadence-host.c | 137 if ((lnk_stat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in cdns_pcie_retrain()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pcie-rcar-ep.c | 65 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_ep_hw_init()
|
D | pcie-altera.c | 615 if ((linkstat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in altera_pcie_retrain()
|
D | pcie-rcar-host.c | 311 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_force_speedup()
|
D | pci-tegra.c | 649 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_apply_sw_fixup() 2306 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_change_link_speed()
|
D | pcie-brcmstb.c | 1074 cls = FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta); in brcm_pcie_start_link()
|
/linux-6.6.21/include/uapi/linux/ |
D | pci_regs.h | 566 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
|
/linux-6.6.21/drivers/media/pci/cobalt/ |
D | cobalt-driver.c | 178 switch (stat & PCI_EXP_LNKSTA_CLS) { in get_link_speed()
|
/linux-6.6.21/drivers/pci/controller/dwc/ |
D | pcie-qcom-ep.c | 295 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_ep_icc_update()
|
D | pcie-designware.c | 669 FIELD_GET(PCI_EXP_LNKSTA_CLS, val), in dw_pcie_wait_for_link()
|
D | pcie-tegra194.c | 322 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, val); in tegra_pcie_icc_set() 420 PCI_EXP_LNKSTA_CLS); in tegra_pcie_rp_irq_handler()
|
D | pci-imx6.c | 943 dev_info(dev, "Link up, Gen%i\n", tmp & PCI_EXP_LNKSTA_CLS); in imx6_pcie_start_link()
|
D | pcie-qcom.c | 1375 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_icc_update()
|
/linux-6.6.21/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 41 switch (pcie_link_status & PCI_EXP_LNKSTA_CLS) { in igb_get_bus_info_pcie()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | pcie.c | 199 switch (linkstat & PCI_EXP_LNKSTA_CLS) { in extract_speed()
|
/linux-6.6.21/drivers/pci/ |
D | pci-sysfs.c | 216 speed = pcie_link_speed[linkstat & PCI_EXP_LNKSTA_CLS]; in current_link_speed_show()
|
D | probe.c | 735 bus->cur_bus_speed = pcie_link_speed[linksta & PCI_EXP_LNKSTA_CLS]; in pcie_update_link_speed()
|
D | pci.c | 6275 next_speed = pcie_link_speed[lnksta & PCI_EXP_LNKSTA_CLS]; in pcie_bandwidth_available()
|
/linux-6.6.21/drivers/misc/bcm-vk/ |
D | bcm_vk_dev.c | 1627 (lnksta & PCI_EXP_LNKSTA_CLS) != PCI_EXP_LNKSTA_CLS_2_5GB) { in bcm_vk_shutdown()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | drv.c | 1466 u16_get_bits(link_status, PCI_EXP_LNKSTA_CLS); in iwl_pci_probe()
|
/linux-6.6.21/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 796 (u8)(stat & PCI_EXP_LNKSTA_CLS); in hba_ioctl_callback()
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_common.c | 4474 switch (link_status & PCI_EXP_LNKSTA_CLS) { in i40e_set_pci_config_data()
|
/linux-6.6.21/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 6244 speed = lnksta & PCI_EXP_LNKSTA_CLS; in megasas_init_fw()
|
/linux-6.6.21/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 3305 speed = lnksta & PCI_EXP_LNKSTA_CLS; in _base_check_and_enable_high_iops_queues()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 8884 p->speed = val & PCI_EXP_LNKSTA_CLS; in get_pci_mode()
|