Lines Matching refs:reg
38 .reg = 0x63,
43 .reg = 0x65,
48 .reg = 0x67,
53 .reg = 0x6d,
58 .reg = 0x6f,
63 .reg = 0x70,
68 .reg = 0x71,
73 .reg = 0x72,
78 .reg = 0x73,
83 .reg = 0x74,
88 .reg = 0x75,
93 .reg = 0x76,
98 .reg = 0x77,
103 .reg = 0x78,
108 .reg = 0x78,
113 .reg = 0x78,
118 .reg = 0x7b,
123 .reg = 0xA0,
128 .reg = 0xA1,
133 .reg = 0xA2,
138 .reg = 0xA3,
143 .reg = 0xA4,
148 .reg = 0xA5,
153 .reg = 0xA6,
158 .reg = 0xA7,
163 .reg = 0xA8,
168 .reg = 0xA9,
173 .reg = 0xAA,
178 .reg = 0x36,
183 .reg = 0x36,
191 .reg = 0x4F39
195 .reg = 0x4F24
199 .reg = 0x4F26
203 .reg = 0x4F3B
207 .reg = 0x4F28
211 .reg = 0x4F2A
215 .reg = 0x4F3D
219 .reg = 0x4F2C
223 .reg = 0x4F2E
227 .reg = 0x4F3F
231 .reg = 0x4F30
235 .reg = 0x4F41
239 .reg = 0x4F32
243 .reg = 0x4F43
247 .reg = 0x4F34
251 .reg = 0x4F6A,
256 .reg = 0x4F6A,
261 .reg = 0x4F6A,
266 .reg = 0x4F6A,
271 .reg = 0x4F6A,
276 .reg = 0x4F6A,
281 static int intel_bxtwc_pmic_get_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_get_power() argument
286 if (regmap_read(regmap, reg, &data)) in intel_bxtwc_pmic_get_power()
293 static int intel_bxtwc_pmic_update_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_update_power() argument
303 return regmap_update_bits(regmap, reg, mask, val); in intel_bxtwc_pmic_update_power()
306 static int intel_bxtwc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_bxtwc_pmic_get_raw_temp() argument
315 if (regmap_read(regmap, reg, &val)) in intel_bxtwc_pmic_get_raw_temp()
319 if (regmap_read(regmap, (reg - 1), &val)) in intel_bxtwc_pmic_get_raw_temp()
332 intel_bxtwc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_bxtwc_pmic_update_aux() argument
349 reg - 1, in intel_bxtwc_pmic_update_aux()
355 return regmap_write(regmap, reg, alrt_l); in intel_bxtwc_pmic_update_aux()
359 intel_bxtwc_pmic_get_policy(struct regmap *regmap, int reg, int bit, u64 *value) in intel_bxtwc_pmic_get_policy() argument
364 if (regmap_read(regmap, reg, &val)) in intel_bxtwc_pmic_get_policy()
373 int reg, int bit, int enable) in intel_bxtwc_pmic_update_policy() argument
377 return regmap_update_bits(regmap, reg, mask, val); in intel_bxtwc_pmic_update_policy()