Lines Matching refs:tcrit1
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);
520 static SENSOR_DEVICE_ATTR_RW(temp2_crit, tcrit1, 1);
521 static SENSOR_DEVICE_ATTR_RW(temp3_crit, tcrit1, 2);