Lines Matching refs:temp
35 u8 temp = therm->temp_get(therm); in nvkm_therm_update_trip() local
41 if (temp >= trip[i].temp) in nvkm_therm_update_trip()
46 if (last_trip && temp <= (last_trip->temp) && in nvkm_therm_update_trip()
47 temp > (last_trip->temp - last_trip->hysteresis)) in nvkm_therm_update_trip()
67 u8 temp = therm->temp_get(therm); in nvkm_therm_update_linear() local
71 if (temp < linear_min_temp) in nvkm_therm_update_linear()
73 else if (temp > linear_max_temp) in nvkm_therm_update_linear()
77 duty = (temp - linear_min_temp); in nvkm_therm_update_linear()
204 return priv->bios_sensor.thrs_fan_boost.temp; in nvkm_therm_attr_get()
208 return priv->bios_sensor.thrs_down_clock.temp; in nvkm_therm_attr_get()
212 return priv->bios_sensor.thrs_critical.temp; in nvkm_therm_attr_get()
216 return priv->bios_sensor.thrs_shutdown.temp; in nvkm_therm_attr_get()
248 priv->bios_sensor.thrs_fan_boost.temp = value; in nvkm_therm_attr_set()
256 priv->bios_sensor.thrs_down_clock.temp = value; in nvkm_therm_attr_set()
264 priv->bios_sensor.thrs_critical.temp = value; in nvkm_therm_attr_set()
272 priv->bios_sensor.thrs_shutdown.temp = value; in nvkm_therm_attr_set()