Lines Matching refs:temp
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()
82 sensor->thrs_fan_boost.temp, in g84_therm_program_alarms()
84 sensor->thrs_down_clock.temp, in g84_therm_program_alarms()
86 sensor->thrs_critical.temp, in g84_therm_program_alarms()
88 sensor->thrs_shutdown.temp, in g84_therm_program_alarms()
103 int temp, cur; in g84_therm_threshold_hyst_emulation() local
106 temp = nvkm_rd32(device, thrs_reg); in g84_therm_threshold_hyst_emulation()
109 if (temp == thrs->temp) { in g84_therm_threshold_hyst_emulation()
110 nvkm_wr32(device, thrs_reg, thrs->temp - thrs->hysteresis); in g84_therm_threshold_hyst_emulation()
113 nvkm_wr32(device, thrs_reg, thrs->temp); in g84_therm_threshold_hyst_emulation()
119 if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp) in g84_therm_threshold_hyst_emulation()
122 cur < thrs->temp - thrs->hysteresis) in g84_therm_threshold_hyst_emulation()