Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/thermal/
Drcar_gen3_thermal.c130 int *ptat, int *thcode) in rcar_gen3_thermal_calc_coefs() argument
143 coef->a1 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[2]), in rcar_gen3_thermal_calc_coefs()
145 coef->b1 = FIXPT_INT(thcode[2]) - coef->a1 * TJ_3; in rcar_gen3_thermal_calc_coefs()
147 coef->a2 = FIXPT_DIV(FIXPT_INT(thcode[1] - thcode[0]), in rcar_gen3_thermal_calc_coefs()
149 coef->b2 = FIXPT_INT(thcode[0]) - coef->a2 * TJ_1; in rcar_gen3_thermal_calc_coefs()
350 int thcode[TSC_MAX_NUM][3] = { in rcar_gen3_thermal_probe() local
415 rcar_gen3_thermal_calc_coefs(&tsc->coef, ptat, thcode[i]); in rcar_gen3_thermal_probe()