Lines Matching refs:in_min
268 u8 in_min[17]; /* Register value */ member
383 data->in_min[i] = adm1026_read_value(client, in adm1026_update_device()
481 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); in in_min_show()
498 data->in_min[nr] = INS_TO_REG(nr, val); in in_min_store()
499 adm1026_write_value(client, ADM1026_REG_IN_MIN[nr], data->in_min[nr]); in in_min_store()
533 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
536 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
539 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
542 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
545 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
548 static SENSOR_DEVICE_ATTR_RW(in5_min, in_min, 5);
551 static SENSOR_DEVICE_ATTR_RW(in6_min, in_min, 6);
554 static SENSOR_DEVICE_ATTR_RW(in7_min, in_min, 7);
557 static SENSOR_DEVICE_ATTR_RW(in8_min, in_min, 8);
560 static SENSOR_DEVICE_ATTR_RW(in9_min, in_min, 9);
563 static SENSOR_DEVICE_ATTR_RW(in10_min, in_min, 10);
566 static SENSOR_DEVICE_ATTR_RW(in11_min, in_min, 11);
569 static SENSOR_DEVICE_ATTR_RW(in12_min, in_min, 12);
572 static SENSOR_DEVICE_ATTR_RW(in13_min, in_min, 13);
575 static SENSOR_DEVICE_ATTR_RW(in14_min, in_min, 14);
578 static SENSOR_DEVICE_ATTR_RW(in15_min, in_min, 15);
592 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_min[16]) in in16_min_show()
609 data->in_min[16] = INS_TO_REG(16, in in16_min_store()
613 adm1026_write_value(client, ADM1026_REG_IN_MIN[16], data->in_min[16]); in in16_min_store()