Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Dphy.c357 u8 thermal_val = 0, delta, delta_lck, delta_iqk, offset; in rtl88eu_dm_txpower_tracking_callback_thermalmeter() local
386 thermal_val = (u8)rtw_hal_read_rfreg(adapt, RF_PATH_A, in rtl88eu_dm_txpower_tracking_callback_thermalmeter()
389 if (thermal_val) { in rtl88eu_dm_txpower_tracking_callback_thermalmeter()
415 dm_odm->RFCalibrateInfo.ThermalValue_LCK = thermal_val; in rtl88eu_dm_txpower_tracking_callback_thermalmeter()
416 dm_odm->RFCalibrateInfo.ThermalValue_IQK = thermal_val; in rtl88eu_dm_txpower_tracking_callback_thermalmeter()
423 …dm->RFCalibrateInfo.ThermalValue_AVG[dm_odm->RFCalibrateInfo.ThermalValue_AVG_index] = thermal_val; in rtl88eu_dm_txpower_tracking_callback_thermalmeter()
436 thermal_val = (u8)(thermal_avg / thermal_avg_count); in rtl88eu_dm_txpower_tracking_callback_thermalmeter()
440 delta = abs(thermal_val - dm_odm->RFCalibrateInfo.ThermalValue); in rtl88eu_dm_txpower_tracking_callback_thermalmeter()
442 delta = abs(thermal_val - hal_data->EEPROMThermalMeter); in rtl88eu_dm_txpower_tracking_callback_thermalmeter()
449 delta_lck = abs(dm_odm->RFCalibrateInfo.ThermalValue_LCK - thermal_val); in rtl88eu_dm_txpower_tracking_callback_thermalmeter()
[all …]