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

#include <charger-manager.h>

Data Fields

const charregulator_name
 
struct regulatorconsumer
 
int externally_control
 
struct charger_cablecables
 
int num_cables
 
struct attribute_group attr_g
 
struct device_attribute attr_name
 
struct device_attribute attr_state
 
struct device_attribute attr_externally_control
 
struct attributeattrs [4]
 
struct charger_managercm
 

Detailed Description

struct charger_regulator : the name of regulator for using charger. : the regulator consumer for the charger. : Set if the charger-manager cannot control charger, the charger will be maintained with disabled state. : the array of charger cables to enable/disable charger and set current limit according to constratint data of struct charger_cable if only charger cable included in the array of charger cables is attached/detached. : the number of charger cables. : Attribute group for the charger(regulator) : "name" sysfs entry : "state" sysfs entry : "externally_control" sysfs entry : Arrays pointing to attr_name/state/externally_control for attr_g

Definition at line 127 of file charger-manager.h.

Field Documentation

struct device_attribute attr_externally_control

Definition at line 145 of file charger-manager.h.

Definition at line 142 of file charger-manager.h.

Definition at line 143 of file charger-manager.h.

Definition at line 144 of file charger-manager.h.

struct attribute* attrs[4]

Definition at line 146 of file charger-manager.h.

Definition at line 139 of file charger-manager.h.

Definition at line 148 of file charger-manager.h.

struct regulator* consumer

Definition at line 130 of file charger-manager.h.

int externally_control

Definition at line 133 of file charger-manager.h.

int num_cables

Definition at line 140 of file charger-manager.h.

const char* regulator_name

Definition at line 129 of file charger-manager.h.


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