Searched refs:thrs (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | temp.c | 63 enum nvkm_therm_thrs thrs, nvkm_therm_sensor_set_threshold_state() 67 priv->sensor.alarm_state[thrs] = st; nvkm_therm_sensor_set_threshold_state() 73 enum nvkm_therm_thrs thrs) nvkm_therm_sensor_get_threshold_state() 76 return priv->sensor.alarm_state[thrs]; nvkm_therm_sensor_get_threshold_state() 87 nvkm_therm_sensor_event(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, nvkm_therm_sensor_event() argument 97 if (thrs < 0 || thrs > 3) nvkm_therm_sensor_event() 102 temperature, thresolds[thrs]); nvkm_therm_sensor_event() 105 temperature, thresolds[thrs]); nvkm_therm_sensor_event() 108 switch (thrs) { nvkm_therm_sensor_event() 143 const struct nvbios_therm_threshold *thrs, nvkm_therm_threshold_hyst_polling() 152 if (temp >= thrs->temp && prev_state == NVKM_THERM_THRS_LOWER) { nvkm_therm_threshold_hyst_polling() 155 } else if (temp <= thrs->temp - thrs->hysteresis && nvkm_therm_threshold_hyst_polling() 62 nvkm_therm_sensor_set_threshold_state(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs, enum nvkm_therm_thrs_state st) nvkm_therm_sensor_set_threshold_state() argument 72 nvkm_therm_sensor_get_threshold_state(struct nvkm_therm *therm, enum nvkm_therm_thrs thrs) nvkm_therm_sensor_get_threshold_state() argument 142 nvkm_therm_threshold_hyst_polling(struct nvkm_therm *therm, const struct nvbios_therm_threshold *thrs, enum nvkm_therm_thrs thrs_name) nvkm_therm_threshold_hyst_polling() argument
|
H A D | g84.c | 97 const struct nvbios_therm_threshold *thrs, g84_therm_threshold_hyst_emulation() 108 if (temp == thrs->temp) { g84_therm_threshold_hyst_emulation() 109 nv_wr32(therm, thrs_reg, thrs->temp - thrs->hysteresis); g84_therm_threshold_hyst_emulation() 112 nv_wr32(therm, thrs_reg, thrs->temp); g84_therm_threshold_hyst_emulation() 118 if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp) g84_therm_threshold_hyst_emulation() 121 cur < thrs->temp - thrs->hysteresis) g84_therm_threshold_hyst_emulation() 95 g84_therm_threshold_hyst_emulation(struct nvkm_therm *therm, uint32_t thrs_reg, u8 status_bit, const struct nvbios_therm_threshold *thrs, enum nvkm_therm_thrs thrs_name) g84_therm_threshold_hyst_emulation() argument
|
/linux-4.1.27/drivers/hwmon/ |
H A D | ibmpowernv.c | 42 #define DT_THRESHOLD_ATTR_SUFFIX "thrs" 217 * IBMPOWERNV device node appear like cooling-fan#2-data, amb-temp#1-thrs etc.
|
Completed in 153 milliseconds