Home
last modified time | relevance | path

Searched refs:mc13xxx_regulators (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/regulator/
Dmc13xxx-regulator-core.c30 struct mc13xxx_regulator *mc13xxx_regulators = priv->mc13xxx_regulators; in mc13xxx_regulator_enable() local
35 return mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].reg, in mc13xxx_regulator_enable()
36 mc13xxx_regulators[id].enable_bit, in mc13xxx_regulator_enable()
37 mc13xxx_regulators[id].enable_bit); in mc13xxx_regulator_enable()
43 struct mc13xxx_regulator *mc13xxx_regulators = priv->mc13xxx_regulators; in mc13xxx_regulator_disable() local
48 return mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].reg, in mc13xxx_regulator_disable()
49 mc13xxx_regulators[id].enable_bit, 0); in mc13xxx_regulator_disable()
55 struct mc13xxx_regulator *mc13xxx_regulators = priv->mc13xxx_regulators; in mc13xxx_regulator_is_enabled() local
59 ret = mc13xxx_reg_read(priv->mc13xxx, mc13xxx_regulators[id].reg, &val); in mc13xxx_regulator_is_enabled()
63 return (val & mc13xxx_regulators[id].enable_bit) != 0; in mc13xxx_regulator_is_enabled()
[all …]
Dmc13783-regulator.c328 struct mc13xxx_regulator *mc13xxx_regulators = priv->mc13xxx_regulators; in mc13783_gpo_regulator_enable() local
330 u32 en_val = mc13xxx_regulators[id].enable_bit; in mc13783_gpo_regulator_enable()
339 return mc13783_powermisc_rmw(priv, mc13xxx_regulators[id].enable_bit, in mc13783_gpo_regulator_enable()
346 struct mc13xxx_regulator *mc13xxx_regulators = priv->mc13xxx_regulators; in mc13783_gpo_regulator_disable() local
355 dis_val = mc13xxx_regulators[id].enable_bit; in mc13783_gpo_regulator_disable()
357 return mc13783_powermisc_rmw(priv, mc13xxx_regulators[id].enable_bit, in mc13783_gpo_regulator_disable()
364 struct mc13xxx_regulator *mc13xxx_regulators = priv->mc13xxx_regulators; in mc13783_gpo_regulator_is_enabled() local
369 ret = mc13xxx_reg_read(priv->mc13xxx, mc13xxx_regulators[id].reg, &val); in mc13783_gpo_regulator_is_enabled()
380 return (val & mc13xxx_regulators[id].enable_bit) != 0; in mc13783_gpo_regulator_is_enabled()
415 priv->mc13xxx_regulators = mc13783_regulators; in mc13783_regulator_probe()
Dmc13xxx.h25 struct mc13xxx_regulator *mc13xxx_regulators; member
Dmc13892-regulator.c553 priv->mc13xxx_regulators = mc13892_regulators; in mc13892_regulator_probe()