Lines Matching refs:in_max
104 u8 in_max[6]; /* register value */ member
130 data->in_max[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device()
186 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[index], in in_max_show()
249 data->in_max[index] = IN_TO_REG(val, in_scale[index]); in in_max_store()
251 data->in_max[index]); in in_max_store()
258 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
261 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
264 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
267 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
270 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
273 static SENSOR_DEVICE_ATTR_RW(in5_max, in_max, 5);