Home
last modified time | relevance | path

Searched refs:dldo_num (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/power/
Daxp809.c165 int axp_set_dldo(int dldo_num, unsigned int mvolt) in axp_set_dldo() argument
170 if (dldo_num < 1 || dldo_num > 2) in axp_set_dldo()
175 AXP809_OUTPUT_CTRL2_DLDO1_EN << (dldo_num - 1)); in axp_set_dldo()
177 if (dldo_num == 1 && mvolt > 3300) in axp_set_dldo()
179 ret = pmic_bus_write(AXP809_DLDO1_CTRL + (dldo_num - 1), cfg); in axp_set_dldo()
184 AXP809_OUTPUT_CTRL2_DLDO1_EN << (dldo_num - 1)); in axp_set_dldo()
Daxp818.c149 int axp_set_dldo(int dldo_num, unsigned int mvolt) in axp_set_dldo() argument
154 if (dldo_num < 1 || dldo_num > 4) in axp_set_dldo()
159 AXP818_OUTPUT_CTRL2_DLDO1_EN << (dldo_num - 1)); in axp_set_dldo()
162 if (dldo_num == 2 && mvolt > 3300) in axp_set_dldo()
164 ret = pmic_bus_write(AXP818_ELDO1_CTRL + (dldo_num - 1), cfg); in axp_set_dldo()
169 AXP818_OUTPUT_CTRL2_DLDO1_EN << (dldo_num - 1)); in axp_set_dldo()
Daxp221.c169 int axp_set_dldo(int dldo_num, unsigned int mvolt) in axp_set_dldo() argument
174 if (dldo_num < 1 || dldo_num > 4) in axp_set_dldo()
179 AXP221_OUTPUT_CTRL2_DLDO1_EN << (dldo_num - 1)); in axp_set_dldo()
181 ret = pmic_bus_write(AXP221_DLDO1_CTRL + (dldo_num - 1), cfg); in axp_set_dldo()
186 AXP221_OUTPUT_CTRL2_DLDO1_EN << (dldo_num - 1)); in axp_set_dldo()
/external/u-boot/include/
Daxp_pmic.h34 int axp_set_dldo(int dldo_num, unsigned int mvolt);