Lines Matching refs:in_min
208 u8 in_min[14]; /* Register value */ member
338 data->in_min[i] = pc87360_read_value(data, in pc87360_update_device()
452 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[attr->index], in in_min_show()
470 data->in_min[attr->index] = IN_TO_REG(val, data->in_vref); in in_min_store()
472 data->in_min[attr->index]); in in_min_store()
477 static struct sensor_device_attribute in_min[] = { variable
478 SENSOR_ATTR_RW(in0_min, in_min, 0),
479 SENSOR_ATTR_RW(in1_min, in_min, 1),
480 SENSOR_ATTR_RW(in2_min, in_min, 2),
481 SENSOR_ATTR_RW(in3_min, in_min, 3),
482 SENSOR_ATTR_RW(in4_min, in_min, 4),
483 SENSOR_ATTR_RW(in5_min, in_min, 5),
484 SENSOR_ATTR_RW(in6_min, in_min, 6),
485 SENSOR_ATTR_RW(in7_min, in_min, 7),
486 SENSOR_ATTR_RW(in8_min, in_min, 8),
487 SENSOR_ATTR_RW(in9_min, in_min, 9),
488 SENSOR_ATTR_RW(in10_min, in_min, 10),
596 &in_min[X].dev_attr.attr, \
702 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[attr->index], in therm_min_show()
720 data->in_min[attr->index] = IN_TO_REG(val, data->in_vref); in therm_min_store()
722 data->in_min[attr->index]); in therm_min_store()