Lines Matching +full:try +full:- +full:power +full:- +full:role
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Universal power supply monitor class
186 POWER_SUPPLY_TYPE_USB_PD, /* Power Delivery Port */
187 POWER_SUPPLY_TYPE_USB_PD_DRP, /* PD Dual Role Port */
199 POWER_SUPPLY_USB_TYPE_PD, /* Power Delivery Port */
200 POWER_SUPPLY_USB_TYPE_PD_DRP, /* PD Dual Role Port */
201 POWER_SUPPLY_USB_TYPE_PD_PPS, /* PD Programmable Power Supply */
217 /* Run-time specific power supply configuration */
232 /* Description of power supply */
242 * Functions for drivers implementing power supply class.
244 * this power supply. Instead use power_supply_*() functions (for
255 * of power supply. If this happens during device probe then it must
264 * Set if thermal zone should not be created for this power supply.
315 * This is recommended structure to specify static power supply parameters.
316 * Generic one, parametrizable for different power supplies. Power supply
318 * drivers, should try reuse 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()