Lines Matching +full:regulator +full:- +full:coupled +full:- +full:with
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * coupler.h -- SoC Regulator support, coupler API.
5 * Regulator Coupler Interface.
18 * struct regulator_coupler - customized regulator's coupler
20 * Regulator's coupler allows to customize coupling algorithm.
23 * @attach_regulator: Callback invoked on creation of a coupled regulator,
25 * check that it could handle the regulator and return 0 on
26 * success, -errno on failure and 1 if given regulator is
29 * @detach_regulator: Callback invoked on destruction of a coupled regulator.
31 * @balance_voltage: Callback invoked when voltage of a coupled regulator is
32 * changing. Called with all of the coupled rdev's being held
34 * balancing, changing voltage of the coupled regulators as
80 return -EINVAL; in regulator_check_consumers()
85 return -EINVAL; in regulator_check_voltage()
89 return -EINVAL; in regulator_get_voltage_rdev()
95 return -EINVAL; in regulator_set_voltage_rdev()
101 return -EINVAL; in regulator_do_balance_voltage()