Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ab8500-bm.h File Reference
#include <linux/kernel.h>
#include <linux/mfd/abx500.h>

Go to the source code of this file.

Data Structures

struct  res_to_temp
 
struct  batres_vs_temp
 
struct  ab8500_fg_parameters
 
struct  ab8500_maxim_parameters
 
struct  ab8500_bm_capacity_levels
 
struct  ab8500_bm_charger_parameters
 
struct  ab8500_bm_data
 
struct  ab8500_charger_platform_data
 
struct  ab8500_btemp_platform_data
 
struct  ab8500_fg_platform_data
 
struct  ab8500_chargalg_platform_data
 

Macros

#define AB8500_MAIN_WDOG_CTRL_REG   0x01
 
#define AB8500_LOW_BAT_REG   0x03
 
#define AB8500_BATT_OK_REG   0x04
 
#define AB8500_USB_LINE_STAT_REG   0x80
 
#define AB8500_CH_STATUS1_REG   0x00
 
#define AB8500_CH_STATUS2_REG   0x01
 
#define AB8500_CH_USBCH_STAT1_REG   0x02
 
#define AB8500_CH_USBCH_STAT2_REG   0x03
 
#define AB8500_CH_FSM_STAT_REG   0x04
 
#define AB8500_CH_STAT_REG   0x05
 
#define AB8500_CH_VOLT_LVL_REG   0x40
 
#define AB8500_CH_VOLT_LVL_MAX_REG   0x41 /*Only in Cut2.0*/
 
#define AB8500_CH_OPT_CRNTLVL_REG   0x42
 
#define AB8500_CH_OPT_CRNTLVL_MAX_REG   0x43 /*Only in Cut2.0*/
 
#define AB8500_CH_WD_TIMER_REG   0x50
 
#define AB8500_CHARG_WD_CTRL   0x51
 
#define AB8500_BTEMP_HIGH_TH   0x52
 
#define AB8500_LED_INDICATOR_PWM_CTRL   0x53
 
#define AB8500_LED_INDICATOR_PWM_DUTY   0x54
 
#define AB8500_BATT_OVV   0x55
 
#define AB8500_CHARGER_CTRL   0x56
 
#define AB8500_BAT_CTRL_CURRENT_SOURCE   0x60 /*Only in Cut2.0*/
 
#define AB8500_MCH_CTRL1   0x80
 
#define AB8500_MCH_CTRL2   0x81
 
#define AB8500_MCH_IPT_CURLVL_REG   0x82
 
#define AB8500_CH_WD_REG   0x83
 
#define AB8500_USBCH_CTRL1_REG   0xC0
 
#define AB8500_USBCH_CTRL2_REG   0xC1
 
#define AB8500_USBCH_IPT_CRNTLVL_REG   0xC2
 
#define AB8500_GASG_CC_CTRL_REG   0x00
 
#define AB8500_GASG_CC_ACCU1_REG   0x01
 
#define AB8500_GASG_CC_ACCU2_REG   0x02
 
#define AB8500_GASG_CC_ACCU3_REG   0x03
 
#define AB8500_GASG_CC_ACCU4_REG   0x04
 
#define AB8500_GASG_CC_SMPL_CNTRL_REG   0x05
 
#define AB8500_GASG_CC_SMPL_CNTRH_REG   0x06
 
#define AB8500_GASG_CC_SMPL_CNVL_REG   0x07
 
#define AB8500_GASG_CC_SMPL_CNVH_REG   0x08
 
#define AB8500_GASG_CC_CNTR_AVGOFF_REG   0x09
 
#define AB8500_GASG_CC_OFFSET_REG   0x0A
 
#define AB8500_GASG_CC_NCOV_ACCU   0x10
 
#define AB8500_GASG_CC_NCOV_ACCU_CTRL   0x11
 
#define AB8500_GASG_CC_NCOV_ACCU_LOW   0x12
 
#define AB8500_GASG_CC_NCOV_ACCU_MED   0x13
 
#define AB8500_GASG_CC_NCOV_ACCU_HIGH   0x14
 
#define AB8500_IT_SOURCE2_REG   0x01
 
#define AB8500_IT_SOURCE21_REG   0x14
 
#define AB8500_RTC_BACKUP_CHG_REG   0x0C
 
#define AB8500_RTC_CC_CONF_REG   0x01
 
#define AB8500_RTC_CTRL_REG   0x0B
 
#define AB8500_OTP_CONF_15   0x0E
 
#define ADC_RESOLUTION   1024
 
#define ADC_CH_MAIN_MIN   0
 
#define ADC_CH_MAIN_MAX   20030
 
#define ADC_CH_VBUS_MIN   0
 
#define ADC_CH_VBUS_MAX   20030
 
#define ADC_CH_VBAT_MIN   2300
 
#define ADC_CH_VBAT_MAX   4800
 
#define ADC_CH_BKBAT_MIN   0
 
#define ADC_CH_BKBAT_MAX   3200
 
#define MAIN_CH_IP_CUR_0P9A   0x80
 
#define MAIN_CH_IP_CUR_1P0A   0x90
 
#define MAIN_CH_IP_CUR_1P1A   0xA0
 
#define MAIN_CH_IP_CUR_1P2A   0xB0
 
#define MAIN_CH_IP_CUR_1P3A   0xC0
 
#define MAIN_CH_IP_CUR_1P4A   0xD0
 
#define MAIN_CH_IP_CUR_1P5A   0xE0
 
#define CH_VOL_LVL_3P5   0x00
 
#define CH_VOL_LVL_4P0   0x14
 
#define CH_VOL_LVL_4P05   0x16
 
#define CH_VOL_LVL_4P1   0x1B
 
#define CH_VOL_LVL_4P15   0x20
 
#define CH_VOL_LVL_4P2   0x25
 
#define CH_VOL_LVL_4P6   0x4D
 
#define CH_OP_CUR_LVL_0P1   0x00
 
#define CH_OP_CUR_LVL_0P2   0x01
 
#define CH_OP_CUR_LVL_0P3   0x02
 
#define CH_OP_CUR_LVL_0P4   0x03
 
#define CH_OP_CUR_LVL_0P5   0x04
 
#define CH_OP_CUR_LVL_0P6   0x05
 
#define CH_OP_CUR_LVL_0P7   0x06
 
#define CH_OP_CUR_LVL_0P8   0x07
 
#define CH_OP_CUR_LVL_0P9   0x08
 
#define CH_OP_CUR_LVL_1P4   0x0D
 
#define CH_OP_CUR_LVL_1P5   0x0E
 
#define CH_OP_CUR_LVL_1P6   0x0F
 
#define BTEMP_HIGH_TH_57_0   0x00
 
#define BTEMP_HIGH_TH_52   0x01
 
#define BTEMP_HIGH_TH_57_1   0x02
 
#define BTEMP_HIGH_TH_62   0x03
 
#define USB_0P1A   100
 
#define USB_0P2A   200
 
#define USB_0P3A   300
 
#define USB_0P4A   400
 
#define USB_0P5A   500
 
#define LOW_BAT_3P1V   0x20
 
#define LOW_BAT_2P3V   0x00
 
#define LOW_BAT_RESET   0x01
 
#define LOW_BAT_ENABLE   0x01
 
#define BUP_ICH_SEL_50UA   0x00
 
#define BUP_ICH_SEL_150UA   0x04
 
#define BUP_ICH_SEL_300UA   0x08
 
#define BUP_ICH_SEL_700UA   0x0C
 
#define BUP_VCH_SEL_2P5V   0x00
 
#define BUP_VCH_SEL_2P6V   0x01
 
#define BUP_VCH_SEL_2P8V   0x02
 
#define BUP_VCH_SEL_3P1V   0x03
 
#define BATT_OVV_ENA   0x02
 
#define BATT_OVV_TH_3P7   0x00
 
#define BATT_OVV_TH_4P75   0x01
 
#define BATT_OVV_VALUE   4750
 
#define VBUS_OVV_SELECT_MASK   0x78
 
#define VBUS_OVV_SELECT_5P6V   0x00
 
#define VBUS_OVV_SELECT_5P7V   0x08
 
#define VBUS_OVV_SELECT_5P8V   0x10
 
#define VBUS_OVV_SELECT_5P9V   0x18
 
#define VBUS_OVV_SELECT_6P0V   0x20
 
#define VBUS_OVV_SELECT_6P1V   0x28
 
#define VBUS_OVV_SELECT_6P2V   0x30
 
#define VBUS_OVV_SELECT_6P3V   0x38
 
#define VBUS_AUTO_IN_CURR_LIM_ENA   0x04
 
#define RESET_ACCU   0x02
 
#define READ_REQ   0x01
 
#define CC_DEEP_SLEEP_ENA   0x02
 
#define CC_PWR_UP_ENA   0x01
 
#define CC_SAMPLES_40   0x28
 
#define RD_NCONV_ACCU_REQ   0x01
 
#define CC_CALIB   0x08
 
#define CC_INTAVGOFFSET_ENA   0x10
 
#define CC_MUXOFFSET   0x80
 
#define CC_INT_CAL_N_AVG_MASK   0x60
 
#define CC_INT_CAL_SAMPLES_16   0x40
 
#define CC_INT_CAL_SAMPLES_8   0x20
 
#define CC_INT_CAL_SAMPLES_4   0x00
 
#define RTC_BUP_CH_ENA   0x10
 
#define BAT_CTRL_7U_ENA   0x01
 
#define BAT_CTRL_20U_ENA   0x02
 
#define BAT_CTRL_CMP_ENA   0x04
 
#define FORCE_BAT_CTRL_CMP_HIGH   0x08
 
#define BAT_CTRL_PULL_UP_ENA   0x10
 
#define BATTERY_UNKNOWN   00
 

Functions

int ab8500_fg_inst_curr_done (struct ab8500_fg *di)
 
struct ab8500_fgab8500_fg_get (void)
 

Macro Definition Documentation

#define AB8500_BAT_CTRL_CURRENT_SOURCE   0x60 /*Only in Cut2.0*/

Definition at line 53 of file ab8500-bm.h.

#define AB8500_BATT_OK_REG   0x04

Definition at line 20 of file ab8500-bm.h.

#define AB8500_BATT_OVV   0x55

Definition at line 51 of file ab8500-bm.h.

#define AB8500_BTEMP_HIGH_TH   0x52

Definition at line 48 of file ab8500-bm.h.

#define AB8500_CH_FSM_STAT_REG   0x04

Definition at line 35 of file ab8500-bm.h.

#define AB8500_CH_OPT_CRNTLVL_MAX_REG   0x43 /*Only in Cut2.0*/

Definition at line 45 of file ab8500-bm.h.

#define AB8500_CH_OPT_CRNTLVL_REG   0x42

Definition at line 44 of file ab8500-bm.h.

#define AB8500_CH_STAT_REG   0x05

Definition at line 36 of file ab8500-bm.h.

#define AB8500_CH_STATUS1_REG   0x00

Definition at line 31 of file ab8500-bm.h.

#define AB8500_CH_STATUS2_REG   0x01

Definition at line 32 of file ab8500-bm.h.

#define AB8500_CH_USBCH_STAT1_REG   0x02

Definition at line 33 of file ab8500-bm.h.

#define AB8500_CH_USBCH_STAT2_REG   0x03

Definition at line 34 of file ab8500-bm.h.

#define AB8500_CH_VOLT_LVL_MAX_REG   0x41 /*Only in Cut2.0*/

Definition at line 43 of file ab8500-bm.h.

#define AB8500_CH_VOLT_LVL_REG   0x40

Definition at line 42 of file ab8500-bm.h.

#define AB8500_CH_WD_REG   0x83

Definition at line 62 of file ab8500-bm.h.

#define AB8500_CH_WD_TIMER_REG   0x50

Definition at line 46 of file ab8500-bm.h.

#define AB8500_CHARG_WD_CTRL   0x51

Definition at line 47 of file ab8500-bm.h.

#define AB8500_CHARGER_CTRL   0x56

Definition at line 52 of file ab8500-bm.h.

#define AB8500_GASG_CC_ACCU1_REG   0x01

Definition at line 77 of file ab8500-bm.h.

#define AB8500_GASG_CC_ACCU2_REG   0x02

Definition at line 78 of file ab8500-bm.h.

#define AB8500_GASG_CC_ACCU3_REG   0x03

Definition at line 79 of file ab8500-bm.h.

#define AB8500_GASG_CC_ACCU4_REG   0x04

Definition at line 80 of file ab8500-bm.h.

#define AB8500_GASG_CC_CNTR_AVGOFF_REG   0x09

Definition at line 85 of file ab8500-bm.h.

#define AB8500_GASG_CC_CTRL_REG   0x00

Definition at line 76 of file ab8500-bm.h.

#define AB8500_GASG_CC_NCOV_ACCU   0x10

Definition at line 87 of file ab8500-bm.h.

#define AB8500_GASG_CC_NCOV_ACCU_CTRL   0x11

Definition at line 88 of file ab8500-bm.h.

#define AB8500_GASG_CC_NCOV_ACCU_HIGH   0x14

Definition at line 91 of file ab8500-bm.h.

#define AB8500_GASG_CC_NCOV_ACCU_LOW   0x12

Definition at line 89 of file ab8500-bm.h.

#define AB8500_GASG_CC_NCOV_ACCU_MED   0x13

Definition at line 90 of file ab8500-bm.h.

#define AB8500_GASG_CC_OFFSET_REG   0x0A

Definition at line 86 of file ab8500-bm.h.

#define AB8500_GASG_CC_SMPL_CNTRH_REG   0x06

Definition at line 82 of file ab8500-bm.h.

#define AB8500_GASG_CC_SMPL_CNTRL_REG   0x05

Definition at line 81 of file ab8500-bm.h.

#define AB8500_GASG_CC_SMPL_CNVH_REG   0x08

Definition at line 84 of file ab8500-bm.h.

#define AB8500_GASG_CC_SMPL_CNVL_REG   0x07

Definition at line 83 of file ab8500-bm.h.

#define AB8500_IT_SOURCE21_REG   0x14

Definition at line 98 of file ab8500-bm.h.

#define AB8500_IT_SOURCE2_REG   0x01

Definition at line 97 of file ab8500-bm.h.

#define AB8500_LED_INDICATOR_PWM_CTRL   0x53

Definition at line 49 of file ab8500-bm.h.

#define AB8500_LED_INDICATOR_PWM_DUTY   0x54

Definition at line 50 of file ab8500-bm.h.

#define AB8500_LOW_BAT_REG   0x03

Definition at line 19 of file ab8500-bm.h.

#define AB8500_MAIN_WDOG_CTRL_REG   0x01

Definition at line 18 of file ab8500-bm.h.

#define AB8500_MCH_CTRL1   0x80

Definition at line 59 of file ab8500-bm.h.

#define AB8500_MCH_CTRL2   0x81

Definition at line 60 of file ab8500-bm.h.

#define AB8500_MCH_IPT_CURLVL_REG   0x82

Definition at line 61 of file ab8500-bm.h.

#define AB8500_OTP_CONF_15   0x0E

Definition at line 112 of file ab8500-bm.h.

#define AB8500_RTC_BACKUP_CHG_REG   0x0C

Definition at line 104 of file ab8500-bm.h.

#define AB8500_RTC_CC_CONF_REG   0x01

Definition at line 105 of file ab8500-bm.h.

#define AB8500_RTC_CTRL_REG   0x0B

Definition at line 106 of file ab8500-bm.h.

#define AB8500_USB_LINE_STAT_REG   0x80

Definition at line 25 of file ab8500-bm.h.

#define AB8500_USBCH_CTRL1_REG   0xC0

Definition at line 68 of file ab8500-bm.h.

#define AB8500_USBCH_CTRL2_REG   0xC1

Definition at line 69 of file ab8500-bm.h.

#define AB8500_USBCH_IPT_CRNTLVL_REG   0xC2

Definition at line 70 of file ab8500-bm.h.

#define ADC_CH_BKBAT_MAX   3200

Definition at line 123 of file ab8500-bm.h.

#define ADC_CH_BKBAT_MIN   0

Definition at line 122 of file ab8500-bm.h.

#define ADC_CH_MAIN_MAX   20030

Definition at line 117 of file ab8500-bm.h.

#define ADC_CH_MAIN_MIN   0

Definition at line 116 of file ab8500-bm.h.

#define ADC_CH_VBAT_MAX   4800

Definition at line 121 of file ab8500-bm.h.

#define ADC_CH_VBAT_MIN   2300

Definition at line 120 of file ab8500-bm.h.

#define ADC_CH_VBUS_MAX   20030

Definition at line 119 of file ab8500-bm.h.

#define ADC_CH_VBUS_MIN   0

Definition at line 118 of file ab8500-bm.h.

#define ADC_RESOLUTION   1024

Definition at line 115 of file ab8500-bm.h.

#define BAT_CTRL_20U_ENA   0x02

Definition at line 227 of file ab8500-bm.h.

#define BAT_CTRL_7U_ENA   0x01

Definition at line 226 of file ab8500-bm.h.

#define BAT_CTRL_CMP_ENA   0x04

Definition at line 228 of file ab8500-bm.h.

#define BAT_CTRL_PULL_UP_ENA   0x10

Definition at line 230 of file ab8500-bm.h.

#define BATT_OVV_ENA   0x02

Definition at line 187 of file ab8500-bm.h.

#define BATT_OVV_TH_3P7   0x00

Definition at line 188 of file ab8500-bm.h.

#define BATT_OVV_TH_4P75   0x01

Definition at line 189 of file ab8500-bm.h.

#define BATT_OVV_VALUE   4750

Definition at line 192 of file ab8500-bm.h.

#define BATTERY_UNKNOWN   00

Definition at line 233 of file ab8500-bm.h.

#define BTEMP_HIGH_TH_52   0x01

Definition at line 159 of file ab8500-bm.h.

#define BTEMP_HIGH_TH_57_0   0x00

Definition at line 158 of file ab8500-bm.h.

#define BTEMP_HIGH_TH_57_1   0x02

Definition at line 160 of file ab8500-bm.h.

#define BTEMP_HIGH_TH_62   0x03

Definition at line 161 of file ab8500-bm.h.

#define BUP_ICH_SEL_150UA   0x04

Definition at line 177 of file ab8500-bm.h.

#define BUP_ICH_SEL_300UA   0x08

Definition at line 178 of file ab8500-bm.h.

#define BUP_ICH_SEL_50UA   0x00

Definition at line 176 of file ab8500-bm.h.

#define BUP_ICH_SEL_700UA   0x0C

Definition at line 179 of file ab8500-bm.h.

#define BUP_VCH_SEL_2P5V   0x00

Definition at line 181 of file ab8500-bm.h.

#define BUP_VCH_SEL_2P6V   0x01

Definition at line 182 of file ab8500-bm.h.

#define BUP_VCH_SEL_2P8V   0x02

Definition at line 183 of file ab8500-bm.h.

#define BUP_VCH_SEL_3P1V   0x03

Definition at line 184 of file ab8500-bm.h.

#define CC_CALIB   0x08

Definition at line 214 of file ab8500-bm.h.

#define CC_DEEP_SLEEP_ENA   0x02

Definition at line 210 of file ab8500-bm.h.

#define CC_INT_CAL_N_AVG_MASK   0x60

Definition at line 217 of file ab8500-bm.h.

#define CC_INT_CAL_SAMPLES_16   0x40

Definition at line 218 of file ab8500-bm.h.

#define CC_INT_CAL_SAMPLES_4   0x00

Definition at line 220 of file ab8500-bm.h.

#define CC_INT_CAL_SAMPLES_8   0x20

Definition at line 219 of file ab8500-bm.h.

#define CC_INTAVGOFFSET_ENA   0x10

Definition at line 215 of file ab8500-bm.h.

#define CC_MUXOFFSET   0x80

Definition at line 216 of file ab8500-bm.h.

#define CC_PWR_UP_ENA   0x01

Definition at line 211 of file ab8500-bm.h.

#define CC_SAMPLES_40   0x28

Definition at line 212 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_0P1   0x00

Definition at line 144 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_0P2   0x01

Definition at line 145 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_0P3   0x02

Definition at line 146 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_0P4   0x03

Definition at line 147 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_0P5   0x04

Definition at line 148 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_0P6   0x05

Definition at line 149 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_0P7   0x06

Definition at line 150 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_0P8   0x07

Definition at line 151 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_0P9   0x08

Definition at line 152 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_1P4   0x0D

Definition at line 153 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_1P5   0x0E

Definition at line 154 of file ab8500-bm.h.

#define CH_OP_CUR_LVL_1P6   0x0F

Definition at line 155 of file ab8500-bm.h.

#define CH_VOL_LVL_3P5   0x00

Definition at line 135 of file ab8500-bm.h.

#define CH_VOL_LVL_4P0   0x14

Definition at line 136 of file ab8500-bm.h.

#define CH_VOL_LVL_4P05   0x16

Definition at line 137 of file ab8500-bm.h.

#define CH_VOL_LVL_4P1   0x1B

Definition at line 138 of file ab8500-bm.h.

#define CH_VOL_LVL_4P15   0x20

Definition at line 139 of file ab8500-bm.h.

#define CH_VOL_LVL_4P2   0x25

Definition at line 140 of file ab8500-bm.h.

#define CH_VOL_LVL_4P6   0x4D

Definition at line 141 of file ab8500-bm.h.

#define FORCE_BAT_CTRL_CMP_HIGH   0x08

Definition at line 229 of file ab8500-bm.h.

#define LOW_BAT_2P3V   0x00

Definition at line 171 of file ab8500-bm.h.

#define LOW_BAT_3P1V   0x20

Definition at line 170 of file ab8500-bm.h.

#define LOW_BAT_ENABLE   0x01

Definition at line 173 of file ab8500-bm.h.

#define LOW_BAT_RESET   0x01

Definition at line 172 of file ab8500-bm.h.

#define MAIN_CH_IP_CUR_0P9A   0x80

Definition at line 126 of file ab8500-bm.h.

#define MAIN_CH_IP_CUR_1P0A   0x90

Definition at line 127 of file ab8500-bm.h.

#define MAIN_CH_IP_CUR_1P1A   0xA0

Definition at line 128 of file ab8500-bm.h.

#define MAIN_CH_IP_CUR_1P2A   0xB0

Definition at line 129 of file ab8500-bm.h.

#define MAIN_CH_IP_CUR_1P3A   0xC0

Definition at line 130 of file ab8500-bm.h.

#define MAIN_CH_IP_CUR_1P4A   0xD0

Definition at line 131 of file ab8500-bm.h.

#define MAIN_CH_IP_CUR_1P5A   0xE0

Definition at line 132 of file ab8500-bm.h.

#define RD_NCONV_ACCU_REQ   0x01

Definition at line 213 of file ab8500-bm.h.

#define READ_REQ   0x01

Definition at line 209 of file ab8500-bm.h.

#define RESET_ACCU   0x02

Definition at line 208 of file ab8500-bm.h.

#define RTC_BUP_CH_ENA   0x10

Definition at line 223 of file ab8500-bm.h.

#define USB_0P1A   100

Definition at line 164 of file ab8500-bm.h.

#define USB_0P2A   200

Definition at line 165 of file ab8500-bm.h.

#define USB_0P3A   300

Definition at line 166 of file ab8500-bm.h.

#define USB_0P4A   400

Definition at line 167 of file ab8500-bm.h.

#define USB_0P5A   500

Definition at line 168 of file ab8500-bm.h.

#define VBUS_AUTO_IN_CURR_LIM_ENA   0x04

Definition at line 205 of file ab8500-bm.h.

#define VBUS_OVV_SELECT_5P6V   0x00

Definition at line 196 of file ab8500-bm.h.

#define VBUS_OVV_SELECT_5P7V   0x08

Definition at line 197 of file ab8500-bm.h.

#define VBUS_OVV_SELECT_5P8V   0x10

Definition at line 198 of file ab8500-bm.h.

#define VBUS_OVV_SELECT_5P9V   0x18

Definition at line 199 of file ab8500-bm.h.

#define VBUS_OVV_SELECT_6P0V   0x20

Definition at line 200 of file ab8500-bm.h.

#define VBUS_OVV_SELECT_6P1V   0x28

Definition at line 201 of file ab8500-bm.h.

#define VBUS_OVV_SELECT_6P2V   0x30

Definition at line 202 of file ab8500-bm.h.

#define VBUS_OVV_SELECT_6P3V   0x38

Definition at line 203 of file ab8500-bm.h.

#define VBUS_OVV_SELECT_MASK   0x78

Definition at line 195 of file ab8500-bm.h.

Function Documentation

struct ab8500_fg* ab8500_fg_get ( void  )
read

Definition at line 454 of file ab8500-bm.h.

int ab8500_fg_inst_curr_done ( struct ab8500_fg di)

Definition at line 437 of file ab8500-bm.h.