Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A 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);
H A Df75375s.c111 s8 temp_max_hyst[2]; member
165 data->temp_max_hyst[nr] = in f75375_update_device()
572 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max_hyst[nr])); in show_temp_max_hyst()
611 data->temp_max_hyst[nr] = val; in set_temp_max_hyst()
613 data->temp_max_hyst[nr]); in set_temp_max_hyst()