Searched refs:ab8500_gpadc_convert (Results 1 – 5 of 5) sorted by relevance
58 static inline int ab8500_gpadc_convert(struct ab8500_gpadc *gpadc, u8 channel) in ab8500_gpadc_convert() function
90 voltage = ab8500_gpadc_convert(ab8500_data->gpadc, sensor); in ab8500_read_sensor()
183 vbtemp = ab8500_gpadc_convert(di->gpadc, BAT_CTRL); in ab8500_btemp_read_batctrl_voltage()483 vntc = ab8500_gpadc_convert(di->gpadc, BTEMP_BALL); in ab8500_btemp_measure_temp()
466 vch = ab8500_gpadc_convert(di->gpadc, MAIN_CHARGER_V); in ab8500_charger_get_ac_voltage()517 vch = ab8500_gpadc_convert(di->gpadc, VBUS_V); in ab8500_charger_get_vbus_voltage()539 ich = ab8500_gpadc_convert(di->gpadc, USB_CHARGER_C); in ab8500_charger_get_usb_current()561 ich = ab8500_gpadc_convert(di->gpadc, MAIN_CHARGER_C); in ab8500_charger_get_ac_current()
835 vbat = ab8500_gpadc_convert(di->gpadc, MAIN_BAT_V); in ab8500_fg_bat_voltage()