Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A D88pm860x_battery.c106 int start_soc; member
515 info->start_soc = soc; in pm860x_init_battery()
517 info->start_soc = soc; in pm860x_init_battery()
519 info->start_soc = data; in pm860x_init_battery()
524 info->start_soc = soc; in pm860x_init_battery()
526 info->last_capacity = info->start_soc; in pm860x_init_battery()
724 data = info->max_capacity * info->start_soc / 100; in calc_capacity()
730 calc_soc(info, OCV_MODE_ACTIVE, &info->start_soc); in calc_capacity()
732 info->start_soc); in calc_capacity()
880 info->start_soc = 100; in pm860x_batt_set_prop()
[all …]