|
Linux Kernel
3.7.1
|
#include <power_supply.h>
Data Fields | |
| const char * | name |
| enum power_supply_type | type |
| enum power_supply_property * | properties |
| 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 device * | dev |
| struct work_struct | changed_work |
Definition at line 161 of file power_supply.h.
| struct work_struct changed_work |
Definition at line 186 of file power_supply.h.
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.
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.
| enum power_supply_type type |
Definition at line 163 of file power_supply.h.
| int use_for_apm |
Definition at line 182 of file power_supply.h.
1.8.2