Lines Matching refs:thrs
63 enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_set_threshold_state() argument
67 priv->sensor.alarm_state[thrs] = st; in nvkm_therm_sensor_set_threshold_state()
73 enum nvkm_therm_thrs thrs) in nvkm_therm_sensor_get_threshold_state() argument
76 return priv->sensor.alarm_state[thrs]; in nvkm_therm_sensor_get_threshold_state()
87 nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, in nvkm_therm_sensor_event() argument
97 if (thrs < 0 || thrs > 3) in nvkm_therm_sensor_event()
102 temperature, thresolds[thrs]); in nvkm_therm_sensor_event()
105 temperature, thresolds[thrs]); in nvkm_therm_sensor_event()
108 switch (thrs) { in nvkm_therm_sensor_event()
143 const struct nvbios_therm_threshold *thrs, in nvkm_therm_threshold_hyst_polling() argument
152 if (temp >= thrs->temp && prev_state == NVKM_THERM_THRS_LOWER) { in nvkm_therm_threshold_hyst_polling()
155 } else if (temp <= thrs->temp - thrs->hysteresis && in nvkm_therm_threshold_hyst_polling()