Searched refs:o_slope (Results 1 – 2 of 2) sorted by relevance
289 s32 o_slope; member568 tmp /= mt->conf->cali_val + mt->o_slope; in raw_to_mcelsius_v1()599 tmp = tmp / (165 - mt->o_slope); in raw_to_mcelsius_v2()601 tmp = tmp / (165 + mt->o_slope); in raw_to_mcelsius_v2()866 mt->o_slope = -CALIB_BUF0_O_SLOPE_V1(buf[0]); in mtk_thermal_extract_efuse_v1()868 mt->o_slope = CALIB_BUF0_O_SLOPE_V1(buf[0]); in mtk_thermal_extract_efuse_v1()881 mt->o_slope = CALIB_BUF0_O_SLOPE_V2(buf[0]); in mtk_thermal_extract_efuse_v2()903 mt->o_slope = 0; in mtk_thermal_get_calibration_data()
1804 int o_slope, o_slope_sign, ts_id; in svs_mt8183_efuse_parsing() local1902 o_slope = (svsp->tefuse[0] >> 26) & GENMASK(5, 0); in svs_mt8183_efuse_parsing()1906 o_slope = 0; in svs_mt8183_efuse_parsing()1942 mts = (temp0 * 10) / (1534 + o_slope * 10); in svs_mt8183_efuse_parsing()1944 mts = (temp0 * 10) / (1534 - o_slope * 10); in svs_mt8183_efuse_parsing()1973 temp2 = temp1 * 100 / (1534 + o_slope * 10); in svs_mt8183_efuse_parsing()1975 temp2 = temp1 * 100 / (1534 - o_slope * 10); in svs_mt8183_efuse_parsing()