Lines Matching refs:thermalvalue

187 			       bool *internal_pa, u8 thermalvalue, u8 delta,  in rtl92d_bandtype_5G()  argument
219 if (thermalvalue > rtlefuse->eeprom_thermalmeter) in rtl92d_bandtype_5G()
237 if (thermalvalue > rtlefuse->eeprom_thermalmeter) { in rtl92d_bandtype_5G()
238 if (*internal_pa && thermalvalue > 0x12) { in rtl92d_bandtype_5G()
288 u8 thermalvalue, delta, delta_lck, delta_iqk, delta_rxgain; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local
310 thermalvalue = (u8)rtl_get_rfreg(hw, RF90_PATH_A, RF_T_METER, 0xf800); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
314 thermalvalue, in rtl92d_dm_txpower_tracking_callback_thermalmeter()
315 dm->thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
317 if (!thermalvalue) in rtl92d_dm_txpower_tracking_callback_thermalmeter()
325 if (dm->thermalvalue && !rtlhal->reloadtxpowerindex) in rtl92d_dm_txpower_tracking_callback_thermalmeter()
367 if (!dm->thermalvalue) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()
368 dm->thermalvalue = rtlefuse->eeprom_thermalmeter; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
369 dm->thermalvalue_lck = thermalvalue; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
370 dm->thermalvalue_iqk = thermalvalue; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
393 dm->thermalvalue_avg[dm->thermalvalue_avg_index] = thermalvalue; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
407 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
410 delta = abs_diff(thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
414 delta = abs_diff(thermalvalue, dm->thermalvalue); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
416 delta = abs_diff(thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
419 delta_lck = abs_diff(thermalvalue, dm->thermalvalue_lck); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
420 delta_iqk = abs_diff(thermalvalue, dm->thermalvalue_iqk); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
421 delta_rxgain = abs_diff(thermalvalue, dm->thermalvalue_rxgain); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
425 thermalvalue, dm->thermalvalue, rtlefuse->eeprom_thermalmeter, in rtl92d_dm_txpower_tracking_callback_thermalmeter()
429 dm->thermalvalue_lck = thermalvalue; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
437 delta = abs_diff(thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
446 if (thermalvalue > dm->thermalvalue) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()
459 thermalvalue, delta, rf, rtlefuse, rtlpriv, in rtl92d_dm_txpower_tracking_callback_thermalmeter()
604 dm->thermalvalue_iqk = thermalvalue; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
609 thermalvalue <= rtlefuse->eeprom_thermalmeter) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()
610 dm->thermalvalue_rxgain = thermalvalue; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
615 dm->thermalvalue = thermalvalue; in rtl92d_dm_txpower_tracking_callback_thermalmeter()