Searched refs:thrs (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | temp.c | 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 [all …]
|
D | g84.c | 97 const struct nvbios_therm_threshold *thrs, in g84_therm_threshold_hyst_emulation() argument 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()
|
/linux-4.1.27/Documentation/devicetree/bindings/hwmon/ |
D | ibmpowernv.txt | 20 amb-temp#1-thrs {
|