Lines Matching refs:thermalvalue

705 	u8 thermalvalue, delta, delta_lck, delta_iqk;  in rtl92c_dm_txpower_tracking_callback_thermalmeter()  local
719 thermalvalue = (u8) rtl_get_rfreg(hw, RF90_PATH_A, RF_T_METER, 0x1f); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
723 thermalvalue, rtlpriv->dm.thermalvalue, in rtl92c_dm_txpower_tracking_callback_thermalmeter()
726 rtl92c_phy_ap_calibrate(hw, (thermalvalue - in rtl92c_dm_txpower_tracking_callback_thermalmeter()
733 if (thermalvalue) { in rtl92c_dm_txpower_tracking_callback_thermalmeter()
803 if (!rtlpriv->dm.thermalvalue) { in rtl92c_dm_txpower_tracking_callback_thermalmeter()
804 rtlpriv->dm.thermalvalue = in rtl92c_dm_txpower_tracking_callback_thermalmeter()
806 rtlpriv->dm.thermalvalue_lck = thermalvalue; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
807 rtlpriv->dm.thermalvalue_iqk = thermalvalue; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
814 delta = (thermalvalue > rtlpriv->dm.thermalvalue) ? in rtl92c_dm_txpower_tracking_callback_thermalmeter()
815 (thermalvalue - rtlpriv->dm.thermalvalue) : in rtl92c_dm_txpower_tracking_callback_thermalmeter()
816 (rtlpriv->dm.thermalvalue - thermalvalue); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
818 delta_lck = (thermalvalue > rtlpriv->dm.thermalvalue_lck) ? in rtl92c_dm_txpower_tracking_callback_thermalmeter()
819 (thermalvalue - rtlpriv->dm.thermalvalue_lck) : in rtl92c_dm_txpower_tracking_callback_thermalmeter()
820 (rtlpriv->dm.thermalvalue_lck - thermalvalue); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
822 delta_iqk = (thermalvalue > rtlpriv->dm.thermalvalue_iqk) ? in rtl92c_dm_txpower_tracking_callback_thermalmeter()
823 (thermalvalue - rtlpriv->dm.thermalvalue_iqk) : in rtl92c_dm_txpower_tracking_callback_thermalmeter()
824 (rtlpriv->dm.thermalvalue_iqk - thermalvalue); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
828 thermalvalue, rtlpriv->dm.thermalvalue, in rtl92c_dm_txpower_tracking_callback_thermalmeter()
833 rtlpriv->dm.thermalvalue_lck = thermalvalue; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
838 if (thermalvalue > rtlpriv->dm.thermalvalue) { in rtl92c_dm_txpower_tracking_callback_thermalmeter()
861 if (thermalvalue > rtlefuse->eeprom_thermalmeter) { in rtl92c_dm_txpower_tracking_callback_thermalmeter()
877 if (thermalvalue > in rtl92c_dm_txpower_tracking_callback_thermalmeter()
884 } else if (delta > 5 && thermalvalue < in rtl92c_dm_txpower_tracking_callback_thermalmeter()
891 && thermalvalue > in rtl92c_dm_txpower_tracking_callback_thermalmeter()
900 thermalvalue > in rtl92c_dm_txpower_tracking_callback_thermalmeter()
908 if (thermalvalue > in rtl92c_dm_txpower_tracking_callback_thermalmeter()
915 } else if (delta > 5 && thermalvalue < in rtl92c_dm_txpower_tracking_callback_thermalmeter()
921 thermalvalue > in rtl92c_dm_txpower_tracking_callback_thermalmeter()
930 thermalvalue > rtlefuse->eeprom_thermalmeter in rtl92c_dm_txpower_tracking_callback_thermalmeter()
1106 rtlpriv->dm.thermalvalue_iqk = thermalvalue; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
1111 rtlpriv->dm.thermalvalue = thermalvalue; in rtl92c_dm_txpower_tracking_callback_thermalmeter()