Home
last modified time | relevance | path

Searched refs:pmic_reg_read (Results 1 – 25 of 66) sorted by relevance

123

/external/u-boot/board/freescale/common/
Dpfuze.c18 pmic_reg_read(p, PFUZE100_DEVICEID, &id); in pfuze_mode_init()
65 pmic_reg_read(p, PFUZE100_DEVICEID, &reg); in pfuze_common_init()
69 pmic_reg_read(p, PFUZE100_SW1ABSTBY, &reg); in pfuze_common_init()
75 pmic_reg_read(p, PFUZE100_SW1ABCONF, &reg); in pfuze_common_init()
81 pmic_reg_read(p, PFUZE100_SW1CSTBY, &reg); in pfuze_common_init()
87 pmic_reg_read(p, PFUZE100_SW1CCONF, &reg); in pfuze_common_init()
101 id = pmic_reg_read(dev, PFUZE100_DEVICEID); in pfuze_mode_init()
143 dev_id = pmic_reg_read(dev, PFUZE100_DEVICEID); in pfuze_common_init()
144 rev_id = pmic_reg_read(dev, PFUZE100_REVID); in pfuze_common_init()
148 reg = pmic_reg_read(dev, PFUZE100_SW1ABSTBY); in pfuze_common_init()
[all …]
/external/u-boot/board/samsung/universal_c210/
Duniversal.c84 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF1); in adc_power_control()
155 reg = pmic_reg_read(dev, MAX8998_REG_BUCK_ACTIVE_DISCHARGE3); in s5pc210_phy_control()
160 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF1); in s5pc210_phy_control()
164 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF2); in s5pc210_phy_control()
169 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF2); in s5pc210_phy_control()
173 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF1); in s5pc210_phy_control()
177 reg = pmic_reg_read(dev, MAX8998_REG_BUCK_ACTIVE_DISCHARGE3); in s5pc210_phy_control()
329 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF3); in exynos_lcd_power_on()
337 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF2); in exynos_lcd_power_on()
/external/u-boot/board/udoo/neo/
Dneo.c114 pmic_reg_read(p, PFUZE3000_DEVICEID, &reg); in power_init_board()
115 pmic_reg_read(p, PFUZE3000_REVID, &rev_id); in power_init_board()
119 pmic_reg_read(p, PFUZE3000_LDOGCTL, &reg); in power_init_board()
142 pmic_reg_read(p, PFUZE3000_SW1ASTBY, &reg); in power_init_board()
150 pmic_reg_read(p, PFUZE3000_SW1BSTBY, &reg); in power_init_board()
158 pmic_reg_read(p, PFUZE3000_SW1ACONF, &reg); in power_init_board()
166 pmic_reg_read(p, PFUZE3000_SW1BCONF, &reg); in power_init_board()
174 pmic_reg_read(p, PFUZE3000_SW1AVOLT, &reg); in power_init_board()
182 pmic_reg_read(p, PFUZE3000_SW1BVOLT, &reg); in power_init_board()
190 pmic_reg_read(p, PFUZE3000_SW3VOLT, &reg); in power_init_board()
[all …]
/external/u-boot/drivers/power/fuel_gauge/
Dfg_max17042.c38 ret = pmic_reg_read(p, addr, &dat); in fg_read_regs()
54 ret |= pmic_reg_read(p, addr, &val); in fg_write_and_verify()
180 pmic_reg_read(p, MAX17042_STATUS, &val); in por_fuelgauge_init()
204 ret |= pmic_reg_read(p, MAX17042_VFSOC, &val); in power_update_battery()
207 pmic_reg_read(p, MAX17042_VCELL, &val); in power_update_battery()
212 pmic_reg_read(p, 0x05, &val); in power_update_battery()
229 ret |= pmic_reg_read(p, MAX17042_STATUS, &val); in power_check_battery()
235 ret |= pmic_reg_read(p, MAX17042_VERSION, &val); in power_check_battery()
/external/u-boot/board/freescale/mx51evk/
Dmx51evk.c186 pmic_reg_read(p, REG_POWER_MISC, &val); in power_init()
191 pmic_reg_read(p, REG_CHARGE, &val); in power_init()
199 pmic_reg_read(p, REG_SW_0, &val); in power_init()
204 pmic_reg_read(p, REG_SW_1, &val); in power_init()
209 pmic_reg_read(p, REG_SW_2, &val); in power_init()
219 pmic_reg_read(p, REG_SW_4, &val); in power_init()
227 pmic_reg_read(p, REG_SW_5, &val); in power_init()
235 pmic_reg_read(p, REG_SETTING_0, &val); in power_init()
241 pmic_reg_read(p, REG_SETTING_1, &val); in power_init()
/external/u-boot/drivers/gpio/
Dpm8916_gpio.c121 reg = pmic_reg_read(dev->parent, gpio_base + REG_CTL); in pm8916_gpio_get_function()
142 reg = pmic_reg_read(dev->parent, gpio_base + REG_STATUS); in pm8916_gpio_get_value()
178 reg = pmic_reg_read(dev->parent, priv->pid + REG_TYPE); in pm8916_gpio_probe()
182 reg = pmic_reg_read(dev->parent, priv->pid + REG_SUBTYPE); in pm8916_gpio_probe()
232 int reg = pmic_reg_read(dev->parent, priv->pid + PON_INT_RT_STS); in pm8941_pwrkey_get_value()
263 reg = pmic_reg_read(dev->parent, priv->pid + REG_TYPE); in pm8941_pwrkey_probe()
267 reg = pmic_reg_read(dev->parent, priv->pid + REG_SUBTYPE); in pm8941_pwrkey_probe()
/external/u-boot/drivers/power/regulator/
Dstpmu1.c142 sel = pmic_reg_read(dev, STPMU1_BUCKX_CTRL_REG(buck)); in stpmu1_buck_get_uv()
175 ret = pmic_reg_read(dev->parent, in stpmu1_buck_get_enable()
212 ret = pmic_reg_read(dev->parent, in stpmu1_buck_get_mode()
313 sel = pmic_reg_read(dev->parent, STPMU1_LDOX_CTRL_REG(ldo)); in stpmu1_ldo_get_value()
353 ret = pmic_reg_read(dev->parent, in stpmu1_ldo_get_enable()
393 ret = pmic_reg_read(dev->parent, STPMU1_LDOX_CTRL_REG(ldo)); in stpmu1_ldo_get_mode()
414 ret = pmic_reg_read(dev->parent, STPMU1_LDOX_CTRL_REG(ldo)); in stpmu1_ldo_set_mode()
483 ret = pmic_reg_read(dev->parent, STPMU1_VREF_CTRL_REG); in stpmu1_vref_ddr_get_enable()
539 ret = pmic_reg_read(dev->parent, STPMU1_USB_CTRL_REG); in stpmu1_boost_get_enable()
550 ret = pmic_reg_read(dev->parent, STPMU1_USB_CTRL_REG); in stpmu1_boost_set_enable()
[all …]
Dtps65910_regulator.c146 val = pmic_reg_read(dev->parent, rgp->reg); in tps65910_regulator_get_value()
208 val = pmic_reg_read(dev->parent, ldo->reg); in tps65910_regulator_set_value()
257 val = pmic_reg_read(dev->parent, reg); in tps65910_get_enable()
288 int val = pmic_reg_read(dev, reg_vdd); in buck_get_vdd1_vdd2_value()
294 val = pmic_reg_read(dev, reg_vdd + 1); in buck_get_vdd1_vdd2_value()
299 val = pmic_reg_read(dev, reg_vdd + 2); in buck_get_vdd1_vdd2_value()
350 val = pmic_reg_read(dev->parent, reg_vdd); in buck_set_vdd1_vdd2_value()
Dpfuze100.c323 val = pmic_reg_read(dev->parent, in pfuze100_regulator_mode()
334 val = pmic_reg_read(dev->parent, in pfuze100_regulator_mode()
347 val = pmic_reg_read(dev->parent, desc->vsel_reg); in pfuze100_regulator_mode()
393 val = pmic_reg_read(dev->parent, PFUZE100_VREFDDRCON); in pfuze100_regulator_enable()
417 val = pmic_reg_read(dev->parent, PFUZE100_VREFDDRCON); in pfuze100_regulator_enable()
461 val = pmic_reg_read(dev->parent, desc->vsel_reg); in pfuze100_regulator_val()
471 val = pmic_reg_read(dev->parent, desc->vsel_reg); in pfuze100_regulator_val()
Drk8xx.c157 ret = pmic_reg_read(dev->parent, info->vsel_reg); in buck_get_value()
187 ret = pmic_reg_read(dev->parent, REG_DCDC_EN); in buck_get_enable()
203 ret = pmic_reg_read(dev->parent, info->vsel_reg); in ldo_get_value()
246 ret = pmic_reg_read(dev->parent, REG_LDO_EN); in ldo_get_enable()
272 ret = pmic_reg_read(dev->parent, REG_DCDC_EN); in switch_get_enable()
Dpalmas_regulator.c59 ret = pmic_reg_read(dev->parent, adr); in palmas_smps_enable()
132 ret = pmic_reg_read(dev->parent, adr); in palmas_smps_val()
183 reg = pmic_reg_read(dev->parent, adr); in palmas_ldo_bypass_enable()
204 ret = pmic_reg_read(dev->parent, adr); in palmas_ldo_enable()
268 ret = pmic_reg_read(dev->parent, adr); in palmas_ldo_val()
Dlp873x_regulator.c32 ret = pmic_reg_read(dev->parent, adr); in lp873x_buck_enable()
99 ret = pmic_reg_read(dev->parent, adr); in lp873x_buck_val()
134 ret = pmic_reg_read(dev->parent, adr); in lp873x_ldo_enable()
194 ret = pmic_reg_read(dev->parent, adr); in lp873x_ldo_val()
/external/u-boot/drivers/power/mfd/
Dpmic_max77693.c26 pmic_reg_read(p, MAX77693_CHG_CNFG_00, &val); in max77693_charger_state()
39 pmic_reg_read(p, MAX77693_CHG_CNFG_02, &val); in max77693_charger_state()
49 pmic_reg_read(p, MAX77693_CHG_CNFG_02, &val); in max77693_charger_state()
63 pmic_reg_read(p, MAX77693_CHG_INT_OK, &val); in max77693_charger_bat_present()
/external/u-boot/drivers/rtc/
Dmc13xxx-rtc.c22 ret = pmic_reg_read(p, REG_RTC_DAY, &day1); in rtc_get()
26 ret = pmic_reg_read(p, REG_RTC_TIME, &time); in rtc_get()
30 ret = pmic_reg_read(p, REG_RTC_DAY, &day2); in rtc_get()
/external/u-boot/board/samsung/goni/
Dgoni.c148 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF1); in s5pc1xx_phy_control()
156 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF2); in s5pc1xx_phy_control()
165 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF1); in s5pc1xx_phy_control()
173 reg = pmic_reg_read(dev, MAX8998_REG_ONOFF2); in s5pc1xx_phy_control()
/external/u-boot/board/woodburn/
Dwoodburn.c178 pmic_reg_read(p, REG_SW_4, &val); in board_init()
188 pmic_reg_read(p, REG_SW_5, &val); in board_init()
196 pmic_reg_read(p, REG_SETTING_0, &val); in board_init()
201 pmic_reg_read(p, REG_MODE_0, &val); in board_init()
/external/u-boot/drivers/power/pmic/
Dpmic_max8997.c39 pmic_reg_read(p, MAX8997_REG_MBCCTRL2, &val); in pmic_charger_state()
61 pmic_reg_read(p, MAX8997_REG_MBCCTRL2, &val); in pmic_charger_state()
75 pmic_reg_read(p, MAX8997_REG_STATUS4, &val); in pmic_charger_bat_present()
/external/u-boot/board/freescale/mx53loco/
Dmx53loco.c220 pmic_reg_read(p, DA9053_SUPPLY_REG, &val); in power_init()
256 pmic_reg_read(p, REG_SW_0, &val); in power_init()
265 pmic_reg_read(p, REG_SW_1, &val); in power_init()
274 pmic_reg_read(p, REG_POWER_CTL2, &val); in power_init()
283 pmic_reg_read(p, REG_MODE_0, &val); in power_init()
/external/u-boot/test/dm/
Dpmic.c113 val = pmic_reg_read(dev, REG_POWER_CTL2); in dm_test_power_pmic_mc34708_rw_val()
120 val = pmic_reg_read(dev, REG_RTC_TIME); in dm_test_power_pmic_mc34708_rw_val()
124 val = pmic_reg_read(dev, REG_POWER_CTL2); in dm_test_power_pmic_mc34708_rw_val()
/external/u-boot/board/el/el6x/
Del6x.c411 pmic_reg_read(p, PFUZE100_DEVICEID, &reg); in power_init_board()
415 pmic_reg_read(p, PFUZE100_VGEN3VOL, &reg); in power_init_board()
421 pmic_reg_read(p, PFUZE100_VGEN5VOL, &reg); in power_init_board()
427 pmic_reg_read(p, PFUZE100_SW1ABSTBY, &reg); in power_init_board()
433 pmic_reg_read(p, PFUZE100_SW1ABCONF, &reg); in power_init_board()
439 pmic_reg_read(p, PFUZE100_SW1CSTBY, &reg); in power_init_board()
445 pmic_reg_read(p, PFUZE100_SW1CCONF, &reg); in power_init_board()
/external/u-boot/board/samsung/trats/
Dtrats.c228 reg = pmic_reg_read(dev, MAX8997_REG_SAFEOUTCTRL); in s5pc210_phy_control()
235 reg = pmic_reg_read(dev, MAX8997_REG_LDO3CTRL); in s5pc210_phy_control()
242 reg = pmic_reg_read(dev, MAX8997_REG_LDO8CTRL); in s5pc210_phy_control()
250 reg = pmic_reg_read(dev, MAX8997_REG_LDO8CTRL); in s5pc210_phy_control()
257 reg = pmic_reg_read(dev, MAX8997_REG_LDO3CTRL); in s5pc210_phy_control()
264 reg = pmic_reg_read(dev, MAX8997_REG_SAFEOUTCTRL); in s5pc210_phy_control()
/external/u-boot/board/samtec/vining_2000/
Dvining_2000.c203 pmic_reg_read(p, PFUZE100_DEVICEID, &reg); in pfuze_init()
207 pmic_reg_read(p, PFUZE100_SW1ABSTBY, &reg); in pfuze_init()
213 pmic_reg_read(p, PFUZE100_SW1ABCONF, &reg); in pfuze_init()
219 pmic_reg_read(p, PFUZE100_SW1CSTBY, &reg); in pfuze_init()
225 pmic_reg_read(p, PFUZE100_SW1CCONF, &reg); in pfuze_init()
239 pmic_reg_read(p, PFUZE100_DEVICEID, &id); in pfuze_mode_init()
/external/u-boot/board/technexion/pico-imx7d/
Dpico-imx7d.c83 pmic_reg_read(p, PFUZE3000_DEVICEID, &reg); in power_init_board()
84 pmic_reg_read(p, PFUZE3000_REVID, &rev_id); in power_init_board()
88 pmic_reg_read(p, PFUZE3000_LDOGCTL, &reg); in power_init_board()
103 pmic_reg_read(p, PFUZE3000_SW1BVOLT, &reg); in power_init_board()
/external/u-boot/drivers/power/
Dpower_core.c35 if (pmic_reg_read(p, reg, &val)) in pmic_set_output()
93 ret = pmic_reg_read(p, i, &val); in pmic_dump()
160 ret = pmic_reg_read(p, reg, &val); in do_pmic()
/external/u-boot/board/freescale/mx53evk/
Dmx53evk.c92 pmic_reg_read(p, REG_SW_2, &val); in power_init()
103 pmic_reg_read(p, REG_SW_1, &val); in power_init()
109 pmic_reg_read(p, REG_SW_2, &val); in power_init()

123