Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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 in mtk_thermal_get_calibration_data()
[all...]
/kernel/linux/linux-5.10/drivers/thermal/
H A Dmtk_thermal.c287 s32 o_slope; member
566 tmp /= mt->conf->cali_val + mt->o_slope; in raw_to_mcelsius_v1()
597 tmp = tmp / (165 - mt->o_slope); in raw_to_mcelsius_v2()
599 tmp = tmp / (165 + mt->o_slope); in raw_to_mcelsius_v2()
864 mt->o_slope = -CALIB_BUF0_O_SLOPE_V1(buf[0]); in mtk_thermal_extract_efuse_v1()
866 mt->o_slope = CALIB_BUF0_O_SLOPE_V1(buf[0]); in mtk_thermal_extract_efuse_v1()
879 mt->o_slope = CALIB_BUF0_O_SLOPE_V2(buf[0]); in mtk_thermal_extract_efuse_v2()
901 mt->o_slope = 0; in mtk_thermal_get_calibration_data()
/kernel/linux/linux-6.6/drivers/soc/mediatek/
H A Dmtk-svs.c1816 int o_slope, o_slope_sign, ts_id; in svs_mt8183_efuse_parsing() local
1916 o_slope = 1534; in svs_mt8183_efuse_parsing()
1918 o_slope = (svsp->tefuse[0] >> 26) & GENMASK(5, 0); in svs_mt8183_efuse_parsing()
1920 o_slope = 1534 + o_slope * 10; in svs_mt8183_efuse_parsing()
1922 o_slope = 1534 - o_slope * 10; in svs_mt8183_efuse_parsing()
1954 mts = (temp0 * 10) / o_slope; in svs_mt8183_efuse_parsing()
1981 temp2 = temp1 * 100 / o_slope; in svs_mt8183_efuse_parsing()

Completed in 7 milliseconds