Searched refs:ad_value (Results 1 – 2 of 2) sorted by relevance
193 int ad_value) in ab8500_gpadc_ad_to_voltage() argument202 ADC_CH_CHG_V_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()207 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_VMAIN].gain + in ab8500_gpadc_ad_to_voltage()220 ADC_CH_BTEMP_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()225 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_BTEMP].gain + in ab8500_gpadc_ad_to_voltage()234 ADC_CH_VBAT_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()239 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_VBAT].gain + in ab8500_gpadc_ad_to_voltage()245 (ADC_CH_DIETEMP_MAX - ADC_CH_DIETEMP_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()251 (ADC_CH_ACCDET2_MAX - ADC_CH_ACCDET2_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()257 (ADC_CH_CHG_V_MAX - ADC_CH_CHG_V_MIN) * ad_value / in ab8500_gpadc_ad_to_voltage()[all …]
70 u8 channel, int ad_value);