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

Data Fields

struct mutex lock
 
struct devicedev
 
struct regmapregmap
 
struct power_supply mains
 
struct power_supply usb
 
struct power_supply battery
 
bool mains_online
 
bool usb_online
 
bool charging_enabled
 
struct
smb347_charger_platform_data
pdata
 

Detailed Description

struct smb347_charger - smb347 charger instance : protects concurrent access to online variables : pointer to device : pointer to driver regmap : power_supply instance for AC/DC power : power_supply instance for USB power : power_supply instance for battery : is AC/DC input connected : is USB input connected : is charging enabled : pointer to platform data

Definition at line 138 of file smb347-charger.c.

Field Documentation

Definition at line 144 of file smb347-charger.c.

bool charging_enabled

Definition at line 147 of file smb347-charger.c.

struct device* dev

Definition at line 140 of file smb347-charger.c.

struct mutex lock

Definition at line 139 of file smb347-charger.c.

Definition at line 142 of file smb347-charger.c.

bool mains_online

Definition at line 145 of file smb347-charger.c.

Definition at line 148 of file smb347-charger.c.

Definition at line 141 of file smb347-charger.c.

Definition at line 143 of file smb347-charger.c.

bool usb_online

Definition at line 146 of file smb347-charger.c.


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