Searched refs:volt_value (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/power/
H A Ds3c_adc_battery.c34 int volt_value; member in struct:s3c_adc_bat
83 if (bat->volt_value < 0 || s3c_adc_backup_bat_get_property()
86 bat->volt_value = gather_samples(bat->client, s3c_adc_backup_bat_get_property()
89 bat->volt_value *= bat->pdata->backup_volt_mult; s3c_adc_backup_bat_get_property()
95 val->intval = bat->volt_value; s3c_adc_backup_bat_get_property()
159 if (bat->volt_value < 0 || bat->cur_value < 0 || s3c_adc_bat_get_property()
162 bat->volt_value = gather_samples(bat->client, s3c_adc_bat_get_property()
179 full_volt = calc_full_volt((bat->volt_value / 1000), s3c_adc_bat_get_property()
225 val->intval = bat->volt_value; s3c_adc_bat_get_property()
308 main_bat.volt_value = -1; s3c_adc_bat_probe()
324 backup_bat.volt_value = -1; s3c_adc_bat_probe()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dar9003_paprd.c311 int therm_value, volt_value; ar9003_get_desired_gain() local
330 volt_value = REG_READ_FIELD(ah, AR_PHY_BB_THERM_ADC_4, ar9003_get_desired_gain()
362 voltage_gain_corr = (alpha_volt * (volt_value - volt_cal_value) + ar9003_get_desired_gain()

Completed in 144 milliseconds