Lines Matching refs:w83791d_read
205 static inline int w83791d_read(struct i2c_client *client, u8 reg)
332 static int w83791d_read(struct i2c_client *client, u8 register);
463 data->beep_mask |= w83791d_read(client, W83791D_REG_BEEP_CTRL[bytenr])
616 fan_div_reg = w83791d_read(client, W83791D_REG_FAN_DIV[indx])
626 vbat_reg = w83791d_read(client, W83791D_REG_VBAT)
784 reg_cfg_tmp = w83791d_read(client, W83791D_REG_FAN_CFG[reg_idx]);
827 target_mask = w83791d_read(client,
889 target_mask = w83791d_read(client,
1230 val = w83791d_read(client, W83791D_REG_I2C_SUBADDR);
1272 if (w83791d_read(client, W83791D_REG_CONFIG) & 0x80)
1275 val1 = w83791d_read(client, W83791D_REG_BANK);
1276 val2 = w83791d_read(client, W83791D_REG_CHIPMAN);
1286 if (w83791d_read(client, W83791D_REG_I2C_ADDR) != address)
1290 val1 = w83791d_read(client, W83791D_REG_BANK) & 0x78;
1294 val1 = w83791d_read(client, W83791D_REG_WCHIPID);
1295 val2 = w83791d_read(client, W83791D_REG_CHIPMAN);
1314 val1 = w83791d_read(client, W83791D_REG_DID_VID4);
1338 data->fan_min[i] = w83791d_read(client, W83791D_REG_FAN_MIN[i]);
1346 has_fanpwm45 = w83791d_read(client, W83791D_REG_GPIO) & 0x10;
1416 old_beep = w83791d_read(client, W83791D_REG_BEEP_CONFIG);
1427 tmp = w83791d_read(client, W83791D_REG_BEEP_CTRL[1]);
1432 tmp = w83791d_read(client, W83791D_REG_TEMP2_CONFIG);
1438 tmp = w83791d_read(client, W83791D_REG_TEMP3_CONFIG);
1445 tmp = w83791d_read(client, W83791D_REG_CONFIG) & 0xf7;
1469 data->in[i] = w83791d_read(client,
1471 data->in_max[i] = w83791d_read(client,
1473 data->in_min[i] = w83791d_read(client,
1480 data->fan[i] = w83791d_read(client,
1482 data->fan_min[i] = w83791d_read(client,
1488 reg_array_tmp[i] = w83791d_read(client,
1499 vbat_reg = w83791d_read(client, W83791D_REG_VBAT);
1505 data->pwm[i] = w83791d_read(client,
1511 reg_array_tmp[i] = w83791d_read(client,
1520 data->temp_target[i] = w83791d_read(client,
1526 reg_array_tmp[i] = w83791d_read(client,
1535 data->temp1[i] = w83791d_read(client,
1543 (w83791d_read(client,
1545 w83791d_read(client,
1552 w83791d_read(client, W83791D_REG_ALARM1) +
1553 (w83791d_read(client, W83791D_REG_ALARM2) << 8) +
1554 (w83791d_read(client, W83791D_REG_ALARM3) << 16);
1558 w83791d_read(client, W83791D_REG_BEEP_CTRL[0]) +
1559 (w83791d_read(client, W83791D_REG_BEEP_CTRL[1]) << 8) +
1560 (w83791d_read(client, W83791D_REG_BEEP_CTRL[2]) << 16);
1567 i = w83791d_read(client, W83791D_REG_VID_FANDIV);
1569 data->vid |= (w83791d_read(client, W83791D_REG_DID_VID4) & 0x01)