Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/thermal/mediatek/
Dauxadc_thermal.c342 s32 degc_cali; member
724 return mt->degc_cali * 500 - tmp; in raw_to_mcelsius_v1()
743 format_2 = (mt->degc_cali * 10) >> 1; in raw_to_mcelsius_v2()
770 return mt->degc_cali * 500 - tmp; in raw_to_mcelsius_v3()
1027 mt->degc_cali = CALIB_BUF0_DEGC_CALI_V1(buf[0]); in mtk_thermal_extract_efuse_v1()
1044 mt->degc_cali = CALIB_BUF0_DEGC_CALI_V2(buf[0]); in mtk_thermal_extract_efuse_v2()
1060 mt->degc_cali = CALIB_BUF0_DEGC_CALI_V3(buf[0]); in mtk_thermal_extract_efuse_v3()
1086 mt->degc_cali = 40; in mtk_thermal_get_calibration_data()
/linux-6.12.1/drivers/soc/mediatek/
Dmtk-svs.c1967 int adc_ge_t, adc_oe_t, ge, oe, gain, degc_cali, adc_cali_en_t; in svs_mt8183_efuse_parsing() local
2035 degc_cali = (svsp->tefuse[0] >> 1) & GENMASK(5, 0); in svs_mt8183_efuse_parsing()
2059 degc_cali < 1 || degc_cali > 63) { in svs_mt8183_efuse_parsing()
2104 temp0 = (degc_cali * 10 / 2); in svs_mt8183_efuse_parsing()