Lines Matching +full:use +full:- +full:case

1 /* SPDX-License-Identifier: GPL-2.0-only */
51 POWER_SUPPLY_CHARGE_TYPE_CUSTOM, /* use CHARGE_CONTROL_* props */
168 POWER_SUPPLY_PROP_TYPE, /* use power_supply.type instead */
262 /* Run-time specific power supply configuration */
291 * this power supply. Instead use power_supply_*() functions (for
368 * class itself does not use it, but that's what implementing most platform
399 * use these for consistency.
401 * The default field value is -EINVAL.
402 * Power supply class itself doesn't use this.
406 int energy_full_design_uwh; /* microWatt-hours */
407 int charge_full_design_uah; /* microAmp-hours */
486 static inline int power_supply_is_system_supplied(void) { return -ENOSYS; } in power_supply_is_system_supplied()
534 case POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN: in power_supply_is_amp_property()
535 case POWER_SUPPLY_PROP_CHARGE_EMPTY_DESIGN: in power_supply_is_amp_property()
536 case POWER_SUPPLY_PROP_CHARGE_FULL: in power_supply_is_amp_property()
537 case POWER_SUPPLY_PROP_CHARGE_EMPTY: in power_supply_is_amp_property()
538 case POWER_SUPPLY_PROP_CHARGE_NOW: in power_supply_is_amp_property()
539 case POWER_SUPPLY_PROP_CHARGE_AVG: in power_supply_is_amp_property()
540 case POWER_SUPPLY_PROP_CHARGE_COUNTER: in power_supply_is_amp_property()
541 case POWER_SUPPLY_PROP_PRECHARGE_CURRENT: in power_supply_is_amp_property()
542 case POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT: in power_supply_is_amp_property()
543 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT: in power_supply_is_amp_property()
544 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX: in power_supply_is_amp_property()
545 case POWER_SUPPLY_PROP_CURRENT_MAX: in power_supply_is_amp_property()
546 case POWER_SUPPLY_PROP_CURRENT_NOW: in power_supply_is_amp_property()
547 case POWER_SUPPLY_PROP_CURRENT_AVG: in power_supply_is_amp_property()
548 case POWER_SUPPLY_PROP_CURRENT_BOOT: in power_supply_is_amp_property()
560 case POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN: in power_supply_is_watt_property()
561 case POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN: in power_supply_is_watt_property()
562 case POWER_SUPPLY_PROP_ENERGY_FULL: in power_supply_is_watt_property()
563 case POWER_SUPPLY_PROP_ENERGY_EMPTY: in power_supply_is_watt_property()
564 case POWER_SUPPLY_PROP_ENERGY_NOW: in power_supply_is_watt_property()
565 case POWER_SUPPLY_PROP_ENERGY_AVG: in power_supply_is_watt_property()
566 case POWER_SUPPLY_PROP_VOLTAGE_MAX: in power_supply_is_watt_property()
567 case POWER_SUPPLY_PROP_VOLTAGE_MIN: in power_supply_is_watt_property()
568 case POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN: in power_supply_is_watt_property()
569 case POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN: in power_supply_is_watt_property()
570 case POWER_SUPPLY_PROP_VOLTAGE_NOW: in power_supply_is_watt_property()
571 case POWER_SUPPLY_PROP_VOLTAGE_AVG: in power_supply_is_watt_property()
572 case POWER_SUPPLY_PROP_VOLTAGE_OCV: in power_supply_is_watt_property()
573 case POWER_SUPPLY_PROP_VOLTAGE_BOOT: in power_supply_is_watt_property()
574 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE: in power_supply_is_watt_property()
575 case POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX: in power_supply_is_watt_property()
576 case POWER_SUPPLY_PROP_POWER_NOW: in power_supply_is_watt_property()