Lines Matching refs:temp
40 u8 temp = therm->func->temp_get(therm); in nvkm_therm_update_trip() local
46 if (temp >= trip[i].temp) in nvkm_therm_update_trip()
51 if (last_trip && temp <= (last_trip->temp) && in nvkm_therm_update_trip()
52 temp > (last_trip->temp - last_trip->hysteresis)) in nvkm_therm_update_trip()
71 u8 temp = therm->func->temp_get(therm); in nvkm_therm_update_linear() local
75 if (temp < linear_min_temp) in nvkm_therm_update_linear()
77 else if (temp > linear_max_temp) in nvkm_therm_update_linear()
81 duty = (temp - linear_min_temp); in nvkm_therm_update_linear()
206 return therm->bios_sensor.thrs_fan_boost.temp; in nvkm_therm_attr_get()
210 return therm->bios_sensor.thrs_down_clock.temp; in nvkm_therm_attr_get()
214 return therm->bios_sensor.thrs_critical.temp; in nvkm_therm_attr_get()
218 return therm->bios_sensor.thrs_shutdown.temp; in nvkm_therm_attr_get()
248 therm->bios_sensor.thrs_fan_boost.temp = value; in nvkm_therm_attr_set()
256 therm->bios_sensor.thrs_down_clock.temp = value; in nvkm_therm_attr_set()
264 therm->bios_sensor.thrs_critical.temp = value; in nvkm_therm_attr_set()
272 therm->bios_sensor.thrs_shutdown.temp = value; in nvkm_therm_attr_set()