Lines Matching refs:mc13xxx
37 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_enable()
38 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].reg, in mc13xxx_regulator_enable()
41 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_enable()
55 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_disable()
56 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].reg, in mc13xxx_regulator_disable()
58 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_disable()
70 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_is_enabled()
71 ret = mc13xxx_reg_read(priv->mc13xxx, mc13xxx_regulators[id].reg, &val); in mc13xxx_regulator_is_enabled()
72 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_is_enabled()
146 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_set_voltage()
147 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].vsel_reg, in mc13xxx_regulator_set_voltage()
150 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_set_voltage()
164 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_get_voltage()
165 ret = mc13xxx_reg_read(priv->mc13xxx, in mc13xxx_regulator_get_voltage()
167 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_get_voltage()