Home
last modified time | relevance | path

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

/linux-6.1.9/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
190 data->temp_max_hyst[nr] = in f75375_update_device()
597 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max_hyst[nr])); in show_temp_max_hyst()
636 data->temp_max_hyst[nr] = val; in set_temp_max_hyst()
638 data->temp_max_hyst[nr]); in set_temp_max_hyst()
Dw83627hf.c368 u16 temp_max_hyst[3]; /* Register value */ member
548 data->temp_max_hyst[i] = w83627hf_read_value( in w83627hf_update_device()
609 data->temp_max_hyst[i]); in w83627hf_resume()
1254 u16 tmp = data->temp_max_hyst[nr]; in temp_max_hyst_show()
1275 data->temp_max_hyst[nr] = tmp; in temp_max_hyst_store()
1283 static SENSOR_DEVICE_ATTR_RW(temp1_max_hyst, temp_max_hyst, 0);
1286 static SENSOR_DEVICE_ATTR_RW(temp2_max_hyst, temp_max_hyst, 1);
1289 static SENSOR_DEVICE_ATTR_RW(temp3_max_hyst, temp_max_hyst, 2);
Dw83627ehf.c341 s16 temp_max_hyst[9]; member
669 data->temp_max_hyst[i] in w83627ehf_update_device()
800 store_temp_reg(reg_temp_hyst, temp_max_hyst);
1441 *val = LM75_TEMP_FROM_REG(data->temp_max_hyst[channel]); in w83627ehf_do_read_temp()
1994 data->temp_max_hyst[i]); in w83627ehf_resume()
Df71882fg.c584 int temp_max_hyst; in show_temp_max_hyst() local
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()
591 temp_max_hyst = (data->temp_high[nr] - temp_max_hyst) * 1000; in show_temp_max_hyst()
594 return sprintf(buf, "%d\n", temp_max_hyst); in show_temp_max_hyst()
Dw83781d.c219 s8 temp_max_hyst; /* Register value */ member
362 show_temp_reg(temp_max_hyst);
1492 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-core.c2293 SENSOR_TEMPLATE_2(temp_max_hyst, "temp%d_max_hyst", 0644, show_temp, store_temp, 0, 2);