Lines Matching refs:mc13xxx
40 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_enable()
41 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].reg, in mc13xxx_regulator_enable()
44 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_enable()
58 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_disable()
59 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].reg, in mc13xxx_regulator_disable()
61 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_disable()
73 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_is_enabled()
74 ret = mc13xxx_reg_read(priv->mc13xxx, mc13xxx_regulators[id].reg, &val); in mc13xxx_regulator_is_enabled()
75 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_is_enabled()
149 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_set_voltage()
150 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].vsel_reg, in mc13xxx_regulator_set_voltage()
153 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_set_voltage()
167 mc13xxx_lock(priv->mc13xxx); in mc13xxx_regulator_get_voltage()
168 ret = mc13xxx_reg_read(priv->mc13xxx, in mc13xxx_regulator_get_voltage()
170 mc13xxx_unlock(priv->mc13xxx); in mc13xxx_regulator_get_voltage()