Home
last modified time | relevance | path

Searched refs:coupler (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/soc/tegra/
Dregulators-tegra30.c22 struct regulator_coupler coupler; member
29 to_tegra_coupler(struct regulator_coupler *coupler) in to_tegra_coupler() argument
31 return container_of(coupler, struct tegra_regulator_coupler, coupler); in to_tegra_coupler()
253 static int tegra30_regulator_balance_voltage(struct regulator_coupler *coupler, in tegra30_regulator_balance_voltage() argument
257 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra30_regulator_balance_voltage()
269 static int tegra30_regulator_attach(struct regulator_coupler *coupler, in tegra30_regulator_attach() argument
272 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra30_regulator_attach()
290 static int tegra30_regulator_detach(struct regulator_coupler *coupler, in tegra30_regulator_detach() argument
293 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra30_regulator_detach()
309 .coupler = {
[all …]
Dregulators-tegra20.c20 struct regulator_coupler coupler; member
28 to_tegra_coupler(struct regulator_coupler *coupler) in to_tegra_coupler() argument
30 return container_of(coupler, struct tegra_regulator_coupler, coupler); in to_tegra_coupler()
278 static int tegra20_regulator_balance_voltage(struct regulator_coupler *coupler, in tegra20_regulator_balance_voltage() argument
282 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra20_regulator_balance_voltage()
306 static int tegra20_regulator_attach(struct regulator_coupler *coupler, in tegra20_regulator_attach() argument
309 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra20_regulator_attach()
333 static int tegra20_regulator_detach(struct regulator_coupler *coupler, in tegra20_regulator_detach() argument
336 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra20_regulator_detach()
357 .coupler = {
[all …]
/Linux-v5.10/include/linux/regulator/
Dcoupler.h44 int (*attach_regulator)(struct regulator_coupler *coupler,
46 int (*detach_regulator)(struct regulator_coupler *coupler,
48 int (*balance_voltage)(struct regulator_coupler *coupler,
54 int regulator_coupler_register(struct regulator_coupler *coupler);
68 static inline int regulator_coupler_register(struct regulator_coupler *coupler) in regulator_coupler_register() argument
Ddriver.h419 struct regulator_coupler *coupler; member
/Linux-v5.10/drivers/soc/samsung/
Dexynos-regulator-coupler.c119 static int exynos_coupler_balance_voltage(struct regulator_coupler *coupler, in exynos_coupler_balance_voltage() argument
203 static int exynos_coupler_attach(struct regulator_coupler *coupler, in exynos_coupler_attach() argument
DMakefile12 obj-$(CONFIG_EXYNOS_REGULATOR_COUPLER) += exynos-regulator-coupler.o
/Linux-v5.10/drivers/regulator/
Dcore.c3862 struct regulator_coupler *coupler = c_desc->coupler; in regulator_balance_voltage() local
3878 if (coupler && coupler->balance_voltage) in regulator_balance_voltage()
3879 return coupler->balance_voltage(coupler, rdev, state); in regulator_balance_voltage()
4937 int regulator_coupler_register(struct regulator_coupler *coupler) in regulator_coupler_register() argument
4940 list_add_tail(&coupler->list, &regulator_coupler_list); in regulator_coupler_register()
4949 struct regulator_coupler *coupler; in regulator_find_coupler() local
4957 list_for_each_entry_reverse(coupler, &regulator_coupler_list, list) { in regulator_find_coupler()
4958 err = coupler->attach_regulator(coupler, rdev); in regulator_find_coupler()
4960 if (!coupler->balance_voltage && in regulator_find_coupler()
4964 return coupler; in regulator_find_coupler()
[all …]