Lines Matching refs:thermalvalue

216 	rtlpriv->dm.thermalvalue = 0;  in rtl8723be_dm_init_txpower_tracking()
731 u8 thermalvalue = 0, delta, delta_lck, delta_iqk; in rtl8723be_dm_txpower_tracking_callback_thermalmeter() local
753 thermalvalue = (u8)rtl_get_rfreg(hw, in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
755 if (!rtlpriv->dm.txpower_track_control || thermalvalue == 0 || in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
760 thermalvalue, rtldm->thermalvalue, in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
763 if (!rtldm->thermalvalue) { in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
764 rtlpriv->dm.thermalvalue_lck = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
765 rtlpriv->dm.thermalvalue_iqk = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
769 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
782 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
785 delta = (thermalvalue > rtlpriv->dm.thermalvalue) ? in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
786 (thermalvalue - rtlpriv->dm.thermalvalue) : in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
787 (rtlpriv->dm.thermalvalue - thermalvalue); in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
788 delta_lck = (thermalvalue > rtlpriv->dm.thermalvalue_lck) ? in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
789 (thermalvalue - rtlpriv->dm.thermalvalue_lck) : in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
790 (rtlpriv->dm.thermalvalue_lck - thermalvalue); in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
791 delta_iqk = (thermalvalue > rtlpriv->dm.thermalvalue_iqk) ? in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
792 (thermalvalue - rtlpriv->dm.thermalvalue_iqk) : in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
793 (rtlpriv->dm.thermalvalue_iqk - thermalvalue); in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
797 thermalvalue, rtlpriv->dm.thermalvalue, in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
801 rtlpriv->dm.thermalvalue_lck = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
809 delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
810 (thermalvalue - rtlefuse->eeprom_thermalmeter) : in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
811 (rtlefuse->eeprom_thermalmeter - thermalvalue); in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
818 if (thermalvalue > rtlefuse->eeprom_thermalmeter) { in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
870 rtldm->thermalvalue = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
874 rtldm->thermalvalue_iqk = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()