Searched refs:temp_code (Results 1 – 1 of 1) sorted by relevance
248 int temp_code; in temp_to_code() local252 temp_code = (temp - pdata->first_point_trim) * in temp_to_code()258 temp_code = temp + data->temp_error1 - pdata->first_point_trim; in temp_to_code()261 temp_code = temp + pdata->default_temp_offset; in temp_to_code()265 return temp_code; in temp_to_code()272 static int code_to_temp(struct exynos_tmu_data *data, u16 temp_code) in code_to_temp() argument279 temp = (temp_code - data->temp_error1) * in code_to_temp()285 temp = temp_code - data->temp_error1 + pdata->first_point_trim; in code_to_temp()288 temp = temp_code - pdata->default_temp_offset; in code_to_temp()