Lines Matching refs:hyst
230 int ret, temp, hyst; in jc42_read() local
270 hyst = jc42_hysteresis[(data->config & JC42_CFG_HYST_MASK) in jc42_read()
272 *val = temp - hyst; in jc42_read()
281 hyst = jc42_hysteresis[(data->config & JC42_CFG_HYST_MASK) in jc42_read()
283 *val = temp - hyst; in jc42_read()
321 int diff, hyst; in jc42_write() local
353 hyst = 0; in jc42_write()
356 hyst = 1; /* 1.5 degrees C */ in jc42_write()
358 hyst = 2; /* 3.0 degrees C */ in jc42_write()
360 hyst = 3; /* 6.0 degrees C */ in jc42_write()
363 (hyst << JC42_CFG_HYST_SHIFT); in jc42_write()