Home
last modified time | relevance | path

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

/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence-host.c86 u16 lnk_stat; in cdns_pcie_host_training_complete() local
91 lnk_stat = cdns_pcie_rp_readw(pcie, pcie_cap_off + PCI_EXP_LNKSTA); in cdns_pcie_host_training_complete()
92 if (!(lnk_stat & PCI_EXP_LNKSTA_LT)) in cdns_pcie_host_training_complete()
97 if (!(lnk_stat & PCI_EXP_LNKSTA_LT)) in cdns_pcie_host_training_complete()
123 u16 lnk_stat, lnk_ctl; in cdns_pcie_retrain() local
136 lnk_stat = cdns_pcie_rp_readw(pcie, pcie_cap_off + PCI_EXP_LNKSTA); in cdns_pcie_retrain()
137 if ((lnk_stat & PCI_EXP_LNKSTA_CLS) == PCI_EXP_LNKSTA_CLS_2_5GB) { in cdns_pcie_retrain()