Lines Matching refs:lm87_read_value
173 static inline int lm87_read_value(struct i2c_client *client, u8 reg) in lm87_read_value() function
198 data->in[i] = lm87_read_value(client, in lm87_update_device()
200 data->in_min[i] = lm87_read_value(client, in lm87_update_device()
202 data->in_max[i] = lm87_read_value(client, in lm87_update_device()
208 data->in[6+i] = lm87_read_value(client, in lm87_update_device()
210 data->in_max[6+i] = lm87_read_value(client, in lm87_update_device()
212 data->in_min[6+i] = lm87_read_value(client, in lm87_update_device()
216 data->fan[i] = lm87_read_value(client, in lm87_update_device()
218 data->fan_min[i] = lm87_read_value(client, in lm87_update_device()
225 data->temp[i] = lm87_read_value(client, in lm87_update_device()
227 data->temp_high[i] = lm87_read_value(client, in lm87_update_device()
229 data->temp_low[i] = lm87_read_value(client, in lm87_update_device()
233 i = lm87_read_value(client, LM87_REG_TEMP_HW_INT_LOCK); in lm87_update_device()
234 j = lm87_read_value(client, LM87_REG_TEMP_HW_INT); in lm87_update_device()
237 i = lm87_read_value(client, LM87_REG_TEMP_HW_EXT_LOCK); in lm87_update_device()
238 j = lm87_read_value(client, LM87_REG_TEMP_HW_EXT); in lm87_update_device()
241 i = lm87_read_value(client, LM87_REG_VID_FAN_DIV); in lm87_update_device()
245 | (lm87_read_value(client, LM87_REG_VID4) & 0x01) in lm87_update_device()
248 data->alarms = lm87_read_value(client, LM87_REG_ALARMS1) in lm87_update_device()
249 | (lm87_read_value(client, LM87_REG_ALARMS2) in lm87_update_device()
251 data->aout = lm87_read_value(client, LM87_REG_AOUT); in lm87_update_device()
558 reg = lm87_read_value(client, LM87_REG_VID_FAN_DIV); in fan_div_store()
817 if (lm87_read_value(client, LM87_REG_CONFIG) & 0x80) in lm87_detect()
821 cid = lm87_read_value(client, LM87_REG_COMPANY_ID); in lm87_detect()
822 rev = lm87_read_value(client, LM87_REG_REVISION); in lm87_detect()
877 data->channel = lm87_read_value(client, LM87_REG_CHANNEL_MODE); in lm87_init_client()
879 data->config = lm87_read_value(client, LM87_REG_CONFIG) & 0x6F; in lm87_init_client()