Searched refs:ad_value (Results 1 – 1 of 1) sorted by relevance
279 int ad_value) in ab8500_gpadc_ad_to_voltage() argument288 AB8500_ADC_CH_CHG_V_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()293 res = (int) (ad_value * gpadc->cal_data[AB8500_CAL_VMAIN].gain + in ab8500_gpadc_ad_to_voltage()306 AB8500_ADC_CH_BTEMP_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()311 res = (int) (ad_value * gpadc->cal_data[AB8500_CAL_BTEMP].gain + in ab8500_gpadc_ad_to_voltage()320 AB8500_ADC_CH_VBAT_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()325 res = (int) (ad_value * gpadc->cal_data[AB8500_CAL_VBAT].gain + in ab8500_gpadc_ad_to_voltage()331 (AB8500_ADC_CH_DIETEMP_MAX - AB8500_ADC_CH_DIETEMP_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()337 (AB8500_ADC_CH_ACCDET2_MAX - AB8500_ADC_CH_ACCDET2_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()343 (AB8500_ADC_CH_CHG_V_MAX - AB8500_ADC_CH_CHG_V_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()[all …]