Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | charger_global_desc |
struct | charger_cable |
struct | charger_regulator |
struct | charger_desc |
struct | charger_manager |
Enumerations | |
enum | data_source { CM_BATTERY_PRESENT, CM_NO_BATTERY, CM_FUEL_GAUGE, CM_CHARGER_STAT } |
enum | polling_modes { CM_POLL_DISABLE = 0, CM_POLL_ALWAYS, CM_POLL_EXTERNAL_POWER_ONLY, CM_POLL_CHARGING_ONLY } |
enum | cm_event_types { CM_EVENT_UNKNOWN = 0, CM_EVENT_BATT_FULL, CM_EVENT_BATT_IN, CM_EVENT_BATT_OUT, CM_EVENT_EXT_PWR_IN_OUT, CM_EVENT_CHG_START_STOP, CM_EVENT_OTHERS } |
: the name of charger cable(external connector). | |
struct charger_cable : the name of extcon device. : the extcon device. : the workqueue to control charger according to the state of charger cable. If charger cable is attached, enable charger. But if charger cable is detached, disable charger. : the notifier block to receive changed state from EXTCON (External Connector) when charger cable is attached/detached. : the state of charger cable. true: the charger cable is attached false: the charger cable is detached : the instance of struct charger_regulator. : the Charger Manager representing the battery. | |
#define | PSY_NAME_MAX 30 |
#define PSY_NAME_MAX 30 |
Definition at line 220 of file charger-manager.h.
enum cm_event_types |
CM_EVENT_UNKNOWN | |
CM_EVENT_BATT_FULL | |
CM_EVENT_BATT_IN | |
CM_EVENT_BATT_OUT | |
CM_EVENT_EXT_PWR_IN_OUT | |
CM_EVENT_CHG_START_STOP | |
CM_EVENT_OTHERS |
Definition at line 35 of file charger-manager.h.
enum data_source |
Definition at line 21 of file charger-manager.h.
enum polling_modes |
Definition at line 28 of file charger-manager.h.