Searched refs:volt_value (Results 1 – 2 of 2) sorted by relevance
30 int volt_value; member79 if (bat->volt_value < 0 || in s3c_adc_backup_bat_get_property()82 bat->volt_value = gather_samples(bat->client, in s3c_adc_backup_bat_get_property()85 bat->volt_value *= bat->pdata->backup_volt_mult; in s3c_adc_backup_bat_get_property()91 val->intval = bat->volt_value; in s3c_adc_backup_bat_get_property()153 if (bat->volt_value < 0 || bat->cur_value < 0 || in s3c_adc_bat_get_property()156 bat->volt_value = gather_samples(bat->client, in s3c_adc_bat_get_property()173 full_volt = calc_full_volt((bat->volt_value / 1000), in s3c_adc_bat_get_property()219 val->intval = bat->volt_value; in s3c_adc_bat_get_property()313 main_bat.volt_value = -1; in s3c_adc_bat_probe()[all …]
311 int therm_value, volt_value; in ar9003_get_desired_gain() local330 volt_value = REG_READ_FIELD(ah, AR_PHY_BB_THERM_ADC_4, in ar9003_get_desired_gain()362 voltage_gain_corr = (alpha_volt * (volt_value - volt_cal_value) + in ar9003_get_desired_gain()