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()
1440 old_beep = w83791d_read(client, W83791D_REG_BEEP_CONFIG); in w83791d_init_client()
1451 tmp = w83791d_read(client, W83791D_REG_BEEP_CTRL[1]); in w83791d_init_client()
1456 tmp = w83791d_read(client, W83791D_REG_TEMP2_CONFIG); in w83791d_init_client()
1462 tmp = w83791d_read(client, W83791D_REG_TEMP3_CONFIG); in w83791d_init_client()
1469 tmp = w83791d_read(client, W83791D_REG_CONFIG) & 0xf7; in w83791d_init_client()
1493 data->in[i] = w83791d_read(client, in w83791d_update_device()
1495 data->in_max[i] = w83791d_read(client, in w83791d_update_device()
1497 data->in_min[i] = w83791d_read(client, in w83791d_update_device()
1504 data->fan[i] = w83791d_read(client, in w83791d_update_device()
1506 data->fan_min[i] = w83791d_read(client, in w83791d_update_device()
1512 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1525 vbat_reg = w83791d_read(client, W83791D_REG_VBAT); in w83791d_update_device()
1531 data->pwm[i] = w83791d_read(client, in w83791d_update_device()
1537 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1546 data->temp_target[i] = w83791d_read(client, in w83791d_update_device()
1552 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1561 data->temp1[i] = w83791d_read(client, in w83791d_update_device()
1569 (w83791d_read(client, in w83791d_update_device()
1571 w83791d_read(client, in w83791d_update_device()
1578 w83791d_read(client, W83791D_REG_ALARM1) + in w83791d_update_device()
1579 (w83791d_read(client, W83791D_REG_ALARM2) << 8) + in w83791d_update_device()
1580 (w83791d_read(client, W83791D_REG_ALARM3) << 16); in w83791d_update_device()
1584 w83791d_read(client, W83791D_REG_BEEP_CTRL[0]) + in w83791d_update_device()
1585 (w83791d_read(client, W83791D_REG_BEEP_CTRL[1]) << 8) + in w83791d_update_device()
1586 (w83791d_read(client, W83791D_REG_BEEP_CTRL[2]) << 16); in w83791d_update_device()
1593 i = w83791d_read(client, W83791D_REG_VID_FANDIV); in w83791d_update_device()
1595 data->vid |= (w83791d_read(client, W83791D_REG_DID_VID4) & 0x01) in w83791d_update_device()