Lines Matching +full:can +full:- +full:disable
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
22 * certain regulator operations and can be OR'ed together.
24 * VOLTAGE: Regulator output voltage can be changed by software on this
26 * CURRENT: Regulator output current can be changed by software on this
28 * MODE: Regulator operating mode can be changed by software on this
30 * STATUS: Regulator can be enabled and disabled.
32 * BYPASS: Regulator can be put into bypass 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
66 * @uV: Default operating voltage during suspend, it can be adjusted
72 * - DO_NOTHING_IN_SUSPEND
73 * - DISABLE_IN_SUSPEND
74 * - ENABLE_IN_SUSPEND
75 * @changeable: Is this state can be switched between enabled/disabled,
87 * struct regulation_constraints - regulator operating constraints.
114 * @ramp_disable: Disable ramp delay when initialising or when setting voltage.
117 * @over_current_protection: Auto disable on over current event.
129 * change is non-linear (unit: microseconds).
131 * change is non-linear (unit: microseconds).
133 * voltage change is non-linear (unit: microseconds).
134 * @active_discharge: Enable/disable active discharge. The enum
137 * @enable_time: Turn-on time of the rails (unit: microseconds)
143 /* voltage output range (inclusive) - for voltage control */
149 /* current output range (inclusive) - for current control */
168 /* regulator input voltage - only if supply is another regulator */
192 unsigned ramp_disable:1; /* disable ramp delay */
195 unsigned over_current_protection:1; /* auto disable on over current */
199 * struct regulator_consumer_supply - supply -> device mapping
209 const char *supply; /* consumer supply - e.g. "vcc" */
220 * struct regulator_init_data - regulator platform initialisation data.
225 * as it appears in the name field in sysfs, which can