Home
last modified time | relevance | path

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

/drivers/hwmon/
Dvia686a.c317 u8 temp_hyst[3]; /* Register value */ member
443 return sprintf(buf, "%ld\n", TEMP_FROM_REG(data->temp_hyst[nr])); in temp_hyst_show()
479 data->temp_hyst[nr] = TEMP_TO_REG(val); in temp_hyst_store()
481 data->temp_hyst[nr]); in temp_hyst_store()
488 static SENSOR_DEVICE_ATTR_RW(temp1_max_hyst, temp_hyst, 0);
491 static SENSOR_DEVICE_ATTR_RW(temp2_max_hyst, temp_hyst, 1);
494 static SENSOR_DEVICE_ATTR_RW(temp3_max_hyst, temp_hyst, 2);
777 data->temp_hyst[i] = in via686a_update_device()
Dlm77.c216 static SENSOR_DEVICE_ATTR_RW(temp1_crit_hyst, temp_hyst, t_crit);
217 static SENSOR_DEVICE_ATTR_RO(temp1_min_hyst, temp_hyst, t_min);
218 static SENSOR_DEVICE_ATTR_RO(temp1_max_hyst, temp_hyst, t_max);
Dsis5595.c187 s8 temp_hyst; /* Register value */ member
332 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_hyst)); in temp1_max_hyst_show()
348 data->temp_hyst = TEMP_TO_REG(val); in temp1_max_hyst_store()
349 sis5595_write_value(data, SIS5595_REG_TEMP_HYST, data->temp_hyst); in temp1_max_hyst_store()
721 data->temp_hyst = in sis5595_update_device()
Dlm78.c130 s8 temp_hyst; /* Register value */ member
266 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_hyst)); in temp1_max_hyst_show()
282 data->temp_hyst = TEMP_TO_REG(val); in temp1_max_hyst_store()
283 lm78_write_value(data, LM78_REG_TEMP_HYST, data->temp_hyst); in temp1_max_hyst_store()
760 data->temp_hyst = in lm78_update_device()
Dlm92.c229 static SENSOR_DEVICE_ATTR_RW(temp1_crit_hyst, temp_hyst, t_crit);
233 static SENSOR_DEVICE_ATTR_RO(temp1_max_hyst, temp_hyst, t_max);
Dgl518sm.c122 u8 temp_hyst; /* Register values */ member
189 data->temp_hyst = in gl518_update_device()
236 show(TEMP, temp_hyst1, temp_hyst);
327 set(TEMP, temp_hyst1, temp_hyst, GL518_REG_TEMP_HYST);
Dvt1211.c117 u8 temp_hyst[7]; member
278 data->temp_hyst[ix] = vt1211_read8(data, in vt1211_update_device()
432 res = TEMP_FROM_REG(ix, data->temp_hyst[ix]); in show_temp()
468 data->temp_hyst[ix] = TEMP_TO_REG(ix, val); in set_temp()
470 data->temp_hyst[ix]); in set_temp()
Dasb100.c197 u16 temp_hyst[4]; /* Register value (0 and 3 are u8 only) */ member
427 show_temp_reg(temp_hyst);
456 set_temp_reg(HYST, temp_hyst);
974 data->temp_hyst[i-1] = asb100_read_value(client, in asb100_update_device()
Dlm90.c519 u8 temp_hyst; member
695 data->temp_hyst = val; in lm90_update_limits()
1153 return temp - temp_from_s8(data->temp_hyst); in lm90_get_temphyst()
1169 data->temp_hyst = hyst_to_reg(temp - val); in lm90_set_temphyst()
1171 data->temp_hyst); in lm90_set_temphyst()
Df71805f.c185 u8 temp_hyst[3]; member
361 data->temp_hyst[nr] = f71805f_read8(data, in f71805f_update_device()
886 return sprintf(buf, "%ld\n", temp_from_reg(data->temp_hyst[nr])); in show_temp_hyst()
935 data->temp_hyst[nr] = temp_to_reg(val); in set_temp_hyst()
936 f71805f_write8(data, F71805F_REG_TEMP_HYST(nr), data->temp_hyst[nr]); in set_temp_hyst()
Df71882fg.c279 u8 temp_hyst[2]; /* 2 hysts stored per reg */ member
1235 data->temp_hyst[0] = f71882fg_read8(data, in f71882fg_update_device()
1237 data->temp_hyst[1] = f71882fg_read8(data, in f71882fg_update_device()
1627 temp_max_hyst = data->temp_hyst[nr / 2] >> 4; in show_temp_max_hyst()
1629 temp_max_hyst = data->temp_hyst[nr / 2] & 0x0f; in show_temp_max_hyst()
1665 data->temp_hyst[nr / 2] = reg; in store_temp_max_hyst()
1711 temp_crit_hyst = data->temp_hyst[nr / 2] >> 4; in show_temp_crit_hyst()
1713 temp_crit_hyst = data->temp_hyst[nr / 2] & 0x0f; in show_temp_crit_hyst()