Lines Matching refs:w83791d_read

208 static inline int w83791d_read(struct i2c_client *client, u8 reg)  in w83791d_read()  function
337 static int w83791d_read(struct i2c_client *client, u8 reg);
477 data->beep_mask |= w83791d_read(client, W83791D_REG_BEEP_CTRL[bytenr]) in store_beep()
645 fan_div_reg = w83791d_read(client, W83791D_REG_FAN_DIV[indx]) in store_fan_div()
655 vbat_reg = w83791d_read(client, W83791D_REG_VBAT) in store_fan_div()
813 reg_cfg_tmp = w83791d_read(client, W83791D_REG_FAN_CFG[reg_idx]); in store_pwmenable()
856 target_mask = w83791d_read(client, in store_temp_target()
918 target_mask = w83791d_read(client, in store_temp_tolerance()
1298 val = w83791d_read(client, W83791D_REG_I2C_SUBADDR); in w83791d_detect_subclients()
1338 if (w83791d_read(client, W83791D_REG_CONFIG) & 0x80) in w83791d_detect()
1341 val1 = w83791d_read(client, W83791D_REG_BANK); in w83791d_detect()
1342 val2 = w83791d_read(client, W83791D_REG_CHIPMAN); in w83791d_detect()
1354 if (w83791d_read(client, W83791D_REG_I2C_ADDR) != address) in w83791d_detect()
1358 val1 = w83791d_read(client, W83791D_REG_BANK) & 0x78; in w83791d_detect()
1362 val1 = w83791d_read(client, W83791D_REG_WCHIPID); in w83791d_detect()
1363 val2 = w83791d_read(client, W83791D_REG_CHIPMAN); in w83791d_detect()
1382 val1 = w83791d_read(client, W83791D_REG_DID_VID4); in w83791d_probe()
1407 data->fan_min[i] = w83791d_read(client, W83791D_REG_FAN_MIN[i]); in w83791d_probe()
1415 has_fanpwm45 = w83791d_read(client, W83791D_REG_GPIO) & 0x10; in w83791d_probe()
1482 old_beep = w83791d_read(client, W83791D_REG_BEEP_CONFIG); in w83791d_init_client()
1493 tmp = w83791d_read(client, W83791D_REG_BEEP_CTRL[1]); in w83791d_init_client()
1498 tmp = w83791d_read(client, W83791D_REG_TEMP2_CONFIG); in w83791d_init_client()
1504 tmp = w83791d_read(client, W83791D_REG_TEMP3_CONFIG); in w83791d_init_client()
1511 tmp = w83791d_read(client, W83791D_REG_CONFIG) & 0xf7; in w83791d_init_client()
1535 data->in[i] = w83791d_read(client, in w83791d_update_device()
1537 data->in_max[i] = w83791d_read(client, in w83791d_update_device()
1539 data->in_min[i] = w83791d_read(client, in w83791d_update_device()
1546 data->fan[i] = w83791d_read(client, in w83791d_update_device()
1548 data->fan_min[i] = w83791d_read(client, in w83791d_update_device()
1554 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1567 vbat_reg = w83791d_read(client, W83791D_REG_VBAT); in w83791d_update_device()
1573 data->pwm[i] = w83791d_read(client, in w83791d_update_device()
1579 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1588 data->temp_target[i] = w83791d_read(client, in w83791d_update_device()
1594 reg_array_tmp[i] = w83791d_read(client, in w83791d_update_device()
1603 data->temp1[i] = w83791d_read(client, in w83791d_update_device()
1611 (w83791d_read(client, in w83791d_update_device()
1613 w83791d_read(client, in w83791d_update_device()
1620 w83791d_read(client, W83791D_REG_ALARM1) + in w83791d_update_device()
1621 (w83791d_read(client, W83791D_REG_ALARM2) << 8) + in w83791d_update_device()
1622 (w83791d_read(client, W83791D_REG_ALARM3) << 16); in w83791d_update_device()
1626 w83791d_read(client, W83791D_REG_BEEP_CTRL[0]) + in w83791d_update_device()
1627 (w83791d_read(client, W83791D_REG_BEEP_CTRL[1]) << 8) + in w83791d_update_device()
1628 (w83791d_read(client, W83791D_REG_BEEP_CTRL[2]) << 16); in w83791d_update_device()
1635 i = w83791d_read(client, W83791D_REG_VID_FANDIV); in w83791d_update_device()
1637 data->vid |= (w83791d_read(client, W83791D_REG_DID_VID4) & 0x01) in w83791d_update_device()