Home
last modified time | relevance | path

Searched refs:temp_max_hyst (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/hwmon/
Dgl520sm.c81 u8 temp_max_hyst[2]; member
146 data->temp_max_hyst[0] = gl520_read_value(client, in gl520_update_device()
165 data->temp_max_hyst[1] = gl520_read_value(client, in gl520_update_device()
525 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max_hyst[n])); in temp_max_hyst_show()
564 data->temp_max_hyst[n] = TEMP_TO_REG(v); in temp_max_hyst_store()
566 data->temp_max_hyst[n]); in temp_max_hyst_store()
575 static SENSOR_DEVICE_ATTR_RW(temp1_max_hyst, temp_max_hyst, 0);
576 static SENSOR_DEVICE_ATTR_RW(temp2_max_hyst, temp_max_hyst, 1);
Df75375s.c111 s8 temp_max_hyst[2]; member
191 data->temp_max_hyst[nr] = in f75375_update_device()
598 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max_hyst[nr])); in show_temp_max_hyst()
637 data->temp_max_hyst[nr] = val; in set_temp_max_hyst()
639 data->temp_max_hyst[nr]); in set_temp_max_hyst()
Dw83627hf.c368 u16 temp_max_hyst[3]; /* Register value */ member
439 data->temp_max_hyst[i]); in w83627hf_resume()
739 u16 tmp = data->temp_max_hyst[nr]; in temp_max_hyst_show()
782 data->temp_max_hyst[nr] = tmp; in temp_max_hyst_store()
790 static SENSOR_DEVICE_ATTR_RW(temp1_max_hyst, temp_max_hyst, 0);
793 static SENSOR_DEVICE_ATTR_RW(temp2_max_hyst, temp_max_hyst, 1);
796 static SENSOR_DEVICE_ATTR_RW(temp3_max_hyst, temp_max_hyst, 2);
1893 data->temp_max_hyst[i] = w83627hf_read_value( in w83627hf_update_device()
Df71882fg.c1622 int temp_max_hyst; in show_temp_max_hyst() local
1626 temp_max_hyst = data->temp_hyst[nr / 2] >> 4; in show_temp_max_hyst()
1628 temp_max_hyst = data->temp_hyst[nr / 2] & 0x0f; in show_temp_max_hyst()
1629 temp_max_hyst = (data->temp_high[nr] - temp_max_hyst) * 1000; in show_temp_max_hyst()
1632 return sprintf(buf, "%d\n", temp_max_hyst); in show_temp_max_hyst()
Dw83627ehf.c465 s16 temp_max_hyst[9]; member
897 data->temp_max_hyst[i] in w83627ehf_update_device()
1213 show_temp_reg(reg_temp_hyst, temp_max_hyst);
1236 store_temp_reg(reg_temp_hyst, temp_max_hyst);
2652 data->temp_max_hyst[i]); in w83627ehf_resume()
Dw83781d.c219 s8 temp_max_hyst; /* Register value */ member
362 show_temp_reg(temp_max_hyst);
1493 data->temp_max_hyst = in w83781d_update_device()
Dnct6683.c883 SENSOR_TEMPLATE(temp_max_hyst, "temp%d_max_hyst", S_IRUGO, show_temp_hyst, NULL,
Dnct6775.c2483 SENSOR_TEMPLATE_2(temp_max_hyst, "temp%d_max_hyst", S_IRUGO | S_IWUSR,