Lines Matching refs:vt1211_read8
231 static inline u8 vt1211_read8(struct vt1211_data *data, u8 reg) in vt1211_read8() function
251 data->vid = vt1211_read8(data, VT1211_REG_VID) & 0x1f; in vt1211_update_device()
256 data->in[ix] = vt1211_read8(data, in vt1211_update_device()
258 data->in_min[ix] = vt1211_read8(data, in vt1211_update_device()
260 data->in_max[ix] = vt1211_read8(data, in vt1211_update_device()
268 data->temp[ix] = vt1211_read8(data, in vt1211_update_device()
270 data->temp_max[ix] = vt1211_read8(data, in vt1211_update_device()
272 data->temp_hyst[ix] = vt1211_read8(data, in vt1211_update_device()
279 data->fan[ix] = vt1211_read8(data, in vt1211_update_device()
281 data->fan_min[ix] = vt1211_read8(data, in vt1211_update_device()
283 data->pwm[ix] = vt1211_read8(data, in vt1211_update_device()
286 val = vt1211_read8(data, VT1211_REG_FAN_DIV); in vt1211_update_device()
291 val = vt1211_read8(data, VT1211_REG_PWM_CTL); in vt1211_update_device()
295 data->pwm_clk = vt1211_read8(data, VT1211_REG_PWM_CLK); in vt1211_update_device()
298 data->pwm_auto_pwm[0][1] = vt1211_read8(data, in vt1211_update_device()
300 data->pwm_auto_pwm[0][2] = vt1211_read8(data, in vt1211_update_device()
302 data->pwm_auto_pwm[1][1] = vt1211_read8(data, in vt1211_update_device()
304 data->pwm_auto_pwm[1][2] = vt1211_read8(data, in vt1211_update_device()
307 data->pwm_auto_temp[ix] = vt1211_read8(data, in vt1211_update_device()
312 data->alarms = (vt1211_read8(data, VT1211_REG_ALARM2) << 8) | in vt1211_update_device()
313 vt1211_read8(data, VT1211_REG_ALARM1); in vt1211_update_device()
534 reg = vt1211_read8(data, VT1211_REG_FAN_DIV); in set_fan()
642 reg = vt1211_read8(data, VT1211_REG_FAN_DIV); in set_pwm()
646 reg = vt1211_read8(data, VT1211_REG_PWM_CTL); in set_pwm()
685 reg = vt1211_read8(data, VT1211_REG_PWM_CLK); in set_pwm()
704 reg = vt1211_read8(data, VT1211_REG_PWM_CTL); in set_pwm()
779 reg = vt1211_read8(data, VT1211_REG_PWM_CTL); in set_pwm_auto_point_temp()
1088 data->uch_config = vt1211_read8(data, VT1211_REG_UCH_CONFIG); in vt1211_init_device()