Lines Matching defs:therm
92 int therm;
430 return sysfs_emit(buf, "%d\n", priv->therm);
450 dev_dbg(&priv->client->dev, "setting therm %ld", temp);
453 * hysteresis reg is relative to therm, so the HW does not need to be
456 priv->hyst = temp - (priv->therm - priv->hyst);
457 priv->therm = temp;
488 temp = clamp_val(temp, -64000, priv->therm);
491 temp = priv->therm - temp;
729 ret = stts751_read_reg8(priv, &priv->therm, STTS751_REG_TLIM);
736 priv->hyst = priv->therm - tmp;
746 static SENSOR_DEVICE_ATTR_RW(temp1_crit, therm, 0);