Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dlm95234.c63 u8 tcrit1[5]; /* critical temperature limit */ member
124 for (i = 0; i < ARRAY_SIZE(data->tcrit1); i++) { in lm95234_fill_cache()
128 data->tcrit1[i] = ret; in lm95234_fill_cache()
335 return sprintf(buf, "%u", data->tcrit1[index] * 1000); in tcrit1_show()
356 data->tcrit1[index] = val; in tcrit1_store()
395 val = clamp_val((int)data->tcrit1[index] - val, 0, 31); in tcrit1_hyst_store()
502 static SENSOR_DEVICE_ATTR_RW(temp1_max, tcrit1, 0);
505 static SENSOR_DEVICE_ATTR_RW(temp4_max, tcrit1, 3);
506 static SENSOR_DEVICE_ATTR_RW(temp5_max, tcrit1, 4);
520 static SENSOR_DEVICE_ATTR_RW(temp2_crit, tcrit1, 1);
[all …]