Searched refs:pmic_bus_write (Results 1 – 8 of 8) sorted by relevance
/external/u-boot/drivers/power/ |
D | axp221.c | 37 ret = pmic_bus_write(AXP221_DCDC1_CTRL, cfg); in axp_set_dcdc1() 59 ret = pmic_bus_write(AXP221_DCDC2_CTRL, cfg); in axp_set_dcdc2() 76 ret = pmic_bus_write(AXP221_DCDC3_CTRL, cfg); in axp_set_dcdc3() 93 ret = pmic_bus_write(AXP221_DCDC4_CTRL, cfg); in axp_set_dcdc4() 110 ret = pmic_bus_write(AXP221_DCDC5_CTRL, cfg); in axp_set_dcdc5() 127 ret = pmic_bus_write(AXP221_ALDO1_CTRL, cfg); in axp_set_aldo1() 144 ret = pmic_bus_write(AXP221_ALDO2_CTRL, cfg); in axp_set_aldo2() 161 ret = pmic_bus_write(AXP221_ALDO3_CTRL, cfg); in axp_set_aldo3() 181 ret = pmic_bus_write(AXP221_DLDO1_CTRL + (dldo_num - 1), cfg); in axp_set_dldo() 201 ret = pmic_bus_write(AXP221_ELDO1_CTRL + (eldo_num - 1), cfg); in axp_set_eldo() [all …]
|
D | axp209.c | 45 rc = pmic_bus_write(AXP209_DCDC2_VOLTAGE, current); in axp_set_dcdc2() 62 rc = pmic_bus_write(AXP209_DCDC3_VOLTAGE, cfg); in axp_set_dcdc3() 86 rc = pmic_bus_write(AXP209_LDO24_VOLTAGE, reg); in axp_set_aldo2() 107 rc = pmic_bus_write(AXP209_LDO3_VOLTAGE, cfg); in axp_set_aldo3() 136 rc = pmic_bus_write(AXP209_LDO24_VOLTAGE, reg); in axp_set_aldo4() 164 rc = pmic_bus_write(i, 0); in axp_init() 173 rc = pmic_bus_write(AXP_GPIO0_CTRL, AXP_GPIO_CTRL_INPUT); in axp_init() 177 rc = pmic_bus_write(AXP_GPIO1_CTRL, AXP_GPIO_CTRL_INPUT); in axp_init() 181 rc = pmic_bus_write(AXP_GPIO2_CTRL, AXP_GPIO_CTRL_INPUT); in axp_init() 190 pmic_bus_write(AXP209_SHUTDOWN, AXP209_POWEROFF); in do_poweroff()
|
D | axp809.c | 38 ret = pmic_bus_write(AXP809_DCDC1_CTRL, cfg); in axp_set_dcdc1() 60 ret = pmic_bus_write(AXP809_DCDC2_CTRL, cfg); in axp_set_dcdc2() 77 ret = pmic_bus_write(AXP809_DCDC3_CTRL, cfg); in axp_set_dcdc3() 97 ret = pmic_bus_write(AXP809_DCDC5_CTRL, cfg); in axp_set_dcdc4() 114 ret = pmic_bus_write(AXP809_DCDC5_CTRL, cfg); in axp_set_dcdc5() 138 ret = pmic_bus_write(AXP809_ALDO1_CTRL + (aldo_num - 1), cfg); in axp_set_aldo() 179 ret = pmic_bus_write(AXP809_DLDO1_CTRL + (dldo_num - 1), cfg); in axp_set_dldo() 199 ret = pmic_bus_write(AXP809_ELDO1_CTRL + (eldo_num - 1), cfg); in axp_set_eldo() 224 pmic_bus_write(AXP809_SHUTDOWN, AXP809_SHUTDOWN_POWEROFF); in do_poweroff()
|
D | axp818.c | 38 ret = pmic_bus_write(AXP818_DCDC1_CTRL, cfg); in axp_set_dcdc1() 60 ret = pmic_bus_write(AXP818_DCDC2_CTRL, cfg); in axp_set_dcdc2() 82 ret = pmic_bus_write(AXP818_DCDC3_CTRL, cfg); in axp_set_dcdc3() 104 ret = pmic_bus_write(AXP818_DCDC5_CTRL, cfg); in axp_set_dcdc5() 125 ret = pmic_bus_write(AXP818_ALDO1_CTRL + (aldo_num - 1), cfg); in axp_set_aldo() 164 ret = pmic_bus_write(AXP818_ELDO1_CTRL + (dldo_num - 1), cfg); in axp_set_dldo() 185 ret = pmic_bus_write(AXP818_ELDO1_CTRL + (eldo_num - 1), cfg); in axp_set_eldo() 207 ret = pmic_bus_write(AXP818_FLDO1_CTRL + (fldo_num - 1), cfg); in axp_set_fldo() 260 pmic_bus_write(AXP818_SHUTDOWN, AXP818_SHUTDOWN_POWEROFF); in do_poweroff()
|
D | axp152.c | 35 rc = pmic_bus_write(AXP152_DCDC2_VOLTAGE, current); in axp_set_dcdc2() 46 return pmic_bus_write(AXP152_DCDC3_VOLTAGE, target); in axp_set_dcdc3() 53 return pmic_bus_write(AXP152_DCDC4_VOLTAGE, target); in axp_set_dcdc4() 60 return pmic_bus_write(AXP152_LDO2_VOLTAGE, target); in axp_set_aldo2() 84 pmic_bus_write(AXP152_SHUTDOWN, AXP152_POWEROFF); in do_poweroff()
|
/external/u-boot/arch/arm/mach-sunxi/ |
D | pmic_bus.c | 78 int pmic_bus_write(u8 reg, u8 data) in pmic_bus_write() function 105 return pmic_bus_write(reg, val); in pmic_bus_setbits() 118 return pmic_bus_write(reg, val); in pmic_bus_clrbits()
|
/external/u-boot/drivers/gpio/ |
D | axp_gpio.c | 50 return pmic_bus_write(reg, AXP_GPIO_CTRL_INPUT); in axp_gpio_direction_input() 76 return pmic_bus_write(reg, val ? AXP_GPIO_CTRL_OUTPUT_HIGH : in axp_gpio_direction_output() 134 return pmic_bus_write(reg, val ? AXP_GPIO_CTRL_OUTPUT_HIGH : in axp_gpio_set_value()
|
/external/u-boot/arch/arm/include/asm/arch-sunxi/ |
D | pmic_bus.h | 13 int pmic_bus_write(u8 reg, u8 data);
|