Home
last modified time | relevance | path

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

/linux/drivers/thermal/renesas/
H A Drcar_gen3_thermal.c71 u32 ptat[3]; member
77 u32 ptat[3]; member
110 int ptat[3]; member
153 DIV_ROUND_CLOSEST((priv->ptat[1] - priv->ptat[2]) * priv->info->scale, in rcar_gen3_thermal_shared_coefs()
154 priv->ptat[0] - priv->ptat[2]) in rcar_gen3_thermal_shared_coefs()
160 tsc->coef.below.a = priv->info->scale * (priv->ptat[2] - priv->ptat[1]); in rcar_gen3_thermal_tsc_coefs()
161 tsc->coef.above.a = priv->info->scale * (priv->ptat[0] - priv->ptat[1]); in rcar_gen3_thermal_tsc_coefs()
163 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()
277 priv->ptat[0] = rcar_gen3_thermal_read(priv->tscs[0], fuses->ptat[0]) in rcar_gen3_thermal_fetch_fuses()
[all …]