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

#include <gpio-regulator.h>

Data Fields

int value
 
int gpios
 

Detailed Description

struct gpio_regulator_state - state description : microvolts or microamps : bitfield of gpio target-states for the value

This structure describes a supported setting of the regulator and the necessary gpio-state to achieve it.

The n-th bit in the bitfield describes the state of the n-th GPIO from the gpios-array defined in gpio_regulator_config below.

Definition at line 39 of file gpio-regulator.h.

Field Documentation

int gpios

Definition at line 41 of file gpio-regulator.h.

int value

Definition at line 40 of file gpio-regulator.h.


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