Lines Matching defs:empty
120 union power_supply_propval empty;
175 if (_MPSY_PROP(empty_prop, &empty)) {
177 if (_MPSY_PROP(empty_design_prop, &empty))
178 empty.intval = 0;
190 return -((cur.intval - empty.intval) * 60L) / I.intval;
217 union power_supply_propval empty, full, cur;
262 if (_MPSY_PROP(empty_prop, &empty)) {
264 if (_MPSY_PROP(empty_design_prop, &empty))
265 empty.intval = 0;
268 if (full.intval - empty.intval)
269 ret = ((cur.intval - empty.intval) * 100L) /
270 (full.intval - empty.intval);