Home
last modified time | relevance | path

Searched refs:ADC_INPUT_VMAIN (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/mfd/
Dab8500-gpadc.c122 ADC_INPUT_VMAIN = 0, enumerator
200 if (!gpadc->cal_data[ADC_INPUT_VMAIN].gain) { in ab8500_gpadc_ad_to_voltage()
207 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_VMAIN].gain + in ab8500_gpadc_ad_to_voltage()
208 gpadc->cal_data[ADC_INPUT_VMAIN].offset) / CALIB_SCALE; in ab8500_gpadc_ad_to_voltage()
733 gpadc->cal_data[ADC_INPUT_VMAIN].otp_calib_hi = in ab8500_gpadc_read_calibration_data()
735 gpadc->cal_data[ADC_INPUT_VMAIN].otp_calib_lo = in ab8500_gpadc_read_calibration_data()
738 gpadc->cal_data[ADC_INPUT_VMAIN].gain = CALIB_SCALE * in ab8500_gpadc_read_calibration_data()
740 gpadc->cal_data[ADC_INPUT_VMAIN].offset = CALIB_SCALE * in ab8500_gpadc_read_calibration_data()
744 gpadc->cal_data[ADC_INPUT_VMAIN].gain = 0; in ab8500_gpadc_read_calibration_data()
807 gpadc->cal_data[ADC_INPUT_VMAIN].otp_calib_hi = in ab8500_gpadc_read_calibration_data()
[all …]