Lines Matching refs:in_min
303 u8 in_min[8]; /* Register value */ member
475 data->in_min[i] = in lm85_update_device()
484 data->in_min[4] = lm85_read_value(client, in lm85_update_device()
492 data->in_min[i] = lm85_read_value(client, in lm85_update_device()
857 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); in in_min_show()
874 data->in_min[nr] = INS_TO_REG(nr, val); in in_min_store()
875 lm85_write_value(client, LM85_REG_IN_MIN(nr), data->in_min[nr]); in in_min_store()
909 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
912 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
915 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
918 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
921 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
924 static SENSOR_DEVICE_ATTR_RW(in5_min, in_min, 5);
927 static SENSOR_DEVICE_ATTR_RW(in6_min, in_min, 6);
930 static SENSOR_DEVICE_ATTR_RW(in7_min, in_min, 7);