Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | tps6507x_board |
struct | tps6507x_dev |
#define TPS6507X_ADCONFIG_AD_ENABLE BIT(7) |
Definition at line 53 of file tps6507x.h.
#define TPS6507X_ADCONFIG_CONVERSION_DONE BIT(5) |
Definition at line 55 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_AC_VOLTAGE 6 |
Definition at line 63 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_AD_IN1 0 |
Definition at line 57 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_AD_IN2 1 |
Definition at line 58 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_AD_IN3 2 |
Definition at line 59 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_AD_IN4 3 |
Definition at line 60 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_BAT_CURRENT 5 |
Definition at line 62 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_BAT_VOLTAGE 9 |
Definition at line 66 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_CHARGER_VOLTAGE 8 |
Definition at line 65 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_ISET1_VOLTAGE 11 |
Definition at line 68 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_ISET2_VOLTAGE 12 |
Definition at line 69 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_REAL_TSC 14 |
Definition at line 70 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_SYS_VOLTAGE 7 |
Definition at line 64 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_THRESHOLD_VOLTAGE 10 |
Definition at line 67 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_TS_PIN 4 |
Definition at line 61 of file tps6507x.h.
#define TPS6507X_ADCONFIG_INPUT_TSC 15 |
Definition at line 71 of file tps6507x.h.
#define TPS6507X_ADCONFIG_START_CONVERSION BIT(6) |
Definition at line 54 of file tps6507x.h.
#define TPS6507X_ADCONFIG_VREF_ENABLE BIT(4) |
Definition at line 56 of file tps6507x.h.
#define TPS6507X_CHG_AC BIT(6) |
Definition at line 24 of file tps6507x.h.
#define TPS6507X_CHG_AC_CURRENT BIT(2) |
Definition at line 27 of file tps6507x.h.
#define TPS6507X_CHG_AC_PW_ENABLE BIT(4) |
Definition at line 26 of file tps6507x.h.
#define TPS6507X_CHG_USB BIT(7) |
Definition at line 23 of file tps6507x.h.
#define TPS6507X_CHG_USB_CURRENT BIT(0) |
Definition at line 28 of file tps6507x.h.
#define TPS6507X_CHG_USB_PW_ENABLE BIT(5) |
Definition at line 25 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_DCDC1_ENABLE BIT(4) |
Definition at line 93 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_DCDC1_ENABLE BIT(4) |
Definition at line 93 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_DCDC2_ENABLE BIT(3) |
Definition at line 94 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_DCDC2_ENABLE BIT(3) |
Definition at line 94 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_DCDC3_ENABLE BIT(2) |
Definition at line 95 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_DCDC3_ENABLE BIT(2) |
Definition at line 95 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_LDO1_ENABLE BIT(1) |
Definition at line 96 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_LDO1_ENABLE BIT(1) |
Definition at line 96 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_LDO2_ENABLE BIT(0) |
Definition at line 97 of file tps6507x.h.
#define TPS6507X_CON_CTRL1_LDO2_ENABLE BIT(0) |
Definition at line 97 of file tps6507x.h.
#define TPS6507X_DEFDCDC1_DCDC1_EXT_ADJ_EN BIT(7) |
Definition at line 104 of file tps6507x.h.
#define TPS6507X_DEFDCDC1_DCDC1_MASK 0X3F |
Definition at line 105 of file tps6507x.h.
#define TPS6507X_DEFDCDC2_HIGH_DCDC2_MASK 0X3F |
Definition at line 111 of file tps6507x.h.
#define TPS6507X_DEFDCDC2_LOW_DCDC2_MASK 0X3F |
Definition at line 108 of file tps6507x.h.
#define TPS6507X_DEFDCDC3_HIGH_DCDC3_MASK 0X3F |
Definition at line 117 of file tps6507x.h.
#define TPS6507X_DEFDCDC3_LOW_DCDC3_MASK 0X3F |
Definition at line 114 of file tps6507x.h.
#define TPS6507X_DEFDCDCX_DCDC_MASK 0X3F |
Definition at line 132 of file tps6507x.h.
#define TPS6507X_MAX_REGISTER 0X19 |
Definition at line 134 of file tps6507x.h.
#define TPS6507X_REG_AC_USB_APPLIED BIT(1) |
Definition at line 36 of file tps6507x.h.
#define TPS6507X_REG_AC_USB_REMOVED BIT(0) |
Definition at line 37 of file tps6507x.h.
#define TPS6507X_REG_ADCONFIG 0X07 |
Definition at line 52 of file tps6507x.h.
#define TPS6507X_REG_ADRESULT_1 0X09 |
Definition at line 83 of file tps6507x.h.
#define TPS6507X_REG_ADRESULT_2 0X0A |
Definition at line 85 of file tps6507x.h.
Definition at line 86 of file tps6507x.h.
#define TPS6507X_REG_CHGCONFIG0 0X03 |
Definition at line 39 of file tps6507x.h.
#define TPS6507X_REG_CHGCONFIG1 0X04 |
Definition at line 41 of file tps6507x.h.
#define TPS6507X_REG_CHGCONFIG2 0X05 |
Definition at line 48 of file tps6507x.h.
#define TPS6507X_REG_CHGCONFIG3 0X06 |
Definition at line 50 of file tps6507x.h.
#define TPS6507X_REG_CON_CTRL1 0X0D |
Definition at line 92 of file tps6507x.h.
#define TPS6507X_REG_CON_CTRL2 0X0E |
Definition at line 99 of file tps6507x.h.
#define TPS6507X_REG_CON_CTRL3 0X0F |
Definition at line 101 of file tps6507x.h.
#define TPS6507X_REG_DEFDCDC1 0X10 |
Definition at line 103 of file tps6507x.h.
#define TPS6507X_REG_DEFDCDC2_HIGH 0X12 |
Definition at line 110 of file tps6507x.h.
#define TPS6507X_REG_DEFDCDC2_LOW 0X11 |
Definition at line 107 of file tps6507x.h.
#define TPS6507X_REG_DEFDCDC3_HIGH 0X14 |
Definition at line 116 of file tps6507x.h.
#define TPS6507X_REG_DEFDCDC3_LOW 0X13 |
Definition at line 113 of file tps6507x.h.
#define TPS6507X_REG_DEFLDO2 0X17 |
Definition at line 124 of file tps6507x.h.
#define TPS6507X_REG_DEFLDO2_LDO2_MASK 0X3F |
Definition at line 125 of file tps6507x.h.
#define TPS6507X_REG_DEFSLEW 0X15 |
Definition at line 119 of file tps6507x.h.
#define TPS6507X_REG_INT 0X02 |
Definition at line 30 of file tps6507x.h.
#define TPS6507X_REG_LDO_CTRL1 0X16 |
Definition at line 121 of file tps6507x.h.
#define TPS6507X_REG_LDO_CTRL1_LDO1_MASK 0X0F |
Definition at line 122 of file tps6507x.h.
#define TPS6507X_REG_MASK_AC_USB BIT(7) |
Definition at line 31 of file tps6507x.h.
#define TPS6507X_REG_MASK_PB_IN BIT(5) |
Definition at line 33 of file tps6507x.h.
#define TPS6507X_REG_MASK_TSC BIT(6) |
Definition at line 32 of file tps6507x.h.
#define TPS6507X_REG_PB_IN_INT BIT(2) |
Definition at line 35 of file tps6507x.h.
#define TPS6507X_REG_PGOOD 0X0B |
Definition at line 88 of file tps6507x.h.
#define TPS6507X_REG_PGOODMASK 0X0C |
Definition at line 90 of file tps6507x.h.
#define TPS6507X_REG_PPATH1 0X01 |
Definition at line 22 of file tps6507x.h.
#define TPS6507X_REG_TSC_INT BIT(3) |
Definition at line 34 of file tps6507x.h.
#define TPS6507X_REG_TSCMODE 0X08 |
Definition at line 73 of file tps6507x.h.
#define TPS6507X_REG_WLED_CTRL1 0X18 |
Definition at line 127 of file tps6507x.h.
#define TPS6507X_REG_WLED_CTRL2 0X19 |
Definition at line 129 of file tps6507x.h.
#define TPS6507X_TSCMODE_ADC_INPUT 6 |
Definition at line 80 of file tps6507x.h.
#define TPS6507X_TSCMODE_DISABLE 7 |
Definition at line 81 of file tps6507x.h.
#define TPS6507X_TSCMODE_PRESSURE 2 |
Definition at line 76 of file tps6507x.h.
#define TPS6507X_TSCMODE_STANDBY 5 |
Definition at line 79 of file tps6507x.h.
#define TPS6507X_TSCMODE_X_PLATE 3 |
Definition at line 77 of file tps6507x.h.
#define TPS6507X_TSCMODE_X_POSITION 0 |
Definition at line 74 of file tps6507x.h.
#define TPS6507X_TSCMODE_Y_PLATE 4 |
Definition at line 78 of file tps6507x.h.
#define TPS6507X_TSCMODE_Y_POSITION 1 |
Definition at line 75 of file tps6507x.h.