Searched refs:coupler (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/soc/mediatek/ |
A D | mtk-regulator-coupler.c | 19 #define to_mediatek_coupler(x) container_of(x, struct mediatek_regulator_coupler, coupler) 22 struct regulator_coupler coupler; member 32 static int mediatek_regulator_balance_voltage(struct regulator_coupler *coupler, in mediatek_regulator_balance_voltage() argument 36 struct mediatek_regulator_coupler *mrc = to_mediatek_coupler(coupler); in mediatek_regulator_balance_voltage() 100 static int mediatek_regulator_attach(struct regulator_coupler *coupler, in mediatek_regulator_attach() argument 103 struct mediatek_regulator_coupler *mrc = to_mediatek_coupler(coupler); in mediatek_regulator_attach() 127 static int mediatek_regulator_detach(struct regulator_coupler *coupler, in mediatek_regulator_detach() argument 130 struct mediatek_regulator_coupler *mrc = to_mediatek_coupler(coupler); in mediatek_regulator_detach() 139 .coupler = { 153 return regulator_coupler_register(&mediatek_coupler.coupler); in mediatek_regulator_coupler_init()
|
A D | Makefile | 6 obj-$(CONFIG_MTK_REGULATOR_COUPLER) += mtk-regulator-coupler.o
|
/linux-6.3-rc2/include/linux/regulator/ |
A D | coupler.h | 44 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
|
A D | driver.h | 596 struct regulator_coupler *coupler; member
|
/linux-6.3-rc2/drivers/soc/tegra/ |
A D | regulators-tegra30.c | 25 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 …]
|
A D | regulators-tegra20.c | 25 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-6.3-rc2/drivers/soc/samsung/ |
A D | exynos-regulator-coupler.c | 119 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
|
A D | Makefile | 14 obj-$(CONFIG_EXYNOS_REGULATOR_COUPLER) += exynos-regulator-coupler.o
|
/linux-6.3-rc2/drivers/regulator/ |
A D | core.c | 4058 struct regulator_coupler *coupler = c_desc->coupler; in regulator_balance_voltage() local 4074 if (coupler && coupler->balance_voltage) in regulator_balance_voltage() 4075 return coupler->balance_voltage(coupler, rdev, state); in regulator_balance_voltage() 5235 err = coupler->attach_regulator(coupler, rdev); in regulator_find_coupler() 5241 return coupler; in regulator_find_coupler() 5257 coupler->detach_regulator(coupler, rdev); in regulator_find_coupler() 5267 struct regulator_coupler *coupler = rdev->coupling_desc.coupler; in regulator_resolve_coupling() local 5283 if (c_rdev->coupling_desc.coupler != coupler) { in regulator_resolve_coupling() 5298 struct regulator_coupler *coupler = rdev->coupling_desc.coupler; in regulator_remove_coupling() local 5334 if (coupler && coupler->detach_regulator) { in regulator_remove_coupling() [all …]
|
Completed in 23 milliseconds