Lines Matching refs:coupler
3 * Voltage regulators coupler for MediaTek SoCs
14 #include <linux/regulator/coupler.h>
19 #define to_mediatek_coupler(x) container_of(x, struct mediatek_regulator_coupler, coupler)
22 struct regulator_coupler coupler;
32 static int mediatek_regulator_balance_voltage(struct regulator_coupler *coupler,
36 struct mediatek_regulator_coupler *mrc = to_mediatek_coupler(coupler);
100 static int mediatek_regulator_attach(struct regulator_coupler *coupler,
103 struct mediatek_regulator_coupler *mrc = to_mediatek_coupler(coupler);
109 * case, we may want to use another coupler implementation, if any,
127 static int mediatek_regulator_detach(struct regulator_coupler *coupler,
130 struct mediatek_regulator_coupler *mrc = to_mediatek_coupler(coupler);
139 .coupler = {
153 return regulator_coupler_register(&mediatek_coupler.coupler);