/drivers/hwmon/ |
D | adm1025.c | 152 u8 in_min[6]; /* register value */ member 179 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[index], in show_in_min() 230 data->in_min[index] = IN_TO_REG(val, in_scale[index]); in set_in_min() 232 data->in_min[index]); in set_in_min() 590 data->in_min[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device()
|
D | vt8231.c | 166 u8 in_min[6]; /* Register value */ member 212 return sprintf(buf, "%d\n", ((data->in_min[nr] - 3) * 10000) / 958); in show_in_min() 239 data->in_min[nr] = SENSORS_LIMIT(((val * 958) / 10000) + 3, 0, 255); in set_in_min() 240 vt8231_write_value(data, regvoltmin[nr], data->in_min[nr]); in set_in_min() 281 (((data->in_min[5] - 3) * 10000 * 54) / (958 * 34))); in show_in5_min() 305 data->in_min[5] = SENSORS_LIMIT(((val * 958 * 34) / (10000 * 54)) + 3, in set_in5_min() 307 vt8231_write_value(data, regvoltmin[5], data->in_min[5]); in set_in5_min() 904 data->in_min[i] = vt8231_read_value(data, in vt8231_update_device()
|
D | smsc47m192.c | 105 u8 in_min[8]; /* Register value */ member 156 return sprintf(buf, "%d\n", IN_FROM_REG(data->in_min[nr], nr)); in show_in_min() 183 data->in_min[nr] = IN_TO_REG(val, nr); in set_in_min() 185 data->in_min[nr]); in set_in_min() 631 data->in_min[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device()
|
D | via686a.c | 329 u8 in_min[5]; /* Register value */ member 374 return sprintf(buf, "%ld\n", IN_FROM_REG(data->in_min[nr], nr)); in show_in_min() 398 data->in_min[nr] = IN_TO_REG(val, nr); in set_in_min() 400 data->in_min[nr]); in set_in_min() 787 data->in_min[i] = via686a_read_value(data, in via686a_update_device()
|
D | sis5595.c | 194 u8 in_min[5]; /* Register value */ member 239 return sprintf(buf, "%d\n", IN_FROM_REG(data->in_min[nr])); in show_in_min() 265 data->in_min[nr] = IN_TO_REG(val); in set_in_min() 266 sis5595_write_value(data, SIS5595_REG_IN_MIN(nr), data->in_min[nr]); in set_in_min() 729 data->in_min[i] = in sis5595_update_device()
|
D | adm9240.c | 171 u8 in_min[6]; /* rw in0_min */ member 243 return sprintf(buf, "%d\n", IN_FROM_REG(data->in_min[attr->index], in show_in_min() 271 data->in_min[attr->index] = IN_TO_REG(val, attr->index); in set_in_min() 273 data->in_min[attr->index]); in set_in_min() 794 data->in_min[i] = i2c_smbus_read_byte_data(client, in adm9240_update_device()
|
D | lm87.c | 167 u8 in_min[8]; /* register value */ member 213 data->in_min[i] = lm87_read_value(client, in lm87_update_device() 225 data->in_min[6+i] = lm87_read_value(client, in lm87_update_device() 295 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[nr], in show_in_min() 323 data->in_min[nr] = IN_TO_REG(val, data->in_scale[nr]); in set_in_min() 325 LM87_REG_AIN_MIN(nr - 6), data->in_min[nr]); in set_in_min()
|
D | pc87360.c | 209 u8 in_min[14]; /* Register value */ member 419 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[attr->index], in show_in_min() 450 data->in_min[attr->index] = IN_TO_REG(val, data->in_vref); in set_in_min() 452 data->in_min[attr->index]); in set_in_min() 503 static struct sensor_device_attribute in_min[] = { variable 588 &in_min[X].dev_attr.attr, \ 665 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[attr->index], in show_therm_min() 706 data->in_min[attr->index] = IN_TO_REG(val, data->in_vref); in set_therm_min() 708 data->in_min[attr->index]); in set_therm_min() 1666 data->in_min[i] = pc87360_read_value(data, in pc87360_update_device()
|
D | f75375s.c | 109 u8 in_min[4]; member 217 data->in_min[nr] = in f75375_update_device() 543 return sprintf(buf, "%d\n", VOLT_FROM_REG(data->in_min[nr])); in show_in_min() 582 data->in_min[nr] = val; in set_in_min() 583 f75375_write8(client, F75375_REG_VOLT_LOW(nr), data->in_min[nr]); in set_in_min()
|
D | lm80.c | 123 u8 in_min[7]; /* Register value */ member 185 show_in(min, in_min) in show_in() argument 207 set_in(min, in_min, LM80_REG_IN_MIN) 645 data->in_min[i] = rv; in lm80_update_device()
|
D | w83627hf.c | 371 u8 in_min[9]; /* Register value */ member 425 return sprintf(buf, "%ld\n", (long)IN_FROM_REG(data->in_min[nr])); in show_in_min() 448 data->in_min[nr] = IN_TO_REG(val); in store_in_min() 449 w83627hf_write_value(data, W83781D_REG_IN_MIN(nr), data->in_min[nr]); in store_in_min() 516 return show_in_0(data, buf, data->in_min[0]); in show_regs_in_min0() 543 data->in_min[0] = in store_regs_in_min0() 548 data->in_min[0] = IN_TO_REG(val); in store_regs_in_min0() 550 w83627hf_write_value(data, W83781D_REG_IN_MIN(0), data->in_min[0]); in store_regs_in_min0() 1783 data->in_min[i] = in w83627hf_update_device()
|
D | lm78.c | 138 u8 in_min[7]; /* Register value */ member 170 return sprintf(buf, "%d\n", IN_FROM_REG(data->in_min[attr->index])); in show_in_min() 195 data->in_min[nr] = IN_TO_REG(val); in set_in_min() 196 lm78_write_value(data, LM78_REG_IN_MIN(nr), data->in_min[nr]); in set_in_min() 799 data->in_min[i] = in lm78_update_device()
|
D | gl520sm.c | 118 u8 in_min[5]; /* [0] = VDD */ member 170 u8 r = data->in_min[n]; in get_in_min() 212 data->in_min[n] = r; in set_in_min() 920 data->in_min[i] = val & 0xff; in gl520_update_device() 960 data->in_min[4] = gl520_read_value(client, in gl520_update_device()
|
D | vt1211.c | 127 u8 in_min[6]; member 271 data->in_min[ix] = vt1211_read8(data, in vt1211_update_device() 362 res = IN_FROM_REG(ix, data->in_min[ix]); in show_in() 396 data->in_min[ix] = IN_TO_REG(ix, val); in set_in() 397 vt1211_write8(data, VT1211_REG_IN_MIN(ix), data->in_min[ix]); in set_in()
|
D | lm85.c | 322 u8 in_min[8]; /* Register value */ member 681 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); in show_in_min() 698 data->in_min[nr] = INS_TO_REG(nr, val); in set_in_min() 699 lm85_write_value(client, LM85_REG_IN_MIN(nr), data->in_min[nr]); in set_in_min() 1638 data->in_min[i] = in lm85_update_device() 1647 data->in_min[4] = lm85_read_value(client, in lm85_update_device() 1655 data->in_min[i] = lm85_read_value(client, in lm85_update_device()
|
D | adm1026.c | 278 u8 in_min[17]; /* Register value */ member 626 data->in_min[i] = adm1026_read_value(client, in adm1026_update_device() 724 return sprintf(buf, "%d\n", INS_FROM_REG(nr, data->in_min[nr])); in show_in_min() 741 data->in_min[nr] = INS_TO_REG(nr, val); in set_in_min() 742 adm1026_write_value(client, ADM1026_REG_IN_MIN[nr], data->in_min[nr]); in set_in_min() 812 return sprintf(buf, "%d\n", INS_FROM_REG(16, data->in_min[16]) in show_in16_min() 828 data->in_min[16] = INS_TO_REG(16, val + NEG12_OFFSET); in set_in16_min() 829 adm1026_write_value(client, ADM1026_REG_IN_MIN[16], data->in_min[16]); in set_in16_min()
|
D | w83l786ng.c | 136 u8 in_min[3]; member 201 show_in_reg(in_min) 759 data->in_min[i] = w83l786ng_read_value(client, in w83l786ng_update_device()
|
D | adcxx.c | 152 SENSOR_ATTR(in_min, S_IRUGO, adcxx_show_min, NULL, 0),
|
D | asb100.c | 205 u8 in_min[7]; /* Register value */ member 258 show_in_reg(in_min) 969 data->in_min[i] = asb100_read_value(client, in asb100_update_device()
|
D | w83791d.c | 298 u8 in_min[NUMBER_OF_VIN]; /* Register value */ member 381 show_in_reg(in_min); 1544 data->in_min[i] = w83791d_read(client, in w83791d_update_device() 1667 dev_dbg(dev, "vin[%d] min is: 0x%02x\n", i, data->in_min[i]); in w83791d_print_debug()
|
D | it87.c | 252 u8 in_min[8]; /* Register value */ member 460 return sprintf(buf, "%d\n", in_from_reg(data, nr, data->in_min[nr])); in show_in_min() 486 data->in_min[nr] = in_to_reg(data, nr, val); in set_in_min() 488 data->in_min[nr]); in set_in_min() 2210 data->in_min[i] = in it87_update_device()
|
D | dme1737.c | 229 u8 in_min[8]; member 636 data->in_min[ix] = dme1737_read(data, in dme1737_update_device() 823 res = IN_FROM_REG(data->in_min[ix], data->in_nominal[ix], 8); in show_in() 857 data->in_min[ix] = IN_TO_REG(val, data->in_nominal[ix]); in set_in() 859 data->in_min[ix]); in set_in()
|
D | w83792d.c | 285 u8 in_min[9]; /* Register value */ member 382 show_in_reg(in_min); 1581 data->in_min[i] = w83792d_read_value(client, in w83792d_update_device() 1696 dev_dbg(dev, "vin[%d] min is: 0x%x\n", i, data->in_min[i]); in w83792d_print_debug()
|
D | w83781d.c | 228 u8 in_min[9]; /* Register value - 8 & 9 for 782D only */ member 270 show_in_reg(in_min); 1487 data->in_min[i] = in w83781d_update_device()
|
D | w83627ehf.c | 462 u8 in_min[10]; /* Register value */ member 806 data->in_min[i] = w83627ehf_read_value(data, in w83627ehf_update_device() 940 show_in_reg(in_min) in show_in_reg() argument
|