Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
regulator_init_data Struct Reference

#include <machine.h>

Data Fields

const charsupply_regulator
 
struct regulation_constraints constraints
 
int num_consumer_supplies
 
struct regulator_consumer_supplyconsumer_supplies
 
int(* regulator_init )(void *driver_data)
 
voiddriver_data
 

Detailed Description

struct regulator_init_data - regulator platform initialisation data.

Initialisation constraints, our supply and consumers supplies.

: Parent regulator. Specified using the regulator name as it appears in the name field in sysfs, which can be explicitly set using the constraints field 'name'.

: Constraints. These must be specified for the regulator to be usable. : Number of consumer device supplies. : Consumer device supply configuration.

: Callback invoked when the regulator has been registered. : Data passed to regulator_init.

Definition at line 177 of file machine.h.

Field Documentation

Definition at line 180 of file machine.h.

struct regulator_consumer_supply* consumer_supplies

Definition at line 183 of file machine.h.

Definition at line 187 of file machine.h.

int num_consumer_supplies

Definition at line 182 of file machine.h.

int(* regulator_init)(void *driver_data)

Definition at line 186 of file machine.h.

const char* supply_regulator

Definition at line 178 of file machine.h.


The documentation for this struct was generated from the following file: