Lines Matching refs:thrs
59 enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_set_threshold_state() argument
62 therm->sensor.alarm_state[thrs] = st; in nvkm_therm_sensor_set_threshold_state()
68 enum nvkm_therm_thrs thrs) in nvkm_therm_sensor_get_threshold_state() argument
70 return therm->sensor.alarm_state[thrs]; in nvkm_therm_sensor_get_threshold_state()
81 nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_event() argument
91 if (thrs < 0 || thrs > 3) in nvkm_therm_sensor_event()
97 temperature, thresholds[thrs]); in nvkm_therm_sensor_event()
100 temperature, thresholds[thrs]); in nvkm_therm_sensor_event()
103 switch (thrs) { in nvkm_therm_sensor_event()
138 const struct nvbios_therm_threshold *thrs, in nvkm_therm_threshold_hyst_polling() argument
147 if (temp >= thrs->temp && prev_state == NVKM_THERM_THRS_LOWER) { in nvkm_therm_threshold_hyst_polling()
150 } else if (temp <= thrs->temp - thrs->hysteresis && in nvkm_therm_threshold_hyst_polling()