/linux-6.1.9/drivers/hwmon/ |
D | via686a.c | 319 u8 temp_hyst[3]; /* Register value */ member 374 data->temp_hyst[i] = in via686a_update_device() 510 return sprintf(buf, "%ld\n", TEMP_FROM_REG(data->temp_hyst[nr])); in temp_hyst_show() 546 data->temp_hyst[nr] = TEMP_TO_REG(val); in temp_hyst_store() 548 data->temp_hyst[nr]); in temp_hyst_store() 555 static SENSOR_DEVICE_ATTR_RW(temp1_max_hyst, temp_hyst, 0); 558 static SENSOR_DEVICE_ATTR_RW(temp2_max_hyst, temp_hyst, 1); 561 static SENSOR_DEVICE_ATTR_RW(temp3_max_hyst, temp_hyst, 2);
|
D | lm77.c | 216 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);
|
D | sis5595.c | 188 s8 temp_hyst; /* Register value */ member 247 data->temp_hyst = in sis5595_update_device() 387 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_hyst)); in temp1_max_hyst_show() 403 data->temp_hyst = TEMP_TO_REG(val); in temp1_max_hyst_store() 404 sis5595_write_value(data, SIS5595_REG_TEMP_HYST, data->temp_hyst); in temp1_max_hyst_store()
|
D | lm92.c | 229 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);
|
D | lm78.c | 130 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()
|
D | gl518sm.c | 122 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);
|
D | vt1211.c | 117 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()
|
D | asb100.c | 197 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); 972 data->temp_hyst[i-1] = asb100_read_value(client, in asb100_update_device()
|
D | f71882fg.c | 274 u8 temp_hyst[2]; /* 2 hysts stored per reg */ member 378 data->temp_hyst[0] = f71882fg_read8(data, in f71882fg_update_device() 380 data->temp_hyst[1] = f71882fg_read8(data, in f71882fg_update_device() 588 temp_max_hyst = data->temp_hyst[nr / 2] >> 4; in show_temp_max_hyst() 590 temp_max_hyst = data->temp_hyst[nr / 2] & 0x0f; in show_temp_max_hyst() 626 data->temp_hyst[nr / 2] = reg; in store_temp_max_hyst() 684 temp_crit_hyst = data->temp_hyst[nr / 2] >> 4; in show_temp_crit_hyst() 686 temp_crit_hyst = data->temp_hyst[nr / 2] & 0x0f; in show_temp_crit_hyst()
|
D | f71805f.c | 185 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()
|
D | lm90.c | 721 u8 temp_hyst; member 963 data->temp_hyst = val; in lm90_update_limits() 1433 return temp - data->temp_hyst * 1000; in lm90_get_temphyst() 1442 data->temp_hyst = clamp_val(DIV_ROUND_CLOSEST(temp - val, 1000), 0, 31); in lm90_set_temphyst() 1444 return lm90_write_reg(data->client, LM90_REG_TCRIT_HYST, data->temp_hyst); in lm90_set_temphyst()
|