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

#include <driver.h>

Data Fields

struct devicedev
 
struct regulator_init_datainit_data
 
voiddriver_data
 
struct device_nodeof_node
 
struct regmapregmap
 
int ena_gpio
 
unsigned int ena_gpio_invert:1
 
unsigned int ena_gpio_flags
 

Detailed Description

struct regulator_config - Dynamic regulator descriptor

Each regulator registered with the core is described with a structure of this type and a struct regulator_desc. This structure contains the runtime variable parts of the regulator description.

: struct device for the regulator : platform provided init data, passed through by driver : private regulator data : OpenFirmware node to parse for device tree bindings (may be NULL). : regmap to use for core regmap helpers if dev_get_regulator() is insufficient. : GPIO controlling regulator enable. : Sense for GPIO enable control. : Flags to use when calling gpio_request_one()

Definition at line 242 of file driver.h.

Field Documentation

struct device* dev

Definition at line 243 of file driver.h.

Definition at line 245 of file driver.h.

int ena_gpio

Definition at line 249 of file driver.h.

unsigned int ena_gpio_flags

Definition at line 251 of file driver.h.

unsigned int ena_gpio_invert

Definition at line 250 of file driver.h.

Definition at line 244 of file driver.h.

struct device_node* of_node

Definition at line 246 of file driver.h.

Definition at line 247 of file driver.h.


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