Lines Matching refs:hyst
240 int ret, temp, hyst; in jc42_read() local
280 hyst = jc42_hysteresis[FIELD_GET(JC42_CFG_HYST_MASK, in jc42_read()
282 *val = temp - hyst; in jc42_read()
291 hyst = jc42_hysteresis[FIELD_GET(JC42_CFG_HYST_MASK, in jc42_read()
293 *val = temp - hyst; in jc42_read()
331 int diff, hyst; in jc42_write() local
363 hyst = 0; in jc42_write()
366 hyst = 1; /* 1.5 degrees C */ in jc42_write()
368 hyst = 2; /* 3.0 degrees C */ in jc42_write()
370 hyst = 3; /* 6.0 degrees C */ in jc42_write()
373 FIELD_PREP(JC42_CFG_HYST_MASK, hyst); in jc42_write()