Lines Matching refs:gl518_read_value
134 static int gl518_read_value(struct i2c_client *client, u8 reg) in gl518_read_value() function
162 data->alarms = gl518_read_value(client, GL518_REG_INT); in gl518_update_device()
163 data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); in gl518_update_device()
165 val = gl518_read_value(client, GL518_REG_VDD_LIMIT); in gl518_update_device()
168 val = gl518_read_value(client, GL518_REG_VIN1_LIMIT); in gl518_update_device()
171 val = gl518_read_value(client, GL518_REG_VIN2_LIMIT); in gl518_update_device()
174 val = gl518_read_value(client, GL518_REG_VIN3_LIMIT); in gl518_update_device()
178 val = gl518_read_value(client, GL518_REG_FAN_COUNT); in gl518_update_device()
182 val = gl518_read_value(client, GL518_REG_FAN_LIMIT); in gl518_update_device()
186 data->temp_in = gl518_read_value(client, GL518_REG_TEMP_IN); in gl518_update_device()
188 gl518_read_value(client, GL518_REG_TEMP_MAX); in gl518_update_device()
190 gl518_read_value(client, GL518_REG_TEMP_HYST); in gl518_update_device()
192 val = gl518_read_value(client, GL518_REG_MISC); in gl518_update_device()
199 val = gl518_read_value(client, GL518_REG_CONF); in gl518_update_device()
204 gl518_read_value(client, GL518_REG_VDD); in gl518_update_device()
206 gl518_read_value(client, GL518_REG_VIN1); in gl518_update_device()
208 gl518_read_value(client, GL518_REG_VIN2); in gl518_update_device()
211 gl518_read_value(client, GL518_REG_VIN3); in gl518_update_device()
313 regvalue = gl518_read_value(client, reg); \
356 regvalue = gl518_read_value(client, GL518_REG_FAN_LIMIT); in fan_min_store()
362 data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); in fan_min_store()
410 regvalue = gl518_read_value(client, GL518_REG_MISC); in fan_div_store()
489 data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); in beep_store()
580 if ((gl518_read_value(client, GL518_REG_CHIP_ID) != 0x80) in gl518_detect()
581 || (gl518_read_value(client, GL518_REG_CONF) & 0x80)) in gl518_detect()
585 rev = gl518_read_value(client, GL518_REG_REVISION); in gl518_detect()
601 u8 regvalue = gl518_read_value(client, GL518_REG_CONF) & 0x7f; in gl518_init_client()
626 revision = gl518_read_value(client, GL518_REG_REVISION); in gl518_probe()