Home
last modified time | relevance | path

Searched refs:aldo_num (Results 1 – 2 of 2) sorted by relevance

/u-boot/drivers/power/
A Daxp809.c123 int axp_set_aldo(int aldo_num, unsigned int mvolt) in axp_set_aldo() argument
128 if (aldo_num < 1 || aldo_num > 3) in axp_set_aldo()
131 if (mvolt == 0 && aldo_num == 3) in axp_set_aldo()
136 AXP809_OUTPUT_CTRL1_ALDO1_EN << (aldo_num - 1)); in axp_set_aldo()
139 ret = pmic_bus_write(AXP809_ALDO1_CTRL + (aldo_num - 1), cfg); in axp_set_aldo()
143 if (aldo_num == 3) in axp_set_aldo()
147 AXP809_OUTPUT_CTRL1_ALDO1_EN << (aldo_num - 1)); in axp_set_aldo()
A Daxp818.c113 int axp_set_aldo(int aldo_num, unsigned int mvolt) in axp_set_aldo() argument
118 if (aldo_num < 1 || aldo_num > 3) in axp_set_aldo()
123 AXP818_OUTPUT_CTRL3_ALDO1_EN << (aldo_num - 1)); in axp_set_aldo()
126 ret = pmic_bus_write(AXP818_ALDO1_CTRL + (aldo_num - 1), cfg); in axp_set_aldo()
131 AXP818_OUTPUT_CTRL3_ALDO1_EN << (aldo_num - 1)); in axp_set_aldo()

Completed in 3 milliseconds