Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dsc27xx_fuel_gauge.c137 static int sc27xx_fgu_adc_to_current(struct sc27xx_fgu_data *data, s64 adc) in sc27xx_fgu_adc_to_current() function
314 oci = sc27xx_fgu_adc_to_current(data, cur - SC27XX_FGU_CUR_BASIC_ADC); in sc27xx_fgu_get_boot_capacity()
418 *val = sc27xx_fgu_adc_to_current(data, cur - SC27XX_FGU_CUR_BASIC_ADC); in sc27xx_fgu_get_cur_now()
439 temp = sc27xx_fgu_adc_to_current(data, temp / 1000); in sc27xx_fgu_get_capacity()
483 *val = sc27xx_fgu_adc_to_current(data, cur - SC27XX_FGU_CUR_BASIC_ADC); in sc27xx_fgu_get_current()
667 val->intval = sc27xx_fgu_adc_to_current(data, value); in sc27xx_fgu_get_property()