Searched refs:tcrit1 (Results 1 – 1 of 1) sorted by relevance
/drivers/hwmon/ |
D | lm95234.c | 63 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() 375 ((int)data->tcrit1[index] - (int)data->thyst) * 1000); in tcrit1_hyst_show() 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); [all …]
|