Lines Matching refs:lm93_read_byte
798 static u8 lm93_read_byte(struct i2c_client *client, u8 reg) in lm93_read_byte() function
937 lm93_read_byte(client, LM93_REG_TEMP_MIN(i)); in lm93_update_client_common()
939 lm93_read_byte(client, LM93_REG_TEMP_MAX(i)); in lm93_update_client_common()
943 data->config = lm93_read_byte(client, LM93_REG_CONFIG); in lm93_update_client_common()
947 data->vid[i] = lm93_read_byte(client, LM93_REG_VID(i)); in lm93_update_client_common()
951 data->prochot_max[i] = lm93_read_byte(client, in lm93_update_client_common()
956 data->vccp_limits[i] = lm93_read_byte(client, in lm93_update_client_common()
960 data->gpi = lm93_read_byte(client, LM93_REG_GPI); in lm93_update_client_common()
963 data->prochot_override = lm93_read_byte(client, in lm93_update_client_common()
967 data->prochot_interval = lm93_read_byte(client, in lm93_update_client_common()
972 data->boost[i] = lm93_read_byte(client, LM93_REG_BOOST(i)); in lm93_update_client_common()
975 data->boost_hyst[0] = lm93_read_byte(client, LM93_REG_BOOST_HYST_12); in lm93_update_client_common()
976 data->boost_hyst[1] = lm93_read_byte(client, LM93_REG_BOOST_HYST_34); in lm93_update_client_common()
980 lm93_read_byte(client, LM93_REG_PWM_MIN_HYST_12); in lm93_update_client_common()
982 lm93_read_byte(client, LM93_REG_PWM_MIN_HYST_34); in lm93_update_client_common()
985 data->pwm_ramp_ctl = lm93_read_byte(client, LM93_REG_PWM_RAMP_CTL); in lm93_update_client_common()
988 data->sfc1 = lm93_read_byte(client, LM93_REG_SFC1); in lm93_update_client_common()
989 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in lm93_update_client_common()
990 data->sf_tach_to_pwm = lm93_read_byte(client, in lm93_update_client_common()
1042 lm93_read_byte(client, LM93_REG_IN(i)); in lm93_update_client_min()
1044 lm93_read_byte(client, LM93_REG_IN_MIN(i)); in lm93_update_client_min()
1046 lm93_read_byte(client, LM93_REG_IN_MAX(i)); in lm93_update_client_min()
1052 lm93_read_byte(client, LM93_REG_TEMP(i)); in lm93_update_client_min()
1058 lm93_read_byte(client, LM93_REG_PROCHOT_CUR(i)); in lm93_update_client_min()
1060 lm93_read_byte(client, LM93_REG_PROCHOT_AVG(i)); in lm93_update_client_min()
1075 lm93_read_byte(client, LM93_REG_PWM_CTL(i, j)); in lm93_update_client_min()
1082 lm93_read_byte(client, LM93_REG_HOST_ERROR_1 + i); in lm93_update_client_min()
1088 lm93_read_byte(client, LM93_REG_TEMP_BASE(i)); in lm93_update_client_min()
1094 lm93_read_byte(client, LM93_REG_TEMP_OFFSET(i)); in lm93_update_client_min()
1428 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in temp_auto_boost_hyst_store()
1473 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in temp_auto_offset_store()
1550 reg = lm93_read_byte(client, LM93_REG_PWM_MIN_HYST(nr)); in temp_auto_pwm_min_store()
1551 ctl4 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL4)); in temp_auto_pwm_min_store()
1594 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in temp_auto_offset_hyst_store()
1698 data->sf_tach_to_pwm = lm93_read_byte(client, LM93_REG_SF_TACH_TO_PWM); in lm93_write_fan_smart_tach()
1704 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in lm93_write_fan_smart_tach()
1731 u8 ctl4 = lm93_read_byte(client, in fan_smart_tach_store()
1780 ctl2 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL2)); in pwm_store()
1781 ctl4 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL4)); in pwm_store()
1828 ctl2 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL2)); in pwm_enable_store()
1872 int mapping = lm93_read_byte(client, LM93_REG_SF_TACH_TO_PWM); in lm93_disable_fan_smart_tach()
1883 data->sfc2 = lm93_read_byte(client, LM93_REG_SFC2); in lm93_disable_fan_smart_tach()
1904 ctl4 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL4)); in pwm_freq_store()
1983 ctl3 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3)); in pwm_auto_spinup_min_store()
1984 ctl4 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL4)); in pwm_auto_spinup_min_store()
2023 ctl3 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3)); in pwm_auto_spinup_time_store()
2057 ramp = lm93_read_byte(client, LM93_REG_PWM_RAMP_CTL); in pwm_auto_prochot_ramp_store()
2089 ramp = lm93_read_byte(client, LM93_REG_PWM_RAMP_CTL); in pwm_auto_vrdhot_ramp_store()
2232 tmp = lm93_read_byte(client, LM93_REG_PROCHOT_INTERVAL); in prochot_interval_store()
2504 reg = lm93_read_byte(client, LM93_REG_GPI_VID_CTL); in lm93_init_client()
2510 reg = lm93_read_byte(client, LM93_REG_CONFIG); in lm93_init_client()
2514 reg = lm93_read_byte(client, LM93_REG_STATUS_CONTROL); in lm93_init_client()
2521 reg = lm93_read_byte(client, LM93_REG_MISC_ERR_MASK); in lm93_init_client()
2529 reg = lm93_read_byte(client, LM93_REG_CONFIG); in lm93_init_client()
2535 if ((lm93_read_byte(client, LM93_REG_CONFIG) & 0x80) == 0x80) in lm93_init_client()
2554 mfr = lm93_read_byte(client, LM93_REG_MFR_ID); in lm93_detect()
2561 ver = lm93_read_byte(client, LM93_REG_VER); in lm93_detect()