Home
last modified time | relevance | path

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

/linux/drivers/thermal/mediatek/
H A Dauxadc_thermal.c343 s32 o_slope; member
719 tmp /= mt->conf->cali_val + mt->o_slope; in raw_to_mcelsius_v1()
750 tmp = tmp / (165 - mt->o_slope); in raw_to_mcelsius_v2()
752 tmp = tmp / (165 + mt->o_slope); in raw_to_mcelsius_v2()
1030 mt->o_slope = -CALIB_BUF0_O_SLOPE_V1(buf[0]); in mtk_thermal_extract_efuse_v1()
1032 mt->o_slope = CALIB_BUF0_O_SLOPE_V1(buf[0]); in mtk_thermal_extract_efuse_v1()
1045 mt->o_slope = CALIB_BUF0_O_SLOPE_V2(buf[0]); in mtk_thermal_extract_efuse_v2()
1061 mt->o_slope = CALIB_BUF0_O_SLOPE_V3(buf[0]); in mtk_thermal_extract_efuse_v3()
1068 mt->o_slope = 0; in mtk_thermal_extract_efuse_v3()
1087 mt->o_slope = 0; in mtk_thermal_get_calibration_data()