Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/pci/controller/cadence/
Dpcie-cadence-host.c137 if ((lnk_stat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in cdns_pcie_retrain()
/linux-6.6.21/drivers/pci/controller/
Dpcie-rcar-ep.c65 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_ep_hw_init()
Dpcie-altera.c615 if ((linkstat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in altera_pcie_retrain()
Dpcie-rcar-host.c311 rcar_rmw32(pcie, EXPCAP(12), PCI_EXP_LNKSTA_CLS, in rcar_pcie_force_speedup()
Dpci-tegra.c649 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_apply_sw_fixup()
2306 value &= ~PCI_EXP_LNKSTA_CLS; in tegra_pcie_change_link_speed()
Dpcie-brcmstb.c1074 cls = FIELD_GET(PCI_EXP_LNKSTA_CLS, lnksta); in brcm_pcie_start_link()
/linux-6.6.21/include/uapi/linux/
Dpci_regs.h566 #define PCI_EXP_LNKSTA_CLS 0x000f /* Current Link Speed */ macro
/linux-6.6.21/drivers/media/pci/cobalt/
Dcobalt-driver.c178 switch (stat & PCI_EXP_LNKSTA_CLS) { in get_link_speed()
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-qcom-ep.c295 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_ep_icc_update()
Dpcie-designware.c669 FIELD_GET(PCI_EXP_LNKSTA_CLS, val), in dw_pcie_wait_for_link()
Dpcie-tegra194.c322 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, val); in tegra_pcie_icc_set()
420 PCI_EXP_LNKSTA_CLS); in tegra_pcie_rp_irq_handler()
Dpci-imx6.c943 dev_info(dev, "Link up, Gen%i\n", tmp & PCI_EXP_LNKSTA_CLS); in imx6_pcie_start_link()
Dpcie-qcom.c1375 speed = FIELD_GET(PCI_EXP_LNKSTA_CLS, status); in qcom_pcie_icc_update()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
De1000_mac.c41 switch (pcie_link_status & PCI_EXP_LNKSTA_CLS) { in igb_get_bus_info_pcie()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dpcie.c199 switch (linkstat & PCI_EXP_LNKSTA_CLS) { in extract_speed()
/linux-6.6.21/drivers/pci/
Dpci-sysfs.c216 speed = pcie_link_speed[linkstat & PCI_EXP_LNKSTA_CLS]; in current_link_speed_show()
Dprobe.c735 bus->cur_bus_speed = pcie_link_speed[linksta & PCI_EXP_LNKSTA_CLS]; in pcie_update_link_speed()
Dpci.c6275 next_speed = pcie_link_speed[lnksta & PCI_EXP_LNKSTA_CLS]; in pcie_bandwidth_available()
/linux-6.6.21/drivers/misc/bcm-vk/
Dbcm_vk_dev.c1627 (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/
Ddrv.c1466 u16_get_bits(link_status, PCI_EXP_LNKSTA_CLS); in iwl_pci_probe()
/linux-6.6.21/drivers/scsi/esas2r/
Desas2r_ioctl.c796 (u8)(stat & PCI_EXP_LNKSTA_CLS); in hba_ioctl_callback()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_common.c4474 switch (link_status & PCI_EXP_LNKSTA_CLS) { in i40e_set_pci_config_data()
/linux-6.6.21/drivers/scsi/megaraid/
Dmegaraid_sas_base.c6244 speed = lnksta & PCI_EXP_LNKSTA_CLS; in megasas_init_fw()
/linux-6.6.21/drivers/scsi/mpt3sas/
Dmpt3sas_base.c3305 speed = lnksta & PCI_EXP_LNKSTA_CLS; in _base_check_and_enable_high_iops_queues()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c8884 p->speed = val & PCI_EXP_LNKSTA_CLS; in get_pci_mode()