Lines Matching +full:mode +full:- +full:normal

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * consumer.h -- SoC Regulator consumer support.
12 * Features:-
14 * o Operating mode control.
19 * Dynamic Regulator operating Mode Switching (DRMS) - allows regulators
20 * to use most efficient operating mode depending upon voltage and load and
25 * idling. Regulator r has > 90% efficiency in NORMAL mode at loads > 100mA
27 * efficiency in IDLE mode at loads < 10mA. Thus regulator r will operate
28 * in normal mode for loads > 10mA and in IDLE mode for load <= 10mA.
47 * best (and most efficient) regulator mode for a desired load.
49 * Most drivers will only care about NORMAL. The modes below are generic and
55 * Mode Description
60 * NORMAL Normal regulator power supply mode. Most drivers will
61 * use this mode.
63 * IDLE Regulator runs in a more efficient mode for light
65 * requirement during periods of inactivity. This mode
66 * may be more noisy than NORMAL and may not be able
69 * STANDBY Regulator runs in the most efficient mode for very
71 * in a sleep/standby state. This mode is likely to be
76 * will only just support NORMAL.
143 * struct pre_voltage_change_data - Data sent with PRE_VOLTAGE_CHANGE event
158 * struct regulator_bulk_data - Data used for bulk regulator operations.
257 int regulator_set_mode(struct regulator *regulator, unsigned int mode);
290 /* driver data - core doesn't touch */
331 return ERR_PTR(-ENODEV); in regulator_get_exclusive()
337 return ERR_PTR(-ENODEV); in regulator_get_optional()
344 return ERR_PTR(-ENODEV); in devm_regulator_get_optional()
486 return -EINVAL; in regulator_get_voltage()
512 unsigned int mode) in regulator_set_mode() argument
525 return -EINVAL; in regulator_get_error_flags()
541 return ERR_PTR(-EOPNOTSUPP); in regulator_get_regmap()
548 return -EOPNOTSUPP; in regulator_get_hardware_vsel_register()
554 return -EOPNOTSUPP; in regulator_list_hardware_vsel()
598 return -EINVAL; in regulator_list_voltage()
632 new_uV - tol_uV, new_uV + tol_uV); in regulator_set_voltage_tol()
639 target_uV - tol_uV, in regulator_is_supported_voltage_tol()