Home
last modified time | relevance | path

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

/linux/drivers/soc/tegra/
H A Dregulators-tegra30.c25 struct regulator_coupler coupler; member
38 to_tegra_coupler(struct regulator_coupler *coupler) in to_tegra_coupler() argument
40 return container_of(coupler, struct tegra_regulator_coupler, coupler); in to_tegra_coupler()
341 static int tegra30_regulator_balance_voltage(struct regulator_coupler *coupler, in tegra30_regulator_balance_voltage() argument
345 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra30_regulator_balance_voltage()
462 static int tegra30_regulator_attach(struct regulator_coupler *coupler, in tegra30_regulator_attach() argument
465 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra30_regulator_attach()
483 static int tegra30_regulator_detach(struct regulator_coupler *coupler, in tegra30_regulator_detach() argument
486 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra30_regulator_detach()
510 .coupler = {
[all …]
H A Dregulators-tegra20.c25 struct regulator_coupler coupler; member
39 to_tegra_coupler(struct regulator_coupler *coupler) in to_tegra_coupler() argument
41 return container_of(coupler, struct tegra_regulator_coupler, coupler); in to_tegra_coupler()
344 static int tegra20_regulator_balance_voltage(struct regulator_coupler *coupler, in tegra20_regulator_balance_voltage() argument
348 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra20_regulator_balance_voltage()
477 static int tegra20_regulator_attach(struct regulator_coupler *coupler, in tegra20_regulator_attach() argument
480 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra20_regulator_attach()
504 static int tegra20_regulator_detach(struct regulator_coupler *coupler, in tegra20_regulator_detach() argument
507 struct tegra_regulator_coupler *tegra = to_tegra_coupler(coupler); in tegra20_regulator_detach()
536 .coupler = {
[all …]
/linux/include/linux/regulator/
H A Dcoupler.h45 int (*attach_regulator)(struct regulator_coupler *coupler,
47 int (*detach_regulator)(struct regulator_coupler *coupler,
49 int (*balance_voltage)(struct regulator_coupler *coupler,
55 int regulator_coupler_register(struct regulator_coupler *coupler);
68 static inline int regulator_coupler_register(struct regulator_coupler *coupler) in regulator_coupler_register() argument
/linux/drivers/soc/samsung/
H A 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
H A DMakefile14 obj-$(CONFIG_EXYNOS_REGULATOR_COUPLER) += exynos-regulator-coupler.o
/linux/drivers/regulator/
H A Dcore.c4379 struct regulator_coupler *coupler = c_desc->coupler; in regulator_balance_voltage() local
4395 if (coupler && coupler->balance_voltage) in regulator_balance_voltage()
4396 return coupler->balance_voltage(coupler, rdev, state); in regulator_balance_voltage()
5705 int regulator_coupler_register(struct regulator_coupler *coupler) in regulator_coupler_register() argument
5708 list_add_tail(&coupler->list, &regulator_coupler_list); in regulator_coupler_register()
5717 struct regulator_coupler *coupler; in regulator_find_coupler() local
5725 list_for_each_entry_reverse(coupler, &regulator_coupler_list, list) { in regulator_find_coupler()
5726 err = coupler->attach_regulator(coupler, rdev); in regulator_find_coupler()
5728 if (!coupler->balance_voltage && in regulator_find_coupler()
5732 return coupler; in regulator_find_coupler()
[all …]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8390-grinn-genio-som.dtsi82 /* The name "vgpu" is required by mtk-regulator-coupler */
106 /* The name "vsram_gpu" is required by mtk-regulator-coupler */
H A Dmt8390-genio-common.dtsi557 /* The name "vgpu" is required by mtk-regulator-coupler */
581 /* The name "vsram_gpu" is required by mtk-regulator-coupler */