/external/u-boot/board/freescale/common/ |
D | pfuze.c | 32 ret = pmic_reg_write(p, PFUZE100_SW1ABMODE, mode); in pfuze_mode_init() 39 ret = pmic_reg_write(p, offset + i * SWITCH_SIZE, mode); in pfuze_mode_init() 72 pmic_reg_write(p, PFUZE100_SW1ABSTBY, reg); in pfuze_common_init() 78 pmic_reg_write(p, PFUZE100_SW1ABCONF, reg); in pfuze_common_init() 84 pmic_reg_write(p, PFUZE100_SW1CSTBY, reg); in pfuze_common_init() 90 pmic_reg_write(p, PFUZE100_SW1CCONF, reg); in pfuze_common_init() 115 ret = pmic_reg_write(dev, PFUZE100_SW1ABMODE, mode); in pfuze_mode_init() 122 ret = pmic_reg_write(dev, offset + i * SWITCH_SIZE, mode); in pfuze_mode_init() 151 pmic_reg_write(dev, PFUZE100_SW1ABSTBY, reg); in pfuze_common_init() 157 pmic_reg_write(dev, PFUZE100_SW1ABCONF, reg); in pfuze_common_init() [all …]
|
/external/u-boot/board/samsung/universal_c210/ |
D | universal.c | 90 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in adc_power_control() 157 ret |= pmic_reg_write(dev, in s5pc210_phy_control() 162 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in s5pc210_phy_control() 166 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF2, reg); in s5pc210_phy_control() 171 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF2, reg); in s5pc210_phy_control() 175 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in s5pc210_phy_control() 179 ret |= pmic_reg_write(dev, in s5pc210_phy_control() 227 ret |= pmic_reg_write(dev, MAX8998_REG_LDO7, val); in init_pmic_lcd() 231 ret |= pmic_reg_write(dev, MAX8998_REG_LDO17, val); in init_pmic_lcd() 240 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF1, val); in init_pmic_lcd() [all …]
|
/external/u-boot/board/freescale/mx51evk/ |
D | mx51evk.c | 188 pmic_reg_write(p, REG_POWER_MISC, val); in power_init() 193 pmic_reg_write(p, REG_CHARGE, val); in power_init() 196 pmic_reg_write(p, REG_POWER_MISC, PWUP); in power_init() 201 pmic_reg_write(p, REG_SW_0, val); in power_init() 206 pmic_reg_write(p, REG_SW_1, val); in power_init() 211 pmic_reg_write(p, REG_SW_2, val); in power_init() 224 pmic_reg_write(p, REG_SW_4, val); in power_init() 232 pmic_reg_write(p, REG_SW_5, val); in power_init() 238 pmic_reg_write(p, REG_SETTING_0, val); in power_init() 244 pmic_reg_write(p, REG_SETTING_1, val); in power_init() [all …]
|
/external/u-boot/board/udoo/neo/ |
D | neo.c | 121 ret = pmic_reg_write(p, PFUZE3000_LDOGCTL, reg); in power_init_board() 125 ret = pmic_reg_write(p, PFUZE3000_SW1AMODE, 0xc); in power_init_board() 129 ret = pmic_reg_write(p, PFUZE3000_SW1BMODE, 0xc); in power_init_board() 133 ret = pmic_reg_write(p, PFUZE3000_SW2MODE, 0xc); in power_init_board() 137 ret = pmic_reg_write(p, PFUZE3000_SW3MODE, 0xc); in power_init_board() 145 ret = pmic_reg_write(p, PFUZE3000_SW1ASTBY, reg); in power_init_board() 153 ret = pmic_reg_write(p, PFUZE3000_SW1BSTBY, reg); in power_init_board() 161 ret = pmic_reg_write(p, PFUZE3000_SW1ACONF, reg); in power_init_board() 169 ret = pmic_reg_write(p, PFUZE3000_SW1BCONF, reg); in power_init_board() 177 ret = pmic_reg_write(p, PFUZE3000_SW1AVOLT, reg); in power_init_board() [all …]
|
/external/u-boot/board/freescale/mx53loco/ |
D | mx53loco.c | 214 ret = pmic_reg_write(p, DA9053_BUCKCORE_REG, val); in power_init() 222 ret = pmic_reg_write(p, DA9053_SUPPLY_REG, val); in power_init() 229 ret = pmic_reg_write(p, DA9053_BUCKPRO_REG, 0x62); in power_init() 235 ret = pmic_reg_write(p, DA9053_SUPPLY_REG, 0x62); in power_init() 258 ret = pmic_reg_write(p, REG_SW_0, val); in power_init() 267 ret = pmic_reg_write(p, REG_SW_1, val); in power_init() 276 ret = pmic_reg_write(p, REG_POWER_CTL2, val); in power_init() 285 ret = pmic_reg_write(p, REG_MODE_0, val); in power_init() 293 ret = pmic_reg_write(p, SWBST_CTRL, val); in power_init()
|
/external/u-boot/board/nvidia/nyan-big/ |
D | nyan-big.c | 60 pmic_reg_write(dev, 0x00, 0x3c); in tegra_lcd_pmic_init() 62 pmic_reg_write(dev, 0x00, 0x50); in tegra_lcd_pmic_init() 63 pmic_reg_write(dev, 0x12, 0x10); in tegra_lcd_pmic_init() 64 pmic_reg_write(dev, 0x0c, 0x07); in tegra_lcd_pmic_init() 65 pmic_reg_write(dev, 0x20, 0x10); in tegra_lcd_pmic_init()
|
/external/u-boot/board/samsung/trats/ |
D | trats.c | 230 ret = pmic_reg_write(dev, MAX8997_REG_SAFEOUTCTRL, reg); in s5pc210_phy_control() 237 ret = pmic_reg_write(dev, MAX8997_REG_LDO3CTRL, reg); in s5pc210_phy_control() 244 ret = pmic_reg_write(dev, MAX8997_REG_LDO8CTRL, reg); in s5pc210_phy_control() 252 ret = pmic_reg_write(dev, MAX8997_REG_LDO8CTRL, reg); in s5pc210_phy_control() 259 ret = pmic_reg_write(dev, MAX8997_REG_LDO3CTRL, reg); in s5pc210_phy_control() 266 ret = pmic_reg_write(dev, MAX8997_REG_SAFEOUTCTRL, reg); in s5pc210_phy_control() 425 ret |= pmic_reg_write(p, MAX8997_REG_LDO15CTRL, 0x1c | EN_LDO); in lcd_power() 427 ret |= pmic_reg_write(p, MAX8997_REG_LDO13CTRL, 0x2c | EN_LDO); in lcd_power() 449 ret |= pmic_reg_write(p, MAX8997_REG_LDO3CTRL, 0x6 | EN_LDO); in mipi_power() 451 ret |= pmic_reg_write(p, MAX8997_REG_LDO4CTRL, 0x14 | EN_LDO); in mipi_power()
|
/external/u-boot/drivers/power/mfd/ |
D | pmic_max77693.c | 22 pmic_reg_write(p, MAX77693_CHG_CNFG_06, val); in max77693_charger_state() 28 pmic_reg_write(p, MAX77693_CHG_CNFG_00, val); in max77693_charger_state() 42 pmic_reg_write(p, MAX77693_CHG_CNFG_02, val); in max77693_charger_state() 46 pmic_reg_write(p, MAX77693_CHG_CNFG_00, val); in max77693_charger_state()
|
/external/u-boot/drivers/power/fuel_gauge/ |
D | fg_max17042.c | 23 ret = pmic_reg_write(p, addr, *(data + i)); in fg_write_regs() 53 ret |= pmic_reg_write(p, addr, val); in fg_write_and_verify() 79 pmic_reg_write(p, MAX17042_CONFIG, 0x2310); in por_fuelgauge_init() 91 pmic_reg_write(p, MAX17042_MLOCKReg1, MODEL_UNLOCK1); in por_fuelgauge_init() 92 pmic_reg_write(p, MAX17042_MLOCKReg2, MODEL_UNLOCK2); in por_fuelgauge_init() 150 pmic_reg_write(p, MAX17042_MLOCKReg1, MODEL_LOCK1); in por_fuelgauge_init() 151 pmic_reg_write(p, MAX17042_MLOCKReg2, MODEL_LOCK2); in por_fuelgauge_init()
|
/external/u-boot/board/technexion/pico-imx7d/ |
D | pico-imx7d.c | 90 pmic_reg_write(p, PFUZE3000_LDOGCTL, reg); in power_init_board() 94 pmic_reg_write(p, PFUZE3000_SW1AMODE, reg); in power_init_board() 95 pmic_reg_write(p, PFUZE3000_SW1BMODE, reg); in power_init_board() 99 pmic_reg_write(p, PFUZE3000_SW1ASTBY, reg); in power_init_board() 100 pmic_reg_write(p, PFUZE3000_SW1BSTBY, reg); in power_init_board() 106 pmic_reg_write(p, PFUZE3000_SW1BVOLT, reg); in power_init_board()
|
/external/u-boot/board/samsung/goni/ |
D | goni.c | 150 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in s5pc1xx_phy_control() 158 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF2, reg); in s5pc1xx_phy_control() 167 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in s5pc1xx_phy_control() 175 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF2, reg); in s5pc1xx_phy_control()
|
/external/u-boot/board/woodburn/ |
D | woodburn.c | 185 pmic_reg_write(p, REG_SW_4, val); in board_init() 193 pmic_reg_write(p, REG_SW_5, val); in board_init() 199 pmic_reg_write(p, REG_SETTING_0, val); in board_init() 203 pmic_reg_write(p, REG_MODE_0, val); in board_init()
|
/external/u-boot/drivers/gpio/ |
D | pm8916_gpio.c | 68 ret = pmic_reg_write(dev->parent, gpio_base + REG_CTL, in pm8916_gpio_set_direction() 71 ret = pmic_reg_write(dev->parent, gpio_base + REG_CTL, in pm8916_gpio_set_direction() 77 ret = pmic_reg_write(dev->parent, gpio_base + REG_DIG_PULL_CTL, in pm8916_gpio_set_direction() 85 ret = pmic_reg_write(dev->parent, gpio_base + REG_DIG_VIN_CTL, in pm8916_gpio_set_direction() 91 ret = pmic_reg_write(dev->parent, gpio_base + REG_DIG_OUT_CTL, in pm8916_gpio_set_direction()
|
/external/u-boot/drivers/power/pmic/ |
D | pmic_max8997.c | 41 pmic_reg_write(p, MAX8997_REG_MBCCTRL2, val); in pmic_charger_state() 59 pmic_reg_write(p, MAX8997_REG_MBCCTRL4, val); in pmic_charger_state() 63 pmic_reg_write(p, MAX8997_REG_MBCCTRL2, val); in pmic_charger_state()
|
D | as3722_gpio.c | 26 err = pmic_reg_write(pmic, AS3722_GPIO_CONTROL(gpio), value); in as3722_gpio_configure() 61 err = pmic_reg_write(pmic, AS3722_GPIO_SIGNAL_OUT, value); in as3722_gpio_set_value() 84 err = pmic_reg_write(pmic, AS3722_GPIO_CONTROL(gpio), value); in as3722_gpio_direction_output()
|
/external/u-boot/board/samtec/vining_2000/ |
D | vining_2000.c | 210 pmic_reg_write(p, PFUZE100_SW1ABSTBY, reg); in pfuze_init() 216 pmic_reg_write(p, PFUZE100_SW1ABCONF, reg); in pfuze_init() 222 pmic_reg_write(p, PFUZE100_SW1CSTBY, reg); in pfuze_init() 228 pmic_reg_write(p, PFUZE100_SW1CCONF, reg); in pfuze_init() 253 ret = pmic_reg_write(p, PFUZE100_SW1ABMODE, mode); in pfuze_mode_init() 260 ret = pmic_reg_write(p, offset + i * SWITCH_SIZE, mode); in pfuze_mode_init()
|
/external/u-boot/board/technexion/pico-imx6ul/ |
D | pico-imx6ul.c | 233 pmic_reg_write(pfuze, PFUZE3000_LDOGCTL, 0x1); in power_init_board() 236 pmic_reg_write(pfuze, PFUZE3000_SW1BCONF, 0x40); in power_init_board() 239 pmic_reg_write(pfuze, PFUZE3000_SW1BMODE, 0xc); in power_init_board() 242 pmic_reg_write(pfuze, PFUZE3000_SW1BSTBY, 0xb); in power_init_board()
|
/external/u-boot/drivers/power/regulator/ |
D | palmas_regulator.c | 78 ret = pmic_reg_write(dev->parent, adr, ret); in palmas_smps_enable() 160 return pmic_reg_write(dev->parent, adr, ret); in palmas_smps_val() 192 return pmic_reg_write(dev->parent, adr, reg); in palmas_ldo_bypass_enable() 223 ret = pmic_reg_write(dev->parent, adr, ret); in palmas_ldo_enable() 290 return pmic_reg_write(dev->parent, adr, ret); in palmas_ldo_val()
|
D | lp873x_regulator.c | 50 ret = pmic_reg_write(dev->parent, adr, ret); in lp873x_buck_enable() 120 ret = pmic_reg_write(dev->parent, adr, ret); in lp873x_buck_val() 153 ret = pmic_reg_write(dev->parent, adr, ret); in lp873x_ldo_enable() 215 ret = pmic_reg_write(dev->parent, adr, ret); in lp873x_ldo_val()
|
/external/u-boot/board/el/el6x/ |
D | el6x.c | 418 pmic_reg_write(p, PFUZE100_VGEN3VOL, reg); in power_init_board() 424 pmic_reg_write(p, PFUZE100_VGEN5VOL, reg); in power_init_board() 430 pmic_reg_write(p, PFUZE100_SW1ABSTBY, reg); in power_init_board() 436 pmic_reg_write(p, PFUZE100_SW1ABCONF, reg); in power_init_board() 442 pmic_reg_write(p, PFUZE100_SW1CSTBY, reg); in power_init_board() 448 pmic_reg_write(p, PFUZE100_SW1CCONF, reg); in power_init_board()
|
/external/u-boot/board/gateworks/gw_ventana/ |
D | common.c | 1265 pmic_reg_write(p, PFUZE100_VGEN1VOL, reg); in setup_pmic() 1271 pmic_reg_write(p, PFUZE100_SWBSTCON1, reg); in setup_pmic() 1295 pmic_reg_write(p, LTC3676_DVB3B, in setup_pmic() 1298 pmic_reg_write(p, LTC3676_DVB3A, 0x1f); in setup_pmic() 1302 pmic_reg_write(p, LTC3676_DVB3B, in setup_pmic() 1305 pmic_reg_write(p, LTC3676_DVB3A, 0x1f); in setup_pmic() 1308 pmic_reg_write(p, LTC3676_DVB4B, in setup_pmic() 1311 pmic_reg_write(p, LTC3676_DVB4A, 0x1f); in setup_pmic() 1315 pmic_reg_write(p, LTC3676_DVB1B, in setup_pmic() 1318 pmic_reg_write(p, LTC3676_DVB1A, 0x1f); in setup_pmic() [all …]
|
/external/u-boot/drivers/rtc/ |
D | mc13xxx-rtc.c | 57 pmic_reg_write(p, REG_RTC_DAY, day); in rtc_set() 58 pmic_reg_write(p, REG_RTC_TIME, time); in rtc_set()
|
/external/u-boot/board/freescale/mx31pdk/ |
D | mx31pdk.c | 96 pmic_reg_write(p, REG_POWER_CTL0, val | COINCHEN); in board_late_init() 97 pmic_reg_write(p, REG_INT_STATUS1, RTCRSTI); in board_late_init()
|
/external/u-boot/board/freescale/mx53evk/ |
D | mx53evk.c | 95 pmic_reg_write(p, REG_SW_2, val); in power_init() 106 pmic_reg_write(p, REG_SW_1, val); in power_init() 112 pmic_reg_write(p, REG_SW_2, val); in power_init()
|
/external/u-boot/board/freescale/mx6sllevk/ |
D | mx6sllevk.c | 72 pmic_reg_write(dev, PFUZE100_SW1ABMODE, APS_PFM); in power_init_board() 75 pmic_reg_write(dev, offset + i * SWITCH_SIZE, APS_PFM); in power_init_board()
|