Lines Matching refs:lm80_read_value

130 static int lm80_read_value(struct i2c_client *client, u8 reg)  in lm80_read_value()  function
173 rv = lm80_read_value(client, LM80_REG_IN(i)); in lm80_update_device()
178 rv = lm80_read_value(client, LM80_REG_IN_MIN(i)); in lm80_update_device()
183 rv = lm80_read_value(client, LM80_REG_IN_MAX(i)); in lm80_update_device()
189 rv = lm80_read_value(client, LM80_REG_FAN1); in lm80_update_device()
194 rv = lm80_read_value(client, LM80_REG_FAN_MIN(1)); in lm80_update_device()
199 rv = lm80_read_value(client, LM80_REG_FAN2); in lm80_update_device()
204 rv = lm80_read_value(client, LM80_REG_FAN_MIN(2)); in lm80_update_device()
209 prev_rv = rv = lm80_read_value(client, LM80_REG_TEMP); in lm80_update_device()
212 rv = lm80_read_value(client, LM80_REG_RES); in lm80_update_device()
218 rv = lm80_read_value(client, temp_regs[i]); in lm80_update_device()
224 rv = lm80_read_value(client, LM80_REG_FANDIV); in lm80_update_device()
230 prev_rv = rv = lm80_read_value(client, LM80_REG_ALARM1); in lm80_update_device()
233 rv = lm80_read_value(client, LM80_REG_ALARM2); in lm80_update_device()
383 rv = lm80_read_value(client, LM80_REG_FANDIV); in fan_div_store()
559 if ((lm80_read_value(client, LM80_REG_ALARM2) & 0xc0) in lm80_detect()
560 || (lm80_read_value(client, LM80_REG_CONFIG) & 0x80)) in lm80_detect()
568 man_id = lm80_read_value(client, LM96080_REG_MAN_ID); in lm80_detect()
569 dev_id = lm80_read_value(client, LM96080_REG_DEV_ID); in lm80_detect()
572 if (lm80_read_value(client, LM96080_REG_CONV_RATE) & 0xfe) in lm80_detect()
611 data->fan[f_min][0] = lm80_read_value(client, LM80_REG_FAN_MIN(1)); in lm80_probe()
612 data->fan[f_min][1] = lm80_read_value(client, LM80_REG_FAN_MIN(2)); in lm80_probe()