Lines Matching defs:sensor
56 struct nvbios_therm_sensor *sensor = &therm->bios_sensor;
61 spin_lock_irqsave(&therm->sensor.alarm_program_lock, flags);
67 nvkm_wr32(device, 0x20484, sensor->thrs_shutdown.hysteresis);
68 nvkm_wr32(device, 0x20480, sensor->thrs_shutdown.temp);
71 nvkm_wr32(device, 0x204c4, sensor->thrs_fan_boost.temp);
74 nvkm_wr32(device, 0x204c0, sensor->thrs_critical.temp);
77 nvkm_wr32(device, 0x20414, sensor->thrs_down_clock.temp);
78 spin_unlock_irqrestore(&therm->sensor.alarm_program_lock, flags);
82 sensor->thrs_fan_boost.temp,
83 sensor->thrs_fan_boost.hysteresis,
84 sensor->thrs_down_clock.temp,
85 sensor->thrs_down_clock.hysteresis,
86 sensor->thrs_critical.temp,
87 sensor->thrs_critical.hysteresis,
88 sensor->thrs_shutdown.temp,
89 sensor->thrs_shutdown.hysteresis);
143 struct nvbios_therm_sensor *sensor = &therm->bios_sensor;
147 spin_lock_irqsave(&therm->sensor.alarm_program_lock, flags);
154 &sensor->thrs_down_clock,
162 &sensor->thrs_shutdown,
170 &sensor->thrs_fan_boost,
178 &sensor->thrs_critical,
190 spin_unlock_irqrestore(&therm->sensor.alarm_program_lock, flags);