Lines Matching +full:keep +full:- +full:power +full:- +full:in +full:- +full:suspend
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
16 #include <linux/suspend.h>
43 * operations in suspend mode
44 * DO_NOTHING_IN_SUSPEND - the default value
45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states
46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states
53 * Default time window (in milliseconds) following a critical under-voltage
67 * struct regulator_state - regulator state during low power system states
69 * This describes a regulators state during a system wide low power
73 * @uV: Default operating voltage during suspend, it can be adjusted
75 * @min_uV: Minimum suspend voltage may be set.
76 * @max_uV: Maximum suspend voltage may be set.
77 * @mode: Operating mode during suspend.
78 * @enabled: operations during suspend.
79 * - DO_NOTHING_IN_SUSPEND
80 * - DISABLE_IN_SUSPEND
81 * - ENABLE_IN_SUSPEND
93 #define REGULATOR_NOTIF_LIMIT_DISABLE -1
94 #define REGULATOR_NOTIF_LIMIT_ENABLE -2
102 * struct regulation_constraints - regulator operating constraints.
116 * @pw_budget_mW: Power budget for the regulator in mW.
125 * @max_uV_step: Max possible step change in voltage
149 * @state_disk: State for regulator when system is suspended in disk mode.
150 * @state_mem: State for regulator when system is suspended in mem mode.
151 * @state_standby: State for regulator when system is suspended in standby
153 * @initial_state: Suspend state to set by default.
157 * change is non-linear (unit: microseconds).
159 * change is non-linear (unit: microseconds).
161 * voltage change is non-linear (unit: microseconds).
165 * @enable_time: Turn-on time of the rails (unit: microseconds)
166 * @uv_less_critical_window_ms: Specifies the time window (in milliseconds)
167 * following a critical under-voltage (UV) event
178 /* voltage output range (inclusive) - for voltage control */
184 /* current output range (inclusive) - for current control */
195 /* used for changing voltage in steps */
204 /* regulator input voltage - only if supply is another regulator */
207 /* regulator suspend states for global PMIC STANDBY/HIBERNATE */
215 suspend_state_t initial_state; /* suspend state to set at init */
245 * struct regulator_consumer_supply - supply -> device mapping
255 const char *supply; /* consumer supply - e.g. "vcc" */
266 * struct regulator_init_data - regulator platform initialisation data.
271 * as it appears in the name field in sysfs, which can