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

#include <power_supply.h>

Data Fields

const charname
 
enum power_supply_type type
 
enum power_supply_propertyproperties
 
size_t num_properties
 
char ** supplied_to
 
size_t num_supplicants
 
int(* get_property )(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val)
 
int(* set_property )(struct power_supply *psy, enum power_supply_property psp, const union power_supply_propval *val)
 
int(* property_is_writeable )(struct power_supply *psy, enum power_supply_property psp)
 
void(* external_power_changed )(struct power_supply *psy)
 
void(* set_charged )(struct power_supply *psy)
 
int use_for_apm
 
struct devicedev
 
struct work_struct changed_work
 

Detailed Description

Definition at line 161 of file power_supply.h.

Field Documentation

struct work_struct changed_work

Definition at line 186 of file power_supply.h.

struct device* dev

Definition at line 185 of file power_supply.h.

void(* external_power_changed)(struct power_supply *psy)

Definition at line 178 of file power_supply.h.

int(* get_property)(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val)

Definition at line 170 of file power_supply.h.

const char* name

Definition at line 162 of file power_supply.h.

size_t num_properties

Definition at line 165 of file power_supply.h.

size_t num_supplicants

Definition at line 168 of file power_supply.h.

enum power_supply_property* properties

Definition at line 164 of file power_supply.h.

int(* property_is_writeable)(struct power_supply *psy, enum power_supply_property psp)

Definition at line 176 of file power_supply.h.

void(* set_charged)(struct power_supply *psy)

Definition at line 179 of file power_supply.h.

int(* set_property)(struct power_supply *psy, enum power_supply_property psp, const union power_supply_propval *val)

Definition at line 173 of file power_supply.h.

char** supplied_to

Definition at line 167 of file power_supply.h.

Definition at line 163 of file power_supply.h.

int use_for_apm

Definition at line 182 of file power_supply.h.


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