Lines Matching refs:in_max
197 u8 in_max[14]; /* Register value */ member
413 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[attr->index], in in_max_show()
457 data->in_max[attr->index] = IN_TO_REG(val, in in_max_store()
460 data->in_max[attr->index]); in in_max_store()
504 static struct sensor_device_attribute in_max[] = { variable
505 SENSOR_ATTR_RW(in0_max, in_max, 0),
506 SENSOR_ATTR_RW(in1_max, in_max, 1),
507 SENSOR_ATTR_RW(in2_max, in_max, 2),
508 SENSOR_ATTR_RW(in3_max, in_max, 3),
509 SENSOR_ATTR_RW(in4_max, in_max, 4),
510 SENSOR_ATTR_RW(in5_max, in_max, 5),
511 SENSOR_ATTR_RW(in6_max, in_max, 6),
512 SENSOR_ATTR_RW(in7_max, in_max, 7),
513 SENSOR_ATTR_RW(in8_max, in_max, 8),
514 SENSOR_ATTR_RW(in9_max, in_max, 9),
515 SENSOR_ATTR_RW(in10_max, in_max, 10),
577 &in_max[X].dev_attr.attr, \
664 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[attr->index], in therm_max_show()
718 data->in_max[attr->index] = IN_TO_REG(val, data->in_vref); in therm_max_store()
720 data->in_max[attr->index]); in therm_max_store()
1623 data->in_max[i] = pc87360_read_value(data, in pc87360_update_device()