Searched refs:thcode (Results 1 – 1 of 1) sorted by relevance
72 u32 thcode[3]; member103 int thcode[3]; member163 tsc->coef.below.b = (priv->ptat[2] - priv->ptat[0]) * (tsc->thcode[2] - tsc->thcode[1]); in rcar_gen3_thermal_tsc_coefs()164 tsc->coef.above.b = (priv->ptat[0] - priv->ptat[2]) * (tsc->thcode[1] - tsc->thcode[0]); in rcar_gen3_thermal_tsc_coefs()172 int adj, decicelsius, reg, thcode; in rcar_gen3_thermal_get_temp() local177 if (reg < tsc->thcode[1]) { in rcar_gen3_thermal_get_temp()180 thcode = tsc->thcode[2]; in rcar_gen3_thermal_get_temp()184 thcode = tsc->thcode[0]; in rcar_gen3_thermal_get_temp()193 decicelsius = DIV_ROUND_CLOSEST(coef->a * (thcode - reg), coef->b / 10); in rcar_gen3_thermal_get_temp()208 int adj, celsius, thcode; in rcar_gen3_thermal_mcelsius_to_temp() local[all …]