Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | regulator_state |
struct | regulation_constraints |
struct | regulator_consumer_supply |
struct | regulator_init_data |
Macros | |
#define | REGULATOR_CHANGE_VOLTAGE 0x1 |
#define | REGULATOR_CHANGE_CURRENT 0x2 |
#define | REGULATOR_CHANGE_MODE 0x4 |
#define | REGULATOR_CHANGE_STATUS 0x8 |
#define | REGULATOR_CHANGE_DRMS 0x10 |
#define | REGULATOR_CHANGE_BYPASS 0x20 |
: Descriptive name for the constraints, used for display purposes. | |
struct regulation_constraints - regulator operating constraints. This struct describes regulator and board/machine specific constraints. : Smallest voltage consumers may set. : Largest voltage consumers may set. : Offset applied to voltages from consumer to compensate for voltage drops. : Smallest current consumers may set. : Largest current consumers may set. : Mask of modes which may be configured by consumers. : Operations which may be performed by consumers. : Set if the regulator should never be disabled. : Set if the regulator is enabled when the system is initially started. If the regulator is not enabled by the hardware or bootloader then it will be enabled when the constraints are applied. : Apply the voltage constraint when initialising. : Input voltage for regulator when supplied by another regulator. : State for regulator when system is suspended in disk mode. : State for regulator when system is suspended in mem mode. : State for regulator when system is suspended in standby mode. : Suspend state to set by default. : Mode to set at startup. : Time to settle down after voltage change (unit: uV/us) | |
#define | REGULATOR_SUPPLY(_name, _dev_name) |
int | regulator_suspend_prepare (suspend_state_t state) |
int | regulator_suspend_finish (void) |
#define REGULATOR_SUPPLY | ( | _name, | |
_dev_name | |||
) |
int regulator_suspend_prepare | ( | suspend_state_t | state | ) |