Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/
H A D_pcie.c3826 u16 tar16, hw_tar16, tmp16; in pcie_autok_counter_avg() local
3852 ret = mdio_r16_pcie(adapter, RAC_CTRL_PPR_V1, phy_rate, &hw_tar16); in pcie_autok_counter_avg()
3857 PLTFM_MSG_TRACE("PCIe PHY %X: %X\n", RAC_CTRL_PPR_V1, hw_tar16); in pcie_autok_counter_avg()
3859 if (!(hw_tar16 & BAC_AUTOK_EN)) { in pcie_autok_counter_avg()
3860 PLTFM_MSG_ERR("[ERR]PCIe autok is not enabled\n: %X", hw_tar16); in pcie_autok_counter_avg()
3871 hw_tar16 = GET_FIELD(hw_tar16, BAC_AUTOK_HW_TAR); in pcie_autok_counter_avg()
3874 if (tar16 > hw_tar16) in pcie_autok_counter_avg()
3875 tmp16 = tar16 - hw_tar16; in pcie_autok_counter_avg()
3877 tmp16 = hw_tar16 - tar16; in pcie_autok_counter_avg()
3884 adapter->pcie_info.autok_total += hw_tar16; in pcie_autok_counter_avg()
[all …]