Searched refs:dldo_num (Results 1 – 4 of 4) sorted by relevance
165 int axp_set_dldo(int dldo_num, unsigned int mvolt) in axp_set_dldo() argument170 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()
149 int axp_set_dldo(int dldo_num, unsigned int mvolt) in axp_set_dldo() argument154 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()
169 int axp_set_dldo(int dldo_num, unsigned int mvolt) in axp_set_dldo() argument174 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()
34 int axp_set_dldo(int dldo_num, unsigned int mvolt);