Lines Matching refs:mc13xxx
309 struct mc13xxx *mc13892 = priv->mc13xxx; in mc13892_powermisc_rmw()
315 mc13xxx_lock(priv->mc13xxx); in mc13892_powermisc_rmw()
333 mc13xxx_unlock(priv->mc13xxx); in mc13892_powermisc_rmw()
378 mc13xxx_lock(priv->mc13xxx); in mc13892_gpo_regulator_is_enabled()
379 ret = mc13xxx_reg_read(priv->mc13xxx, mc13892_regulators[id].reg, &val); in mc13892_gpo_regulator_is_enabled()
380 mc13xxx_unlock(priv->mc13xxx); in mc13892_gpo_regulator_is_enabled()
410 mc13xxx_lock(priv->mc13xxx); in mc13892_sw_regulator_get_voltage_sel()
411 ret = mc13xxx_reg_read(priv->mc13xxx, in mc13892_sw_regulator_get_voltage_sel()
413 mc13xxx_unlock(priv->mc13xxx); in mc13892_sw_regulator_get_voltage_sel()
478 mc13xxx_lock(priv->mc13xxx); in mc13892_sw_regulator_set_voltage_sel()
479 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13892_regulators[id].vsel_reg, in mc13892_sw_regulator_set_voltage_sel()
481 mc13xxx_unlock(priv->mc13xxx); in mc13892_sw_regulator_set_voltage_sel()
502 mc13xxx_lock(priv->mc13xxx); in mc13892_vcam_set_mode()
503 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13892_regulators[id].reg, in mc13892_vcam_set_mode()
505 mc13xxx_unlock(priv->mc13xxx); in mc13892_vcam_set_mode()
516 mc13xxx_lock(priv->mc13xxx); in mc13892_vcam_get_mode()
517 ret = mc13xxx_reg_read(priv->mc13xxx, mc13892_regulators[id].reg, &val); in mc13892_vcam_get_mode()
518 mc13xxx_unlock(priv->mc13xxx); in mc13892_vcam_get_mode()
534 struct mc13xxx *mc13892 = dev_get_drvdata(pdev->dev.parent); in mc13892_regulator_probe()
558 priv->mc13xxx = mc13892; in mc13892_regulator_probe()