Lines Matching refs:temp_min
156 u8 temp_min[6]; /* Register value */ member
359 return sprintf(buf, "%d\n", data->temp_min[0] * 1000); in temp1_max_hyst_show()
393 data->temp_min[0] = clamp_val((val + 500) / 1000, 0, 255); in temp1_max_hyst_store()
394 vt8231_write_value(data, regtempmin[0], data->temp_min[0]); in temp1_max_hyst_store()
423 return sprintf(buf, "%d\n", TEMP_MAXMIN_FROM_REG(data->temp_min[nr])); in temp_min_show()
461 data->temp_min[nr] = clamp_val(TEMP_MAXMIN_TO_REG(val), 0, 255); in temp_min_store()
462 vt8231_write_value(data, regtempmin[nr], data->temp_min[nr]); in temp_min_store()
478 static SENSOR_DEVICE_ATTR_RW(temp2_max_hyst, temp_min, 1);
481 static SENSOR_DEVICE_ATTR_RW(temp3_max_hyst, temp_min, 2);
484 static SENSOR_DEVICE_ATTR_RW(temp4_max_hyst, temp_min, 3);
487 static SENSOR_DEVICE_ATTR_RW(temp5_max_hyst, temp_min, 4);
490 static SENSOR_DEVICE_ATTR_RW(temp6_max_hyst, temp_min, 5);
909 data->temp_min[i] = vt8231_read_value(data, in vt8231_update_device()