Lines Matching +full:current +full:- +full:mode

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
26 * CURRENT: Regulator output current can be changed by software on this
28 * MODE: Regulator operating mode can be changed by software on this
31 * DRMS: Dynamic Regulator Mode Switching is enabled for this regulator.
32 * BYPASS: Regulator can be put into bypass mode
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
60 * struct regulator_state - regulator state during low power system states
70 * @mode: Operating mode during suspend.
72 * - DO_NOTHING_IN_SUSPEND
73 * - DISABLE_IN_SUSPEND
74 * - ENABLE_IN_SUSPEND
81 unsigned int mode; member
86 #define REGULATOR_NOTIF_LIMIT_DISABLE -1
87 #define REGULATOR_NOTIF_LIMIT_ENABLE -2
95 * struct regulation_constraints - regulator operating constraints.
106 * @min_uA: Smallest current consumers may set.
107 * @max_uA: Largest current consumers may set.
108 * @ilim_uA: Maximum input current.
111 * @over_curr_limits: Limits for acting on over current.
130 * @over_current_protection: Auto disable on over current event.
132 * @over_current_detection: Configure over current limits.
139 * @state_disk: State for regulator when system is suspended in disk mode.
140 * @state_mem: State for regulator when system is suspended in mem mode.
142 * mode.
144 * @initial_mode: Mode to set at startup.
147 * change is non-linear (unit: microseconds).
149 * change is non-linear (unit: microseconds).
151 * voltage change is non-linear (unit: microseconds).
155 * @enable_time: Turn-on time of the rails (unit: microseconds)
161 /* voltage output range (inclusive) - for voltage control */
167 /* current output range (inclusive) - for current control */
186 /* regulator input voltage - only if supply is another regulator */
199 /* mode to set on startup */
217 unsigned over_current_protection:1; /* auto disable on over current */
218 unsigned over_current_detection:1; /* notify on over current */
225 * struct regulator_consumer_supply - supply -> device mapping
235 const char *supply; /* consumer supply - e.g. "vcc" */
246 * struct regulator_init_data - regulator platform initialisation data.