Lines Matching defs:w83792d_read_value

327 static inline int w83792d_read_value(struct i2c_client *client, u8 reg)
470 fan_div_reg = w83792d_read_value(client, W83792D_REG_FAN_DIV[nr >> 1]);
630 val |= w83792d_read_value(client, W83792D_REG_PWM[nr]) & 0xf0;
672 cfg4_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG) & 0xc0;
708 data->pwm[nr] = w83792d_read_value(client, W83792D_REG_PWM[nr]);
741 reg = w83792d_read_value(client, W83792D_REG_CHASSIS_CLR);
779 target_mask = w83792d_read_value(client,
817 tol_mask = w83792d_read_value(client,
864 mask_tmp = w83792d_read_value(client,
906 mask_tmp = w83792d_read_value(client, W83792D_REG_LEVELS[index][nr])
944 val = w83792d_read_value(new_client, W83792D_REG_I2C_SUBADDR);
1319 if (w83792d_read_value(client, W83792D_REG_CONFIG) & 0x80)
1322 val1 = w83792d_read_value(client, W83792D_REG_BANK);
1323 val2 = w83792d_read_value(client, W83792D_REG_CHIPMAN);
1334 if (w83792d_read_value(client, W83792D_REG_I2C_ADDR) != address)
1340 (w83792d_read_value(client,
1344 val1 = w83792d_read_value(client, W83792D_REG_WCHIPID);
1345 val2 = w83792d_read_value(client, W83792D_REG_CHIPMAN);
1377 data->fan_min[i] = w83792d_read_value(client,
1390 val1 = w83792d_read_value(client, W83792D_REG_GPIO_EN);
1404 val1 = w83792d_read_value(client, W83792D_REG_PIN);
1460 vid_in_b = w83792d_read_value(client, W83792D_REG_VID_IN_B);
1464 temp2_cfg = w83792d_read_value(client, W83792D_REG_TEMP2_CONFIG);
1465 temp3_cfg = w83792d_read_value(client, W83792D_REG_TEMP3_CONFIG);
1473 (w83792d_read_value(client,
1494 data->in[i] = w83792d_read_value(client,
1496 data->in_max[i] = w83792d_read_value(client,
1498 data->in_min[i] = w83792d_read_value(client,
1501 data->low_bits = w83792d_read_value(client,
1503 (w83792d_read_value(client,
1507 data->fan[i] = w83792d_read_value(client,
1509 data->fan_min[i] = w83792d_read_value(client,
1512 data->pwm[i] = w83792d_read_value(client,
1516 reg_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG);
1522 data->temp1[i] = w83792d_read_value(client,
1527 data->temp_add[i][j] = w83792d_read_value(
1534 reg_array_tmp[i] = w83792d_read_value(client,
1546 data->alarms = w83792d_read_value(client, W83792D_REG_ALARM1) +
1547 (w83792d_read_value(client, W83792D_REG_ALARM2) << 8) +
1548 (w83792d_read_value(client, W83792D_REG_ALARM3) << 16);
1551 data->chassis = (w83792d_read_value(client,
1557 w83792d_read_value(client,
1562 reg_tmp = w83792d_read_value(client, W83792D_REG_TOLERANCE[0]);
1565 data->tolerance[2] = w83792d_read_value(client,
1572 = w83792d_read_value(client,
1579 reg_tmp = w83792d_read_value(client,
1583 reg_tmp = w83792d_read_value(client,