Lines Matching refs:temp
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()
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()
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()
102 int temp, cur; in g84_therm_threshold_hyst_emulation() local
105 temp = nv_rd32(therm, thrs_reg); in g84_therm_threshold_hyst_emulation()
108 if (temp == thrs->temp) { in g84_therm_threshold_hyst_emulation()
109 nv_wr32(therm, thrs_reg, thrs->temp - thrs->hysteresis); in g84_therm_threshold_hyst_emulation()
112 nv_wr32(therm, thrs_reg, thrs->temp); in g84_therm_threshold_hyst_emulation()
118 if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp) in g84_therm_threshold_hyst_emulation()
121 cur < thrs->temp - thrs->hysteresis) in g84_therm_threshold_hyst_emulation()