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()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()95 main_battery = bp.max_energy_bat; in find_main_battery()98 } else if (!PSY_PROP(bp.max_energy_bat, VOLTAGE_MAX_DESIGN, in find_main_battery()103 main_battery = bp.max_energy_bat; in find_main_battery()106 main_battery = bp.max_energy_bat; in find_main_battery()110 } else if (bp.max_energy_bat) { in find_main_battery()111 main_battery = bp.max_energy_bat; in find_main_battery()