Lines Matching refs:in_max
302 u8 in_max[8]; /* Register value */ member
477 data->in_max[i] = in lm85_update_device()
486 data->in_max[4] = lm85_read_value(client, in lm85_update_device()
494 data->in_max[i] = lm85_read_value(client, in lm85_update_device()
885 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_max[nr])); in in_max_show()
902 data->in_max[nr] = INS_TO_REG(nr, val); in in_max_store()
903 lm85_write_value(client, LM85_REG_IN_MAX(nr), data->in_max[nr]); in in_max_store()
910 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
913 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
916 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
919 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
922 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
925 static SENSOR_DEVICE_ATTR_RW(in5_max, in_max, 5);
928 static SENSOR_DEVICE_ATTR_RW(in6_max, in_max, 6);
931 static SENSOR_DEVICE_ATTR_RW(in7_max, in_max, 7);