Lines Matching refs:w83791d_read

195 static inline int w83791d_read(struct i2c_client *client, u8 reg)  in w83791d_read()  function
320 static int w83791d_read(struct i2c_client *client, u8 reg);
460 data->beep_mask |= w83791d_read(client, W83791D_REG_BEEP_CTRL[bytenr]) in store_beep()
628 fan_div_reg = w83791d_read(client, W83791D_REG_FAN_DIV[indx]) in store_fan_div()
638 vbat_reg = w83791d_read(client, W83791D_REG_VBAT) in store_fan_div()
796 reg_cfg_tmp = w83791d_read(client, W83791D_REG_FAN_CFG[reg_idx]); in store_pwmenable()
839 target_mask = w83791d_read(client, in store_temp_target()
901 target_mask = w83791d_read(client, in store_temp_tolerance()
1278 val = w83791d_read(client, W83791D_REG_I2C_SUBADDR); in w83791d_detect_subclients()
1307 if (w83791d_read(client, W83791D_REG_CONFIG) & 0x80) in w83791d_detect()
1310 val1 = w83791d_read(client, W83791D_REG_BANK); in w83791d_detect()
1311 val2 = w83791d_read(client, W83791D_REG_CHIPMAN); in w83791d_detect()
1323 if (w83791d_read(client, W83791D_REG_I2C_ADDR) != address) in w83791d_detect()
1327 val1 = w83791d_read(client, W83791D_REG_BANK) & 0x78; in w83791d_detect()
1331 val1 = w83791d_read(client, W83791D_REG_WCHIPID); in w83791d_detect()
1332 val2 = w83791d_read(client, W83791D_REG_CHIPMAN); in w83791d_detect()
1350 val1 = w83791d_read(client, W83791D_REG_DID_VID4); in w83791d_probe()
1375 data->fan_min[i] = w83791d_read(client, W83791D_REG_FAN_MIN[i]); in w83791d_probe()
1383 has_fanpwm45 = w83791d_read(client, W83791D_REG_GPIO) & 0x10; in w83791d_probe()
1438 old_beep = w83791d_read(client, W83791D_REG_BEEP_CONFIG); in w83791d_init_client()
1449 tmp = w83791d_read(client, W83791D_REG_BEEP_CTRL[1]); in w83791d_init_client()
1454 tmp = w83791d_read(client, W83791D_REG_TEMP2_CONFIG); in w83791d_init_client()
1460 tmp = w83791d_read(client, W83791D_REG_TEMP3_CONFIG); in w83791d_init_client()
1467 tmp = w83791d_read(client, W83791D_REG_CONFIG) & 0xf7; in w83791d_init_client()
1491 data->in[i] = w83791d_read(client, in w83791d_update_device()
1493 data->in_max[i] = w83791d_read(client, in w83791d_update_device()
1495 data->in_min[i] = w83791d_read(client, in w83791d_update_device()
1502 data->fan[i] = w83791d_read(client, in w83791d_update_device()
1504 data->fan_min[i] = w83791d_read(client, in w83791d_update_device()
1510 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1523 vbat_reg = w83791d_read(client, W83791D_REG_VBAT); in w83791d_update_device()
1529 data->pwm[i] = w83791d_read(client, in w83791d_update_device()
1535 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1544 data->temp_target[i] = w83791d_read(client, in w83791d_update_device()
1550 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1559 data->temp1[i] = w83791d_read(client, in w83791d_update_device()
1567 (w83791d_read(client, in w83791d_update_device()
1569 w83791d_read(client, in w83791d_update_device()
1576 w83791d_read(client, W83791D_REG_ALARM1) + in w83791d_update_device()
1577 (w83791d_read(client, W83791D_REG_ALARM2) << 8) + in w83791d_update_device()
1578 (w83791d_read(client, W83791D_REG_ALARM3) << 16); in w83791d_update_device()
1582 w83791d_read(client, W83791D_REG_BEEP_CTRL[0]) + in w83791d_update_device()
1583 (w83791d_read(client, W83791D_REG_BEEP_CTRL[1]) << 8) + in w83791d_update_device()
1584 (w83791d_read(client, W83791D_REG_BEEP_CTRL[2]) << 16); in w83791d_update_device()
1591 i = w83791d_read(client, W83791D_REG_VID_FANDIV); in w83791d_update_device()
1593 data->vid |= (w83791d_read(client, W83791D_REG_DID_VID4) & 0x01) in w83791d_update_device()