Home
last modified time | relevance | path

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

/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 …]
/drivers/regulator/
Dcore.c3984 struct regulator_coupler *coupler = c_desc->coupler; in regulator_balance_voltage() local
4000 if (coupler && coupler->balance_voltage) in regulator_balance_voltage()
4001 return coupler->balance_voltage(coupler, rdev, state); in regulator_balance_voltage()
5058 int regulator_coupler_register(struct regulator_coupler *coupler) in regulator_coupler_register() argument
5061 list_add_tail(&coupler->list, &regulator_coupler_list); in regulator_coupler_register()
5070 struct regulator_coupler *coupler; in regulator_find_coupler() local
5078 list_for_each_entry_reverse(coupler, &regulator_coupler_list, list) { in regulator_find_coupler()
5079 err = coupler->attach_regulator(coupler, rdev); in regulator_find_coupler()
5081 if (!coupler->balance_voltage && in regulator_find_coupler()
5085 return coupler; in regulator_find_coupler()
[all …]
/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