Lines Matching refs:pmic_bus_write
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()
229 ret = pmic_bus_write(AXP_GPIO0_CTRL, AXP_GPIO_CTRL_INPUT); in axp_init()
233 ret = pmic_bus_write(AXP_GPIO1_CTRL, AXP_GPIO_CTRL_INPUT); in axp_init()
249 ret = pmic_bus_write(AXP221_PAGE, 1); in axp_get_sid()
259 pmic_bus_write(AXP221_PAGE, 0); in axp_get_sid()
269 pmic_bus_write(AXP221_SHUTDOWN, AXP221_SHUTDOWN_POWEROFF); in do_poweroff()