Lines Matching defs:sensor
62 therm->sensor.alarm_state[thrs] = st;
70 return therm->sensor.alarm_state[thrs];
165 container_of(alarm, struct nvkm_therm, sensor.therm_poll_alarm);
166 struct nvbios_therm_sensor *sensor = &therm->bios_sensor;
170 spin_lock_irqsave(&therm->sensor.alarm_program_lock, flags);
172 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_fan_boost,
176 &sensor->thrs_down_clock,
179 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_critical,
182 nvkm_therm_threshold_hyst_polling(therm, &sensor->thrs_shutdown,
185 spin_unlock_irqrestore(&therm->sensor.alarm_program_lock, flags);
195 struct nvbios_therm_sensor *sensor = &therm->bios_sensor;
199 sensor->thrs_fan_boost.temp,
200 sensor->thrs_fan_boost.hysteresis,
201 sensor->thrs_down_clock.temp,
202 sensor->thrs_down_clock.hysteresis,
203 sensor->thrs_critical.temp,
204 sensor->thrs_critical.hysteresis,
205 sensor->thrs_shutdown.temp,
206 sensor->thrs_shutdown.hysteresis);
208 alarm_timer_callback(&therm->sensor.therm_poll_alarm);
223 nvkm_timer_alarm(tmr, 0, &therm->sensor.therm_poll_alarm);
235 nvkm_debug(&therm->subdev, "internal sensor: %s\n", sensor_avail);
244 nvkm_alarm_init(&therm->sensor.therm_poll_alarm, alarm_timer_callback);