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

Data Fields

struct devicedev
 
int max_usb_in_curr
 
bool vbus_detected
 
bool vbus_detected_start
 
bool ac_conn
 
bool vddadc_en_ac
 
bool vddadc_en_usb
 
int vbat
 
int old_vbat
 
bool autopower
 
struct ab8500parent
 
struct ab8500_gpadcgpadc
 
struct
abx500_charger_platform_data
pdata
 
struct abx500_bm_databat
 
struct ab8500_charger_event_flags flags
 
struct ab8500_charger_usb_state usb_state
 
struct ux500_charger ac_chg
 
struct ux500_charger usb_chg
 
struct ab8500_charger_info ac
 
struct ab8500_charger_info usb
 
struct regulatorregu
 
struct workqueue_structcharger_wq
 
struct delayed_work check_vbat_work
 
struct delayed_work check_hw_failure_work
 
struct delayed_work check_usbchgnotok_work
 
struct delayed_work kick_wd_work
 
struct work_struct ac_work
 
struct work_struct detect_usb_type_work
 
struct work_struct usb_link_status_work
 
struct work_struct usb_state_changed_work
 
struct work_struct check_main_thermal_prot_work
 
struct work_struct check_usb_thermal_prot_work
 
struct usb_phyusb_phy
 
struct notifier_block nb
 

Detailed Description

struct ab8500_charger - ab8500 Charger device information : Pointer to the structure device : Max USB charger input current : VBUS detected : VBUS detected during startup : This will be true when the AC charger has been plugged : Indicate if VDD ADC supply is enabled because AC charger is enabled : Indicate if VDD ADC supply is enabled because USB charger is enabled Battery voltage Previously measured battery voltage Indicate if we should have automatic pwron after pwrloss : Pointer to the struct ab8500 : Pointer to the struct gpadc : Pointer to the abx500_charger platform data : Pointer to the abx500_bm platform data : Structure for information about events triggered : Structure for usb stack information : AC charger power supply : USB charger power supply : Structure that holds the AC charger properties : Structure that holds the USB charger properties : Pointer to the struct regulator : Work queue for the IRQs and checking HW state Work for checking vbat threshold to adjust vbus current : Work for checking HW state : Work for checking USB charger not ok status : Work for kicking the charger watchdog in case of ABB rev 1.* due to the watchog logic bug : Work for checking AC charger connection : Work for detecting the USB type connected : Work for checking the new USB link status : Work for checking USB state : Work for checking Main thermal status : Work for checking USB thermal status

Definition at line 210 of file ab8500_charger.c.

Field Documentation

Definition at line 229 of file ab8500_charger.c.

Definition at line 227 of file ab8500_charger.c.

bool ac_conn

Definition at line 215 of file ab8500_charger.c.

Definition at line 237 of file ab8500_charger.c.

bool autopower

Definition at line 220 of file ab8500_charger.c.

Definition at line 224 of file ab8500_charger.c.

struct workqueue_struct* charger_wq

Definition at line 232 of file ab8500_charger.c.

struct delayed_work check_hw_failure_work

Definition at line 234 of file ab8500_charger.c.

struct work_struct check_main_thermal_prot_work

Definition at line 241 of file ab8500_charger.c.

struct work_struct check_usb_thermal_prot_work

Definition at line 242 of file ab8500_charger.c.

struct delayed_work check_usbchgnotok_work

Definition at line 235 of file ab8500_charger.c.

struct delayed_work check_vbat_work

Definition at line 233 of file ab8500_charger.c.

struct work_struct detect_usb_type_work

Definition at line 238 of file ab8500_charger.c.

struct device* dev

Definition at line 211 of file ab8500_charger.c.

Definition at line 225 of file ab8500_charger.c.

Definition at line 222 of file ab8500_charger.c.

struct delayed_work kick_wd_work

Definition at line 236 of file ab8500_charger.c.

int max_usb_in_curr

Definition at line 212 of file ab8500_charger.c.

Definition at line 244 of file ab8500_charger.c.

int old_vbat

Definition at line 219 of file ab8500_charger.c.

struct ab8500* parent

Definition at line 221 of file ab8500_charger.c.

Definition at line 223 of file ab8500_charger.c.

Definition at line 231 of file ab8500_charger.c.

Definition at line 230 of file ab8500_charger.c.

Definition at line 228 of file ab8500_charger.c.

struct work_struct usb_link_status_work

Definition at line 239 of file ab8500_charger.c.

Definition at line 243 of file ab8500_charger.c.

Definition at line 226 of file ab8500_charger.c.

struct work_struct usb_state_changed_work

Definition at line 240 of file ab8500_charger.c.

int vbat

Definition at line 218 of file ab8500_charger.c.

bool vbus_detected

Definition at line 213 of file ab8500_charger.c.

bool vbus_detected_start

Definition at line 214 of file ab8500_charger.c.

bool vddadc_en_ac

Definition at line 216 of file ab8500_charger.c.

bool vddadc_en_usb

Definition at line 217 of file ab8500_charger.c.


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