Lines Matching refs:lm85_read_value

321 static int lm85_read_value(struct i2c_client *client, u8 reg)  in lm85_read_value()  function
389 int ext1 = lm85_read_value(client, in lm85_update_device()
391 int ext2 = lm85_read_value(client, in lm85_update_device()
404 data->vid = lm85_read_value(client, LM85_REG_VID); in lm85_update_device()
408 lm85_read_value(client, LM85_REG_IN(i)); in lm85_update_device()
410 lm85_read_value(client, LM85_REG_FAN(i)); in lm85_update_device()
414 data->in[4] = lm85_read_value(client, LM85_REG_IN(4)); in lm85_update_device()
417 data->cfg5 = lm85_read_value(client, ADT7468_REG_CFG5); in lm85_update_device()
421 lm85_read_value(client, LM85_REG_TEMP(i)); in lm85_update_device()
423 lm85_read_value(client, LM85_REG_PWM(i)); in lm85_update_device()
429 data->alarms = lm85_read_value(client, LM85_REG_ALARM1); in lm85_update_device()
434 data->in[i] = lm85_read_value(client, in lm85_update_device()
438 data->alarms |= lm85_read_value(client, in lm85_update_device()
447 int ext1 = lm85_read_value(client, in lm85_update_device()
449 int ext2 = lm85_read_value(client, in lm85_update_device()
451 int ext3 = lm85_read_value(client, in lm85_update_device()
453 int ext4 = lm85_read_value(client, in lm85_update_device()
476 lm85_read_value(client, LM85_REG_IN_MIN(i)); in lm85_update_device()
478 lm85_read_value(client, LM85_REG_IN_MAX(i)); in lm85_update_device()
480 lm85_read_value(client, LM85_REG_FAN_MIN(i)); in lm85_update_device()
484 data->in_min[4] = lm85_read_value(client, in lm85_update_device()
486 data->in_max[4] = lm85_read_value(client, in lm85_update_device()
492 data->in_min[i] = lm85_read_value(client, in lm85_update_device()
494 data->in_max[i] = lm85_read_value(client, in lm85_update_device()
503 lm85_read_value(client, LM85_REG_TEMP_MIN(i)); in lm85_update_device()
505 lm85_read_value(client, LM85_REG_TEMP_MAX(i)); in lm85_update_device()
508 lm85_read_value(client, LM85_REG_AFAN_CONFIG(i)); in lm85_update_device()
509 val = lm85_read_value(client, LM85_REG_AFAN_RANGE(i)); in lm85_update_device()
513 lm85_read_value(client, LM85_REG_AFAN_MINPWM(i)); in lm85_update_device()
515 lm85_read_value(client, LM85_REG_AFAN_LIMIT(i)); in lm85_update_device()
517 lm85_read_value(client, LM85_REG_AFAN_CRITICAL(i)); in lm85_update_device()
528 i = lm85_read_value(client, LM85_REG_AFAN_SPIKE1); in lm85_update_device()
533 i = lm85_read_value(client, LM85_REG_AFAN_HYST1); in lm85_update_device()
537 i = lm85_read_value(client, LM85_REG_AFAN_HYST2); in lm85_update_device()
767 data->autofan[nr].config = lm85_read_value(client, in pwm_enable_store()
1108 tmp = lm85_read_value(client, LM85_REG_AFAN_SPIKE1); in pwm_auto_pwm_minctl_store()
1432 value = lm85_read_value(client, LM85_REG_CONFIG); in lm85_init_client()
1479 company = lm85_read_value(client, LM85_REG_COMPANY); in lm85_detect()
1480 verstep = lm85_read_value(client, LM85_REG_VERSTEP); in lm85_detect()
1608 u8 vid = lm85_read_value(client, LM85_REG_VID); in lm85_probe()