Home
last modified time | relevance | path

Searched refs:temp_hyst (Results 1 – 11 of 11) sorted by relevance

/drivers/hwmon/
Dlm77.c63 int temp_hyst; member
134 return sprintf(buf, "%d\n", data->temp_crit - data->temp_hyst); in show_temp_crit_hyst()
139 return sprintf(buf, "%d\n", data->temp_min + data->temp_hyst); in show_temp_min_hyst()
144 return sprintf(buf, "%d\n", data->temp_max - data->temp_hyst); in show_temp_max_hyst()
174 data->temp_hyst = data->temp_crit - val; in set_temp_crit_hyst()
176 LM77_TEMP_TO_REG(data->temp_hyst)); in set_temp_crit_hyst()
190 oldcrithyst = data->temp_crit - data->temp_hyst; in set_temp_crit()
192 data->temp_hyst = data->temp_crit - oldcrithyst; in set_temp_crit()
196 LM77_TEMP_TO_REG(data->temp_hyst)); in set_temp_crit()
406 data->temp_hyst = in lm77_update_device()
Dlm92.c259 u16 temp_low, temp_high, temp_hyst, temp_crit; in max6635_check() local
275 temp_hyst = i2c_smbus_read_word_data(client, LM92_REG_TEMP_HYST); in max6635_check()
277 if ((temp_hyst & 0x7f00) || (temp_crit & 0x7f00)) in max6635_check()
286 if (temp_hyst != i2c_smbus_read_word_data(client, in max6635_check()
Dlm90.c220 u8 temp_hyst; member
489 return sprintf(buf, "%d\n", temp - temp_from_s8(data->temp_hyst)); in show_temphyst()
508 data->temp_hyst = hyst_to_reg(temp - val); in set_temphyst()
510 data->temp_hyst); in set_temphyst()
971 lm90_read_reg(client, LM90_REG_R_TCRIT_HYST, &data->temp_hyst); in lm90_update_device()
Dvia686a.c310 u8 temp_hyst[3]; /* Register value */ member
423 return sprintf(buf, "%ld\n", TEMP_FROM_REG(data->temp_hyst[nr])); in show_temp_hyst()
447 data->temp_hyst[nr] = TEMP_TO_REG(val); in set_temp_hyst()
449 data->temp_hyst[nr]); in set_temp_hyst()
735 data->temp_hyst[i] = in via686a_update_device()
Dsis5595.c183 s8 temp_hyst; /* Register value */ member
307 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_hyst)); in show_temp_hyst()
316 data->temp_hyst = TEMP_TO_REG(val); in set_temp_hyst()
317 sis5595_write_value(data, SIS5595_REG_TEMP_HYST, data->temp_hyst); in set_temp_hyst()
682 data->temp_hyst = in sis5595_update_device()
Dlm78.c138 s8 temp_hyst; /* Register value */ member
292 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_hyst)); in show_temp_hyst()
302 data->temp_hyst = TEMP_TO_REG(val); in set_temp_hyst()
303 lm78_write_value(data, LM78_REG_TEMP_HYST, data->temp_hyst); in set_temp_hyst()
844 data->temp_hyst = in lm78_update_device()
Dgl518sm.c133 u8 temp_hyst; /* Register values */ member
182 show(TEMP, temp_hyst1, temp_hyst);
265 set(TEMP, temp_hyst1, temp_hyst, GL518_REG_TEMP_HYST);
664 data->temp_hyst = in gl518_update_device()
Dvt1211.c128 u8 temp_hyst[7]; member
277 data->temp_hyst[ix] = vt1211_read8(data, in vt1211_update_device()
426 res = TEMP_FROM_REG(ix, data->temp_hyst[ix]); in show_temp()
457 data->temp_hyst[ix] = TEMP_TO_REG(ix, val); in set_temp()
459 data->temp_hyst[ix]); in set_temp()
Dasb100.c199 u16 temp_hyst[4]; /* Register value (0 and 3 are u8 only) */ member
416 show_temp_reg(temp_hyst);
443 set_temp_reg(HYST, temp_hyst);
963 data->temp_hyst[i-1] = asb100_read_value(client, in asb100_update_device()
Df71882fg.c142 u8 temp_hyst[2]; /* 2 hysts stored per reg */ member
893 data->temp_hyst[0] = f71882fg_read8(data, in f71882fg_update_device()
895 data->temp_hyst[1] = f71882fg_read8(data, in f71882fg_update_device()
1209 temp_max_hyst = data->temp_hyst[nr / 2] >> 4; in show_temp_max_hyst()
1211 temp_max_hyst = data->temp_hyst[nr / 2] & 0x0f; in show_temp_max_hyst()
1242 data->temp_hyst[nr / 2] = reg; in store_temp_max_hyst()
1282 temp_crit_hyst = data->temp_hyst[nr / 2] >> 4; in show_temp_crit_hyst()
1284 temp_crit_hyst = data->temp_hyst[nr / 2] & 0x0f; in show_temp_crit_hyst()
Df71805f.c190 u8 temp_hyst[3]; member
362 data->temp_hyst[nr] = f71805f_read8(data, in f71805f_update_device()
832 return sprintf(buf, "%ld\n", temp_from_reg(data->temp_hyst[nr])); in show_temp_hyst()
871 data->temp_hyst[nr] = temp_to_reg(val); in set_temp_hyst()
872 f71805f_write8(data, F71805F_REG_TEMP_HYST(nr), data->temp_hyst[nr]); in set_temp_hyst()