Searched refs:lm80_read_value (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/hwmon/
H A Dlm80.c143 static int lm80_read_value(struct i2c_client *client, u8 reg) lm80_read_value() function
186 rv = lm80_read_value(client, LM80_REG_IN(i)); lm80_update_device()
191 rv = lm80_read_value(client, LM80_REG_IN_MIN(i)); lm80_update_device()
196 rv = lm80_read_value(client, LM80_REG_IN_MAX(i)); lm80_update_device()
202 rv = lm80_read_value(client, LM80_REG_FAN1); lm80_update_device()
207 rv = lm80_read_value(client, LM80_REG_FAN_MIN(1)); lm80_update_device()
212 rv = lm80_read_value(client, LM80_REG_FAN2); lm80_update_device()
217 rv = lm80_read_value(client, LM80_REG_FAN_MIN(2)); lm80_update_device()
222 prev_rv = rv = lm80_read_value(client, LM80_REG_TEMP); lm80_update_device()
225 rv = lm80_read_value(client, LM80_REG_RES); lm80_update_device()
231 rv = lm80_read_value(client, temp_regs[i]); lm80_update_device()
237 rv = lm80_read_value(client, LM80_REG_FANDIV); lm80_update_device()
243 prev_rv = rv = lm80_read_value(client, LM80_REG_ALARM1); lm80_update_device()
246 rv = lm80_read_value(client, LM80_REG_ALARM2); lm80_update_device()
393 reg = (lm80_read_value(client, LM80_REG_FANDIV) & set_fan_div()
585 if ((lm80_read_value(client, LM80_REG_ALARM2) & 0xc0) lm80_detect()
586 || (lm80_read_value(client, LM80_REG_CONFIG) & 0x80)) lm80_detect()
594 man_id = lm80_read_value(client, LM96080_REG_MAN_ID); lm80_detect()
595 dev_id = lm80_read_value(client, LM96080_REG_DEV_ID); lm80_detect()
598 if (lm80_read_value(client, LM96080_REG_CONV_RATE) & 0xfe) lm80_detect()
638 data->fan[f_min][0] = lm80_read_value(client, LM80_REG_FAN_MIN(1)); lm80_probe()
639 data->fan[f_min][1] = lm80_read_value(client, LM80_REG_FAN_MIN(2)); lm80_probe()

Completed in 47 milliseconds