Searched refs:mc13xxx_regulators (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/drivers/regulator/ |
D | mc13xxx-regulator-core.c | 30 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 …]
|
D | mc13783-regulator.c | 328 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()
|
D | mc13xxx.h | 29 struct mc13xxx_regulator *mc13xxx_regulators; member
|
D | mc13892-regulator.c | 553 priv->mc13xxx_regulators = mc13892_regulators; in mc13892_regulator_probe()
|