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