Lines Matching refs:sensor
61 struct nvbios_therm_sensor *sensor = &priv->bios_sensor; in g84_therm_program_alarms() local
64 spin_lock_irqsave(&priv->sensor.alarm_program_lock, flags); in g84_therm_program_alarms()
70 nv_wr32(therm, 0x20484, sensor->thrs_shutdown.hysteresis); in g84_therm_program_alarms()
71 nv_wr32(therm, 0x20480, sensor->thrs_shutdown.temp); in g84_therm_program_alarms()
74 nv_wr32(therm, 0x204c4, sensor->thrs_fan_boost.temp); in g84_therm_program_alarms()
77 nv_wr32(therm, 0x204c0, sensor->thrs_critical.temp); in g84_therm_program_alarms()
80 nv_wr32(therm, 0x20414, sensor->thrs_down_clock.temp); in g84_therm_program_alarms()
81 spin_unlock_irqrestore(&priv->sensor.alarm_program_lock, flags); in g84_therm_program_alarms()
85 sensor->thrs_fan_boost.temp, sensor->thrs_fan_boost.hysteresis, in g84_therm_program_alarms()
86 sensor->thrs_down_clock.temp, in g84_therm_program_alarms()
87 sensor->thrs_down_clock.hysteresis, in g84_therm_program_alarms()
88 sensor->thrs_critical.temp, sensor->thrs_critical.hysteresis, in g84_therm_program_alarms()
89 sensor->thrs_shutdown.temp, sensor->thrs_shutdown.hysteresis); in g84_therm_program_alarms()
142 struct nvbios_therm_sensor *sensor = &priv->bios_sensor; in g84_therm_intr() local
146 spin_lock_irqsave(&priv->sensor.alarm_program_lock, flags); in g84_therm_intr()
153 &sensor->thrs_down_clock, in g84_therm_intr()
161 &sensor->thrs_shutdown, in g84_therm_intr()
169 &sensor->thrs_fan_boost, in g84_therm_intr()
177 &sensor->thrs_critical, in g84_therm_intr()
189 spin_unlock_irqrestore(&priv->sensor.alarm_program_lock, flags); in g84_therm_intr()
224 priv->base.sensor.program_alarms = g84_therm_program_alarms; in g84_therm_ctor()