Lines Matching full: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()
92 &bp.full)) { in find_main_battery()
93 if (bp.max_energy > bp.max_charge * bp.full.intval) in find_main_battery()
98 &bp.full)) { in find_main_battery()
99 if (bp.max_charge > bp.max_energy / bp.full.intval) in find_main_battery()
119 union power_supply_propval full; in do_calculate_time() local
169 if (_MPSY_PROP(full_prop, &full)) { in do_calculate_time()
171 if (_MPSY_PROP(full_design_prop, &full)) in do_calculate_time()
188 return ((cur.intval - full.intval) * 60L) / I.intval; in do_calculate_time()
217 union power_supply_propval empty, full, cur; in calculate_capacity() local
250 if (_MPSY_PROP(full_prop, &full)) { in calculate_capacity()
252 if (_MPSY_PROP(full_design_prop, &full)) in calculate_capacity()
268 if (full.intval - empty.intval) in calculate_capacity()
270 (full.intval - empty.intval); in calculate_capacity()