Home
last modified time | relevance | path

Searched refs:thrs (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dtemp.c59 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, thresolds[thrs]); in nvkm_therm_sensor_event()
100 temperature, thresolds[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
[all …]
Dg84.c97 const struct nvbios_therm_threshold *thrs, in g84_therm_threshold_hyst_emulation() argument
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()
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dibmpowernv.txt20 amb-temp#1-thrs {