Lines Matching +full:ocv +full:- +full:capacity +full:- +full:table +full:- +full:0
1 /* SPDX-License-Identifier: GPL-2.0-only */
29 * For systems where the charger determines the maximum battery capacity
35 POWER_SUPPLY_STATUS_UNKNOWN = 0,
44 POWER_SUPPLY_CHARGE_TYPE_UNKNOWN = 0,
55 POWER_SUPPLY_HEALTH_UNKNOWN = 0,
72 POWER_SUPPLY_TECHNOLOGY_UNKNOWN = 0,
82 POWER_SUPPLY_CAPACITY_LEVEL_UNKNOWN = 0,
91 POWER_SUPPLY_SCOPE_UNKNOWN = 0,
98 POWER_SUPPLY_PROP_STATUS = 0,
177 POWER_SUPPLY_TYPE_UNKNOWN = 0,
193 POWER_SUPPLY_USB_TYPE_UNKNOWN = 0,
217 /* Run-time specific power supply configuration */
334 int ocv; /* microVolts */ member
335 int capacity; /* percent */ member
350 * The default field value is -EINVAL.
356 int energy_full_design_uwh; /* microWatt-hours */
357 int charge_full_design_uah; /* microAmp-hours */
411 extern int power_supply_ocv2cap_simple(struct power_supply_battery_ocv_table *table,
412 int table_len, int ocv);
417 int ocv, int temp);
419 power_supply_temp2resist_simple(struct power_supply_resistance_temp_table *table,
430 static inline int power_supply_is_system_supplied(void) { return -ENOSYS; } in power_supply_is_system_supplied()
444 { return 0; } in power_supply_set_property()
535 return 0; in power_supply_add_hwmon_sysfs()