Lines Matching refs:w83792d_read_value

327 static inline int w83792d_read_value(struct i2c_client *client, u8 reg)  in w83792d_read_value()  function
470 fan_div_reg = w83792d_read_value(client, W83792D_REG_FAN_DIV[nr >> 1]); in store_fan_div()
630 val |= w83792d_read_value(client, W83792D_REG_PWM[nr]) & 0xf0; in store_pwm()
672 cfg4_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG) & 0xc0; in store_pwmenable()
708 data->pwm[nr] = w83792d_read_value(client, W83792D_REG_PWM[nr]); in store_pwm_mode()
741 reg = w83792d_read_value(client, W83792D_REG_CHASSIS_CLR); in intrusion0_alarm_store()
779 target_mask = w83792d_read_value(client, in store_thermal_cruise()
817 tol_mask = w83792d_read_value(client, in store_tolerance()
864 mask_tmp = w83792d_read_value(client, in store_sf2_point()
906 mask_tmp = w83792d_read_value(client, W83792D_REG_LEVELS[index][nr]) in store_sf2_level()
944 val = w83792d_read_value(new_client, W83792D_REG_I2C_SUBADDR); in w83792d_detect_subclients()
1319 if (w83792d_read_value(client, W83792D_REG_CONFIG) & 0x80) in w83792d_detect()
1322 val1 = w83792d_read_value(client, W83792D_REG_BANK); in w83792d_detect()
1323 val2 = w83792d_read_value(client, W83792D_REG_CHIPMAN); in w83792d_detect()
1334 if (w83792d_read_value(client, W83792D_REG_I2C_ADDR) != address) in w83792d_detect()
1340 (w83792d_read_value(client, in w83792d_detect()
1344 val1 = w83792d_read_value(client, W83792D_REG_WCHIPID); in w83792d_detect()
1345 val2 = w83792d_read_value(client, W83792D_REG_CHIPMAN); in w83792d_detect()
1377 data->fan_min[i] = w83792d_read_value(client, in w83792d_probe()
1390 val1 = w83792d_read_value(client, W83792D_REG_GPIO_EN); in w83792d_probe()
1404 val1 = w83792d_read_value(client, W83792D_REG_PIN); in w83792d_probe()
1462 vid_in_b = w83792d_read_value(client, W83792D_REG_VID_IN_B); in w83792d_init_client()
1466 temp2_cfg = w83792d_read_value(client, W83792D_REG_TEMP2_CONFIG); in w83792d_init_client()
1467 temp3_cfg = w83792d_read_value(client, W83792D_REG_TEMP3_CONFIG); in w83792d_init_client()
1475 (w83792d_read_value(client, in w83792d_init_client()
1496 data->in[i] = w83792d_read_value(client, in w83792d_update_device()
1498 data->in_max[i] = w83792d_read_value(client, in w83792d_update_device()
1500 data->in_min[i] = w83792d_read_value(client, in w83792d_update_device()
1503 data->low_bits = w83792d_read_value(client, in w83792d_update_device()
1505 (w83792d_read_value(client, in w83792d_update_device()
1509 data->fan[i] = w83792d_read_value(client, in w83792d_update_device()
1511 data->fan_min[i] = w83792d_read_value(client, in w83792d_update_device()
1514 data->pwm[i] = w83792d_read_value(client, in w83792d_update_device()
1518 reg_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG); in w83792d_update_device()
1524 data->temp1[i] = w83792d_read_value(client, in w83792d_update_device()
1529 data->temp_add[i][j] = w83792d_read_value( in w83792d_update_device()
1536 reg_array_tmp[i] = w83792d_read_value(client, in w83792d_update_device()
1548 data->alarms = w83792d_read_value(client, W83792D_REG_ALARM1) + in w83792d_update_device()
1549 (w83792d_read_value(client, W83792D_REG_ALARM2) << 8) + in w83792d_update_device()
1550 (w83792d_read_value(client, W83792D_REG_ALARM3) << 16); in w83792d_update_device()
1553 data->chassis = (w83792d_read_value(client, in w83792d_update_device()
1559 w83792d_read_value(client, in w83792d_update_device()
1564 reg_tmp = w83792d_read_value(client, W83792D_REG_TOLERANCE[0]); in w83792d_update_device()
1567 data->tolerance[2] = w83792d_read_value(client, in w83792d_update_device()
1574 = w83792d_read_value(client, in w83792d_update_device()
1581 reg_tmp = w83792d_read_value(client, in w83792d_update_device()
1585 reg_tmp = w83792d_read_value(client, in w83792d_update_device()