Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/halrf_8852b/
H A Dhalrf_tssi_8852b.c357 s8 thermal_offset[64] = {0}; in _halrf_tssi_set_tmeter_tbl_8852b() local
376 thermal_offset_tmp = (thermal_offset[i] & 0xff) | in _halrf_tssi_set_tmeter_tbl_8852b()
377 (thermal_offset[i + 1] & 0xff) << 8 | in _halrf_tssi_set_tmeter_tbl_8852b()
378 (thermal_offset[i + 2] & 0xff) << 16 | in _halrf_tssi_set_tmeter_tbl_8852b()
379 (thermal_offset[i + 3] & 0xff) << 24; in _halrf_tssi_set_tmeter_tbl_8852b()
428 hal_mem_set(hal, thermal_offset, 0, sizeof(thermal_offset)); in _halrf_tssi_set_tmeter_tbl_8852b()
445 thermal_offset_tmp = (thermal_offset[i] & 0xff) | in _halrf_tssi_set_tmeter_tbl_8852b()
446 (thermal_offset[i + 1] & 0xff) << 8 | in _halrf_tssi_set_tmeter_tbl_8852b()
447 (thermal_offset[i + 2] & 0xff) << 16 | in _halrf_tssi_set_tmeter_tbl_8852b()
448 (thermal_offset[i + 3] & 0xff) << 24; in _halrf_tssi_set_tmeter_tbl_8852b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/halrf_8852b/
H A Dhalrf_tssi_8852b.c357 s8 thermal_offset[64] = {0}; in _halrf_tssi_set_tmeter_tbl_8852b() local
376 thermal_offset_tmp = (thermal_offset[i] & 0xff) | in _halrf_tssi_set_tmeter_tbl_8852b()
377 (thermal_offset[i + 1] & 0xff) << 8 | in _halrf_tssi_set_tmeter_tbl_8852b()
378 (thermal_offset[i + 2] & 0xff) << 16 | in _halrf_tssi_set_tmeter_tbl_8852b()
379 (thermal_offset[i + 3] & 0xff) << 24; in _halrf_tssi_set_tmeter_tbl_8852b()
428 hal_mem_set(hal, thermal_offset, 0, sizeof(thermal_offset)); in _halrf_tssi_set_tmeter_tbl_8852b()
445 thermal_offset_tmp = (thermal_offset[i] & 0xff) | in _halrf_tssi_set_tmeter_tbl_8852b()
446 (thermal_offset[i + 1] & 0xff) << 8 | in _halrf_tssi_set_tmeter_tbl_8852b()
447 (thermal_offset[i + 2] & 0xff) << 16 | in _halrf_tssi_set_tmeter_tbl_8852b()
448 (thermal_offset[i + 3] & 0xff) << 24; in _halrf_tssi_set_tmeter_tbl_8852b()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/halrf/rtl8822c/
H A Dhalrf_tssi_8822c.c269 s8 thermal_offset[64] = {0}; in _halrf_calculate_set_thermal_codeword_8822c() local
282 thermal_offset_tmp = thermal_offset_tmp | ((thermal_offset[i++] & 0x3f) << j); in _halrf_calculate_set_thermal_codeword_8822c()
348 thermal_offset_tmp = thermal_offset_tmp | ((thermal_offset[i++] & 0x3f) << j); in _halrf_calculate_set_thermal_codeword_8822c()
373 thermal_offset[j] = thermal_down_a[i++]; in _halrf_calculate_set_thermal_codeword_8822c()
375 thermal_offset[j] = thermal_down_a[DELTA_SWINGIDX_SIZE - 1]; in _halrf_calculate_set_thermal_codeword_8822c()
381 thermal_offset[j] = -1 * thermal_up_a[i++]; in _halrf_calculate_set_thermal_codeword_8822c()
383 thermal_offset[j] = -1 * thermal_up_a[DELTA_SWINGIDX_SIZE - 1]; in _halrf_calculate_set_thermal_codeword_8822c()
389 __func__, i, thermal_offset[i] & 0xff, thermal_offset[i + 1] & 0xff, in _halrf_calculate_set_thermal_codeword_8822c()
390 thermal_offset[i + 2] & 0xff, thermal_offset[i + 3] & 0xff); in _halrf_calculate_set_thermal_codeword_8822c()
398 thermal_offset_tmp = thermal_offset_tmp | ((thermal_offset[i++] & 0x3f) << j); in _halrf_calculate_set_thermal_codeword_8822c()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/rtl8188e/
H A Drtl8188e_hal_init.c3275 u8 thermal_offset = 0; in Hal_ReadRFGainOffset() local
3312 efuse_OneByteRead(Adapter, EEPROM_THERMAL_OFFSET, &thermal_offset, _FALSE); in Hal_ReadRFGainOffset()
3313 if (thermal_offset != 0xFF) { in Hal_ReadRFGainOffset()
3314 if (thermal_offset & BIT0) in Hal_ReadRFGainOffset()
3315 pHalData->eeprom_thermal_meter += ((thermal_offset >> 1) & 0x0F); in Hal_ReadRFGainOffset()
3317 pHalData->eeprom_thermal_meter -= ((thermal_offset >> 1) & 0x0F); in Hal_ReadRFGainOffset()
3319 …fset:0x%02x pHalData->eeprom_thermal_meter=0x%02x\n", __FUNCTION__ , thermal_offset, pHalData->eep… in Hal_ReadRFGainOffset()
3324 __FUNCTION__, pHalData->EEPROMRFGainOffset, pHalData->EEPROMRFGainVal, thermal_offset); in Hal_ReadRFGainOffset()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/rtl8188e/
H A Drtl8188e_hal_init.c3646 u8 thermal_offset=0; in Hal_ReadRFGainOffset() local
3679 thermal_offset = EFUSE_Read1Byte(Adapter, EEPROM_THERMAL_OFFSET); in Hal_ReadRFGainOffset()
3680 if( thermal_offset != 0xFF){ in Hal_ReadRFGainOffset()
3681 if(thermal_offset & BIT0) in Hal_ReadRFGainOffset()
3682 pHalData->EEPROMThermalMeter += ((thermal_offset>>1) & 0x0F); in Hal_ReadRFGainOffset()
3684 pHalData->EEPROMThermalMeter -= ((thermal_offset>>1) & 0x0F); in Hal_ReadRFGainOffset()
3686 …l_offset:0x%02x pHalData->EEPROMThermalMeter=0x%02x\n",__FUNCTION__ ,thermal_offset,pHalData->EEPR… in Hal_ReadRFGainOffset()
3691 __FUNCTION__, pHalData->EEPROMRFGainOffset,pHalData->EEPROMRFGainVal,thermal_offset); in Hal_ReadRFGainOffset()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/
H A Dhal_mp.c1512 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1515 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1517 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/
H A Dhal_mp.c1623 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1633 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1635 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/
H A Dhal_mp.c1623 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1633 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1635 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/
H A Dhal_mp.c1623 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1633 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1635 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/
H A Dhal_mp.c1627 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1637 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1639 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/
H A Dhal_mp.c1691 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1701 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1703 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/
H A Dhal_mp.c1710 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1720 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1722 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/
H A Dhal_mp.c1696 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1706 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1708 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/
H A Dhal_mp.c1697 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1707 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1709 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/
H A Dhal_mp.c1690 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1700 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1702 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/
H A Dhal_mp.c1696 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1706 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1708 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/
H A Dhal_mp.c1729 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1739 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1741 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/
H A Dhal_mp.c1690 s8 thermal_offset = 0; in hal_mpt_ReadRFThermalMeter() local
1700 thermal_offset = phydm_get_thermal_offset(p_dm_odm); in hal_mpt_ReadRFThermalMeter()
1702 thermal_value_temp = ThermalValue + thermal_offset; in hal_mpt_ReadRFThermalMeter()