Searched refs:max_energy_bat (Results 1 – 1 of 1) sorted by relevance
39 struct power_supply *max_energy_bat; member66 bp->max_energy_bat = bp->bat; in __find_main_battery()88 if ((bp.max_energy_bat && bp.max_charge_bat) && in find_main_battery()89 (bp.max_energy_bat != bp.max_charge_bat)) { in find_main_battery()94 main_battery = bp.max_energy_bat; in find_main_battery()97 } else if (!PSY_PROP(bp.max_energy_bat, VOLTAGE_MAX_DESIGN, in find_main_battery()102 main_battery = bp.max_energy_bat; in find_main_battery()105 main_battery = bp.max_energy_bat; in find_main_battery()109 } else if (bp.max_energy_bat) { in find_main_battery()110 main_battery = bp.max_energy_bat; in find_main_battery()