Lines Matching +full:use +full:- +full:case
1 /* SPDX-License-Identifier: GPL-2.0-only */
50 POWER_SUPPLY_CHARGE_TYPE_CUSTOM, /* use CHARGE_CONTROL_* props */
161 POWER_SUPPLY_PROP_TYPE, /* use power_supply.type instead */
217 /* Run-time specific power supply configuration */
244 * this power supply. Instead use power_supply_*() functions (for
317 * class itself does not use it, but that's what implementing most platform
348 * use these for consistency.
350 * The default field value is -EINVAL.
351 * Power supply class itself doesn't use this.
355 int energy_full_design_uwh; /* microWatt-hours */
356 int charge_full_design_uah; /* microAmp-hours */
423 static inline int power_supply_is_system_supplied(void) { return -ENOSYS; } in power_supply_is_system_supplied()
464 case POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN: in power_supply_is_amp_property()
465 case POWER_SUPPLY_PROP_CHARGE_EMPTY_DESIGN: in power_supply_is_amp_property()
466 case POWER_SUPPLY_PROP_CHARGE_FULL: in power_supply_is_amp_property()
467 case POWER_SUPPLY_PROP_CHARGE_EMPTY: in power_supply_is_amp_property()
468 case POWER_SUPPLY_PROP_CHARGE_NOW: in power_supply_is_amp_property()
469 case POWER_SUPPLY_PROP_CHARGE_AVG: in power_supply_is_amp_property()
470 case POWER_SUPPLY_PROP_CHARGE_COUNTER: in power_supply_is_amp_property()
471 case POWER_SUPPLY_PROP_PRECHARGE_CURRENT: in power_supply_is_amp_property()
472 case POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT: in power_supply_is_amp_property()
473 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT: in power_supply_is_amp_property()
474 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX: in power_supply_is_amp_property()
475 case POWER_SUPPLY_PROP_CURRENT_MAX: in power_supply_is_amp_property()
476 case POWER_SUPPLY_PROP_CURRENT_NOW: in power_supply_is_amp_property()
477 case POWER_SUPPLY_PROP_CURRENT_AVG: in power_supply_is_amp_property()
478 case POWER_SUPPLY_PROP_CURRENT_BOOT: in power_supply_is_amp_property()
490 case POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN: in power_supply_is_watt_property()
491 case POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN: in power_supply_is_watt_property()
492 case POWER_SUPPLY_PROP_ENERGY_FULL: in power_supply_is_watt_property()
493 case POWER_SUPPLY_PROP_ENERGY_EMPTY: in power_supply_is_watt_property()
494 case POWER_SUPPLY_PROP_ENERGY_NOW: in power_supply_is_watt_property()
495 case POWER_SUPPLY_PROP_ENERGY_AVG: in power_supply_is_watt_property()
496 case POWER_SUPPLY_PROP_VOLTAGE_MAX: in power_supply_is_watt_property()
497 case POWER_SUPPLY_PROP_VOLTAGE_MIN: in power_supply_is_watt_property()
498 case POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN: in power_supply_is_watt_property()
499 case POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN: in power_supply_is_watt_property()
500 case POWER_SUPPLY_PROP_VOLTAGE_NOW: in power_supply_is_watt_property()
501 case POWER_SUPPLY_PROP_VOLTAGE_AVG: in power_supply_is_watt_property()
502 case POWER_SUPPLY_PROP_VOLTAGE_OCV: in power_supply_is_watt_property()
503 case POWER_SUPPLY_PROP_VOLTAGE_BOOT: in power_supply_is_watt_property()
504 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE: in power_supply_is_watt_property()
505 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX: in power_supply_is_watt_property()
506 case POWER_SUPPLY_PROP_POWER_NOW: in power_supply_is_watt_property()