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.
356 int energy_full_design_uwh; /* microWatt-hours */
357 int charge_full_design_uah; /* microAmp-hours */
430 static inline int power_supply_is_system_supplied(void) { return -ENOSYS; } in power_supply_is_system_supplied()
478 case POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN: in power_supply_is_amp_property()
479 case POWER_SUPPLY_PROP_CHARGE_EMPTY_DESIGN: in power_supply_is_amp_property()
480 case POWER_SUPPLY_PROP_CHARGE_FULL: in power_supply_is_amp_property()
481 case POWER_SUPPLY_PROP_CHARGE_EMPTY: in power_supply_is_amp_property()
482 case POWER_SUPPLY_PROP_CHARGE_NOW: in power_supply_is_amp_property()
483 case POWER_SUPPLY_PROP_CHARGE_AVG: in power_supply_is_amp_property()
484 case POWER_SUPPLY_PROP_CHARGE_COUNTER: in power_supply_is_amp_property()
485 case POWER_SUPPLY_PROP_PRECHARGE_CURRENT: in power_supply_is_amp_property()
486 case POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT: in power_supply_is_amp_property()
487 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT: in power_supply_is_amp_property()
488 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX: in power_supply_is_amp_property()
489 case POWER_SUPPLY_PROP_CURRENT_MAX: in power_supply_is_amp_property()
490 case POWER_SUPPLY_PROP_CURRENT_NOW: in power_supply_is_amp_property()
491 case POWER_SUPPLY_PROP_CURRENT_AVG: in power_supply_is_amp_property()
492 case POWER_SUPPLY_PROP_CURRENT_BOOT: in power_supply_is_amp_property()
504 case POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN: in power_supply_is_watt_property()
505 case POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN: in power_supply_is_watt_property()
506 case POWER_SUPPLY_PROP_ENERGY_FULL: in power_supply_is_watt_property()
507 case POWER_SUPPLY_PROP_ENERGY_EMPTY: in power_supply_is_watt_property()
508 case POWER_SUPPLY_PROP_ENERGY_NOW: in power_supply_is_watt_property()
509 case POWER_SUPPLY_PROP_ENERGY_AVG: in power_supply_is_watt_property()
510 case POWER_SUPPLY_PROP_VOLTAGE_MAX: in power_supply_is_watt_property()
511 case POWER_SUPPLY_PROP_VOLTAGE_MIN: in power_supply_is_watt_property()
512 case POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN: in power_supply_is_watt_property()
513 case POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN: in power_supply_is_watt_property()
514 case POWER_SUPPLY_PROP_VOLTAGE_NOW: in power_supply_is_watt_property()
515 case POWER_SUPPLY_PROP_VOLTAGE_AVG: in power_supply_is_watt_property()
516 case POWER_SUPPLY_PROP_VOLTAGE_OCV: in power_supply_is_watt_property()
517 case POWER_SUPPLY_PROP_VOLTAGE_BOOT: in power_supply_is_watt_property()
518 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE: in power_supply_is_watt_property()
519 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX: in power_supply_is_watt_property()
520 case POWER_SUPPLY_PROP_POWER_NOW: in power_supply_is_watt_property()