Lines Matching refs:full
40 union power_supply_propval full;
57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) ||
58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) {
59 if (bp->full.intval > bp->max_charge) {
61 bp->max_charge = bp->full.intval;
63 } else if (!PSY_PROP(bp->bat, ENERGY_FULL_DESIGN, &bp->full) ||
64 !PSY_PROP(bp->bat, ENERGY_FULL, &bp->full)) {
65 if (bp->full.intval > bp->max_energy) {
67 bp->max_energy = bp->full.intval;
92 &bp.full)) {
93 if (bp.max_energy > bp.max_charge * bp.full.intval)
98 &bp.full)) {
99 if (bp.max_charge > bp.max_energy / bp.full.intval)
119 union power_supply_propval full;
169 if (_MPSY_PROP(full_prop, &full)) {
171 if (_MPSY_PROP(full_design_prop, &full))
188 return ((cur.intval - full.intval) * 60L) / I.intval;
217 union power_supply_propval empty, full, cur;
250 if (_MPSY_PROP(full_prop, &full)) {
252 if (_MPSY_PROP(full_design_prop, &full))
268 if (full.intval - empty.intval)
270 (full.intval - empty.intval);