Lines Matching refs:therm
92 int therm;
429 return sysfs_emit(buf, "%d\n", priv->therm);
449 dev_dbg(&priv->client->dev, "setting therm %ld", temp);
452 * hysteresis reg is relative to therm, so the HW does not need to be
455 priv->hyst = temp - (priv->therm - priv->hyst);
456 priv->therm = temp;
487 temp = clamp_val(temp, -64000, priv->therm);
490 temp = priv->therm - temp;
728 ret = stts751_read_reg8(priv, &priv->therm, STTS751_REG_TLIM);
735 priv->hyst = priv->therm - tmp;
745 static SENSOR_DEVICE_ATTR_RW(temp1_crit, therm, 0);