Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/soc/tegra/
Dregulators-tegra30.c24 struct regulator_coupler coupler; member
34 to_tegra_coupler(struct regulator_coupler *coupler) in to_tegra_coupler() argument
36 return container_of(coupler, struct tegra_regulator_coupler, coupler); in to_tegra_coupler()
281 static int tegra30_regulator_balance_voltage(struct regulator_coupler *coupler, in tegra30_regulator_balance_voltage() argument
285 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra30_regulator_balance_voltage()
344 static int tegra30_regulator_attach(struct regulator_coupler *coupler, in tegra30_regulator_attach() argument
347 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra30_regulator_attach()
365 static int tegra30_regulator_detach(struct regulator_coupler *coupler, in tegra30_regulator_detach() argument
368 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra30_regulator_detach()
392 .coupler = {
[all …]
Dregulators-tegra20.c23 struct regulator_coupler coupler; member
34 to_tegra_coupler(struct regulator_coupler *coupler) in to_tegra_coupler() argument
36 return container_of(coupler, struct tegra_regulator_coupler, coupler); in to_tegra_coupler()
307 static int tegra20_regulator_balance_voltage(struct regulator_coupler *coupler, in tegra20_regulator_balance_voltage() argument
311 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra20_regulator_balance_voltage()
382 static int tegra20_regulator_attach(struct regulator_coupler *coupler, in tegra20_regulator_attach() argument
385 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra20_regulator_attach()
409 static int tegra20_regulator_detach(struct regulator_coupler *coupler, in tegra20_regulator_detach() argument
412 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra20_regulator_detach()
441 .coupler = {
[all …]
/Linux-v5.15/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);
67 static inline int regulator_coupler_register(struct regulator_coupler *coupler) in regulator_coupler_register() argument
Ddriver.h588 struct regulator_coupler *coupler; member
/Linux-v5.15/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
DMakefile11 obj-$(CONFIG_EXYNOS_REGULATOR_COUPLER) += exynos-regulator-coupler.o
/Linux-v5.15/drivers/regulator/
Dcore.c3986 struct regulator_coupler *coupler = c_desc->coupler; in regulator_balance_voltage() local
4002 if (coupler && coupler->balance_voltage) in regulator_balance_voltage()
4003 return coupler->balance_voltage(coupler, rdev, state); in regulator_balance_voltage()
5108 int regulator_coupler_register(struct regulator_coupler *coupler) in regulator_coupler_register() argument
5111 list_add_tail(&coupler->list, &regulator_coupler_list); in regulator_coupler_register()
5120 struct regulator_coupler *coupler; in regulator_find_coupler() local
5128 list_for_each_entry_reverse(coupler, &regulator_coupler_list, list) { in regulator_find_coupler()
5129 err = coupler->attach_regulator(coupler, rdev); in regulator_find_coupler()
5131 if (!coupler->balance_voltage && in regulator_find_coupler()
5135 return coupler; in regulator_find_coupler()
[all …]