Lines Matching refs:w83791d_read
195 static inline int w83791d_read(struct i2c_client *client, u8 reg) in w83791d_read() function
324 static int w83791d_read(struct i2c_client *client, u8 reg);
464 data->beep_mask |= w83791d_read(client, W83791D_REG_BEEP_CTRL[bytenr]) in store_beep()
632 fan_div_reg = w83791d_read(client, W83791D_REG_FAN_DIV[indx]) in store_fan_div()
642 vbat_reg = w83791d_read(client, W83791D_REG_VBAT) in store_fan_div()
800 reg_cfg_tmp = w83791d_read(client, W83791D_REG_FAN_CFG[reg_idx]); in store_pwmenable()
843 target_mask = w83791d_read(client, in store_temp_target()
905 target_mask = w83791d_read(client, in store_temp_tolerance()
1283 val = w83791d_read(client, W83791D_REG_I2C_SUBADDR); in w83791d_detect_subclients()
1315 if (w83791d_read(client, W83791D_REG_CONFIG) & 0x80) in w83791d_detect()
1318 val1 = w83791d_read(client, W83791D_REG_BANK); in w83791d_detect()
1319 val2 = w83791d_read(client, W83791D_REG_CHIPMAN); in w83791d_detect()
1331 if (w83791d_read(client, W83791D_REG_I2C_ADDR) != address) in w83791d_detect()
1335 val1 = w83791d_read(client, W83791D_REG_BANK) & 0x78; in w83791d_detect()
1339 val1 = w83791d_read(client, W83791D_REG_WCHIPID); in w83791d_detect()
1340 val2 = w83791d_read(client, W83791D_REG_CHIPMAN); in w83791d_detect()
1359 val1 = w83791d_read(client, W83791D_REG_DID_VID4); in w83791d_probe()
1384 data->fan_min[i] = w83791d_read(client, W83791D_REG_FAN_MIN[i]); in w83791d_probe()
1392 has_fanpwm45 = w83791d_read(client, W83791D_REG_GPIO) & 0x10; in w83791d_probe()
1449 old_beep = w83791d_read(client, W83791D_REG_BEEP_CONFIG); in w83791d_init_client()
1460 tmp = w83791d_read(client, W83791D_REG_BEEP_CTRL[1]); in w83791d_init_client()
1465 tmp = w83791d_read(client, W83791D_REG_TEMP2_CONFIG); in w83791d_init_client()
1471 tmp = w83791d_read(client, W83791D_REG_TEMP3_CONFIG); in w83791d_init_client()
1478 tmp = w83791d_read(client, W83791D_REG_CONFIG) & 0xf7; in w83791d_init_client()
1502 data->in[i] = w83791d_read(client, in w83791d_update_device()
1504 data->in_max[i] = w83791d_read(client, in w83791d_update_device()
1506 data->in_min[i] = w83791d_read(client, in w83791d_update_device()
1513 data->fan[i] = w83791d_read(client, in w83791d_update_device()
1515 data->fan_min[i] = w83791d_read(client, in w83791d_update_device()
1521 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1534 vbat_reg = w83791d_read(client, W83791D_REG_VBAT); in w83791d_update_device()
1540 data->pwm[i] = w83791d_read(client, in w83791d_update_device()
1546 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1555 data->temp_target[i] = w83791d_read(client, in w83791d_update_device()
1561 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1570 data->temp1[i] = w83791d_read(client, in w83791d_update_device()
1578 (w83791d_read(client, in w83791d_update_device()
1580 w83791d_read(client, in w83791d_update_device()
1587 w83791d_read(client, W83791D_REG_ALARM1) + in w83791d_update_device()
1588 (w83791d_read(client, W83791D_REG_ALARM2) << 8) + in w83791d_update_device()
1589 (w83791d_read(client, W83791D_REG_ALARM3) << 16); in w83791d_update_device()
1593 w83791d_read(client, W83791D_REG_BEEP_CTRL[0]) + in w83791d_update_device()
1594 (w83791d_read(client, W83791D_REG_BEEP_CTRL[1]) << 8) + in w83791d_update_device()
1595 (w83791d_read(client, W83791D_REG_BEEP_CTRL[2]) << 16); in w83791d_update_device()
1602 i = w83791d_read(client, W83791D_REG_VID_FANDIV); in w83791d_update_device()
1604 data->vid |= (w83791d_read(client, W83791D_REG_DID_VID4) & 0x01) in w83791d_update_device()