Lines Matching +full:0 +full:x13

16 #define XPOWER_GPADC_LOW	0x5b
17 #define XPOWER_GPI1_CTRL 0x92
19 #define GPI1_LDO_MASK GENMASK(2, 0)
20 #define GPI1_LDO_ON (3 << 0)
21 #define GPI1_LDO_OFF (4 << 0)
23 #define AXP288_ADC_TS_CURRENT_ON_OFF_MASK GENMASK(1, 0)
24 #define AXP288_ADC_TS_CURRENT_OFF (0 << 0)
25 #define AXP288_ADC_TS_CURRENT_ON_WHEN_CHARGING (1 << 0)
26 #define AXP288_ADC_TS_CURRENT_ON_ONDEMAND (2 << 0)
27 #define AXP288_ADC_TS_CURRENT_ON (3 << 0)
31 .address = 0x00,
32 .reg = 0x13,
33 .bit = 0x05,
36 .address = 0x04,
37 .reg = 0x13,
38 .bit = 0x06,
41 .address = 0x08,
42 .reg = 0x13,
43 .bit = 0x07,
46 .address = 0x0c,
47 .reg = 0x12,
48 .bit = 0x03,
51 .address = 0x10,
52 .reg = 0x12,
53 .bit = 0x04,
56 .address = 0x14,
57 .reg = 0x12,
58 .bit = 0x05,
61 .address = 0x18,
62 .reg = 0x12,
63 .bit = 0x06,
66 .address = 0x1c,
67 .reg = 0x12,
68 .bit = 0x00,
71 .address = 0x20,
72 .reg = 0x12,
73 .bit = 0x01,
76 .address = 0x24,
77 .reg = 0x12,
78 .bit = 0x02,
81 .address = 0x28,
82 .reg = 0x13,
83 .bit = 0x02,
86 .address = 0x2c,
87 .reg = 0x13,
88 .bit = 0x03,
91 .address = 0x30,
92 .reg = 0x13,
93 .bit = 0x04,
96 .address = 0x34,
97 .reg = 0x10,
98 .bit = 0x03,
101 .address = 0x38,
102 .reg = 0x10,
103 .bit = 0x06,
106 .address = 0x3c,
107 .reg = 0x10,
108 .bit = 0x05,
111 .address = 0x40,
112 .reg = 0x10,
113 .bit = 0x04,
116 .address = 0x44,
117 .reg = 0x10,
118 .bit = 0x01,
121 .address = 0x48,
122 .reg = 0x10,
123 .bit = 0x00
126 .address = 0x4c,
127 .reg = 0x92,
134 .address = 0x00,
138 .address = 0x0c,
142 .address = 0x18,
146 .address = 0x24,
150 .address = 0x30,
154 .address = 0x3c,
171 *value = (data & BIT(bit)) ? 1 : 0; in intel_xpower_pmic_get_power()
173 return 0; in intel_xpower_pmic_get_power()
228 * the GPADC can use it, otherwise we will always read an all 0 value. in intel_xpower_pmic_get_raw_temp()
259 if (ret == 0) in intel_xpower_pmic_get_raw_temp()
260 ret = (buf[0] << 4) + ((buf[1] >> 4) & 0x0f); in intel_xpower_pmic_get_raw_temp()
280 if (i2c_address != 0x34) { in intel_xpower_exec_mipi_pmic_seq_element()
281 dev_err(dev, "Unexpected i2c-addr: 0x%02x (reg-addr 0x%x value 0x%x mask 0x%x)\n", in intel_xpower_exec_mipi_pmic_seq_element()
300 struct acpi_lpat first = lpat_table->lpat[0]; in intel_xpower_lpat_raw_to_temp()
328 .pmic_i2c_address = 0x34,