Lines Matching refs:in_max
151 u8 in_max[8]; /* register value */ member
202 data->in_max[i] = lm87_read_value(client, in lm87_update_device()
210 data->in_max[6+i] = lm87_read_value(client, in lm87_update_device()
292 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[nr], in in_max_show()
331 data->in_max[nr] = IN_TO_REG(val, data->in_scale[nr]); in in_max_store()
333 LM87_REG_AIN_MAX(nr - 6), data->in_max[nr]); in in_max_store()
340 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
343 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
346 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
349 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
352 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
355 static SENSOR_DEVICE_ATTR_RW(in5_max, in_max, 5);
358 static SENSOR_DEVICE_ATTR_RW(in6_max, in_max, 6);
361 static SENSOR_DEVICE_ATTR_RW(in7_max, in_max, 7);