Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dapm_power.c38 struct power_supply *max_charge_bat; member
60 bp->max_charge_bat = bp->bat; in __find_main_battery()
89 if ((bp.max_energy_bat && bp.max_charge_bat) && in find_main_battery()
90 (bp.max_energy_bat != bp.max_charge_bat)) { in find_main_battery()
92 if (!PSY_PROP(bp.max_charge_bat, VOLTAGE_MAX_DESIGN, in find_main_battery()
97 main_battery = bp.max_charge_bat; in find_main_battery()
101 main_battery = bp.max_charge_bat; in find_main_battery()
108 } else if (bp.max_charge_bat) { in find_main_battery()
109 main_battery = bp.max_charge_bat; in find_main_battery()