Searched refs:thcode (Results 1 – 1 of 1) sorted by relevance
66 static const int thcode[TSC_MAX_NUM][3] = { variable137 int *ptat, const int *thcode, in rcar_gen3_thermal_calc_coefs() argument149 tsc->coef.a1 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[2]), in rcar_gen3_thermal_calc_coefs()151 tsc->coef.b1 = FIXPT_INT(thcode[2]) - tsc->coef.a1 * TJ_3; in rcar_gen3_thermal_calc_coefs()153 tsc->coef.a2 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[0]), in rcar_gen3_thermal_calc_coefs()155 tsc->coef.b2 = FIXPT_INT(thcode[0]) - tsc->coef.a2 * ths_tj_1; in rcar_gen3_thermal_calc_coefs()177 if (reg <= thcode[tsc->id][1]) in rcar_gen3_thermal_get_temp()429 rcar_gen3_thermal_calc_coefs(tsc, ptat, thcode[i], in rcar_gen3_thermal_probe()