Lines Matching refs:in_max
93 u8 in_max[8]; /* Register value */ member
123 data->in_max[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
193 return sprintf(buf, "%d\n", IN_FROM_REG(data->in_max[nr], nr)); in in_max_show()
233 data->in_max[nr] = IN_TO_REG(val, nr); in in_max_store()
235 data->in_max[nr]); in in_max_store()
242 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
245 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
248 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
251 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
254 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
257 static SENSOR_DEVICE_ATTR_RW(in5_max, in_max, 5);
260 static SENSOR_DEVICE_ATTR_RW(in6_max, in_max, 6);
263 static SENSOR_DEVICE_ATTR_RW(in7_max, in_max, 7);