Lines Matching refs:w83792d_read_value

344 static inline int w83792d_read_value(struct i2c_client *client, u8 reg)  in w83792d_read_value()  function
487 fan_div_reg = w83792d_read_value(client, W83792D_REG_FAN_DIV[nr >> 1]); in store_fan_div()
647 val |= w83792d_read_value(client, W83792D_REG_PWM[nr]) & 0xf0; in store_pwm()
689 cfg4_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG) & 0xc0; in store_pwmenable()
725 data->pwm[nr] = w83792d_read_value(client, W83792D_REG_PWM[nr]); in store_pwm_mode()
758 reg = w83792d_read_value(client, W83792D_REG_CHASSIS_CLR); in intrusion0_alarm_store()
796 target_mask = w83792d_read_value(client, in store_thermal_cruise()
834 tol_mask = w83792d_read_value(client, in store_tolerance()
881 mask_tmp = w83792d_read_value(client, in store_sf2_point()
923 mask_tmp = w83792d_read_value(client, W83792D_REG_LEVELS[index][nr]) in store_sf2_level()
963 val = w83792d_read_value(new_client, W83792D_REG_I2C_SUBADDR); in w83792d_detect_subclients()
1347 if (w83792d_read_value(client, W83792D_REG_CONFIG) & 0x80) in w83792d_detect()
1350 val1 = w83792d_read_value(client, W83792D_REG_BANK); in w83792d_detect()
1351 val2 = w83792d_read_value(client, W83792D_REG_CHIPMAN); in w83792d_detect()
1362 if (w83792d_read_value(client, W83792D_REG_I2C_ADDR) != address) in w83792d_detect()
1368 (w83792d_read_value(client, in w83792d_detect()
1372 val1 = w83792d_read_value(client, W83792D_REG_WCHIPID); in w83792d_detect()
1373 val2 = w83792d_read_value(client, W83792D_REG_CHIPMAN); in w83792d_detect()
1405 data->fan_min[i] = w83792d_read_value(client, in w83792d_probe()
1418 val1 = w83792d_read_value(client, W83792D_REG_GPIO_EN); in w83792d_probe()
1432 val1 = w83792d_read_value(client, W83792D_REG_PIN); in w83792d_probe()
1496 vid_in_b = w83792d_read_value(client, W83792D_REG_VID_IN_B); in w83792d_init_client()
1500 temp2_cfg = w83792d_read_value(client, W83792D_REG_TEMP2_CONFIG); in w83792d_init_client()
1501 temp3_cfg = w83792d_read_value(client, W83792D_REG_TEMP3_CONFIG); in w83792d_init_client()
1509 (w83792d_read_value(client, in w83792d_init_client()
1530 data->in[i] = w83792d_read_value(client, in w83792d_update_device()
1532 data->in_max[i] = w83792d_read_value(client, in w83792d_update_device()
1534 data->in_min[i] = w83792d_read_value(client, in w83792d_update_device()
1537 data->low_bits = w83792d_read_value(client, in w83792d_update_device()
1539 (w83792d_read_value(client, in w83792d_update_device()
1543 data->fan[i] = w83792d_read_value(client, in w83792d_update_device()
1545 data->fan_min[i] = w83792d_read_value(client, in w83792d_update_device()
1548 data->pwm[i] = w83792d_read_value(client, in w83792d_update_device()
1552 reg_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG); in w83792d_update_device()
1558 data->temp1[i] = w83792d_read_value(client, in w83792d_update_device()
1563 data->temp_add[i][j] = w83792d_read_value( in w83792d_update_device()
1570 reg_array_tmp[i] = w83792d_read_value(client, in w83792d_update_device()
1582 data->alarms = w83792d_read_value(client, W83792D_REG_ALARM1) + in w83792d_update_device()
1583 (w83792d_read_value(client, W83792D_REG_ALARM2) << 8) + in w83792d_update_device()
1584 (w83792d_read_value(client, W83792D_REG_ALARM3) << 16); in w83792d_update_device()
1587 data->chassis = (w83792d_read_value(client, in w83792d_update_device()
1593 w83792d_read_value(client, in w83792d_update_device()
1598 reg_tmp = w83792d_read_value(client, W83792D_REG_TOLERANCE[0]); in w83792d_update_device()
1601 data->tolerance[2] = w83792d_read_value(client, in w83792d_update_device()
1608 = w83792d_read_value(client, in w83792d_update_device()
1615 reg_tmp = w83792d_read_value(client, in w83792d_update_device()
1619 reg_tmp = w83792d_read_value(client, in w83792d_update_device()