Lines Matching full:hyst
271 int temp, hyst; in jc42_read() local
291 hyst = jc42_hysteresis[(data->config & JC42_CFG_HYST_MASK) in jc42_read()
293 *val = temp - hyst; in jc42_read()
297 hyst = jc42_hysteresis[(data->config & JC42_CFG_HYST_MASK) in jc42_read()
299 *val = temp - hyst; in jc42_read()
320 int diff, hyst; in jc42_write() local
350 hyst = 0; in jc42_write()
353 hyst = 1; /* 1.5 degrees C */ in jc42_write()
355 hyst = 2; /* 3.0 degrees C */ in jc42_write()
357 hyst = 3; /* 6.0 degrees C */ in jc42_write()
360 (hyst << JC42_CFG_HYST_SHIFT); in jc42_write()