Lines Matching refs:full
40 union power_supply_propval full; member
57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) || in __find_main_battery()
58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) { in __find_main_battery()
59 if (bp->full.intval > bp->max_charge) { in __find_main_battery()
61 bp->max_charge = bp->full.intval; in __find_main_battery()
63 } else if (!PSY_PROP(bp->bat, ENERGY_FULL_DESIGN, &bp->full) || in __find_main_battery()
64 !PSY_PROP(bp->bat, ENERGY_FULL, &bp->full)) { in __find_main_battery()
65 if (bp->full.intval > bp->max_energy) { in __find_main_battery()
67 bp->max_energy = bp->full.intval; in __find_main_battery()
93 &bp.full)) { in find_main_battery()
94 if (bp.max_energy > bp.max_charge * bp.full.intval) in find_main_battery()
99 &bp.full)) { in find_main_battery()
100 if (bp.max_charge > bp.max_energy / bp.full.intval) in find_main_battery()
120 union power_supply_propval full; in do_calculate_time() local
170 if (_MPSY_PROP(full_prop, &full)) { in do_calculate_time()
172 if (_MPSY_PROP(full_design_prop, &full)) in do_calculate_time()
189 return ((cur.intval - full.intval) * 60L) / I.intval; in do_calculate_time()
218 union power_supply_propval empty, full, cur; in calculate_capacity() local
251 if (_MPSY_PROP(full_prop, &full)) { in calculate_capacity()
253 if (_MPSY_PROP(full_design_prop, &full)) in calculate_capacity()
269 if (full.intval - empty.intval) in calculate_capacity()
271 (full.intval - empty.intval); in calculate_capacity()