Lines Matching refs:mc13xxx

302 	struct mc13xxx *mc13892 = priv->mc13xxx;  in mc13892_powermisc_rmw()
343 mc13xxx_lock(priv->mc13xxx); in mc13892_gpo_regulator_enable()
345 mc13xxx_unlock(priv->mc13xxx); in mc13892_gpo_regulator_enable()
363 mc13xxx_lock(priv->mc13xxx); in mc13892_gpo_regulator_disable()
366 mc13xxx_unlock(priv->mc13xxx); in mc13892_gpo_regulator_disable()
377 mc13xxx_lock(priv->mc13xxx); in mc13892_gpo_regulator_is_enabled()
378 ret = mc13xxx_reg_read(priv->mc13xxx, mc13892_regulators[id].reg, &val); in mc13892_gpo_regulator_is_enabled()
379 mc13xxx_unlock(priv->mc13xxx); in mc13892_gpo_regulator_is_enabled()
410 mc13xxx_lock(priv->mc13xxx); in mc13892_sw_regulator_get_voltage()
411 ret = mc13xxx_reg_read(priv->mc13xxx, in mc13892_sw_regulator_get_voltage()
413 mc13xxx_unlock(priv->mc13xxx); in mc13892_sw_regulator_get_voltage()
449 mc13xxx_lock(priv->mc13xxx); in mc13892_sw_regulator_set_voltage()
450 ret = mc13xxx_reg_read(priv->mc13xxx, in mc13892_sw_regulator_set_voltage()
468 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13892_regulators[id].vsel_reg, in mc13892_sw_regulator_set_voltage()
471 mc13xxx_unlock(priv->mc13xxx); in mc13892_sw_regulator_set_voltage()
492 mc13xxx_lock(priv->mc13xxx); in mc13892_vcam_set_mode()
493 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13892_regulators[id].reg, in mc13892_vcam_set_mode()
495 mc13xxx_unlock(priv->mc13xxx); in mc13892_vcam_set_mode()
506 mc13xxx_lock(priv->mc13xxx); in mc13892_vcam_get_mode()
507 ret = mc13xxx_reg_read(priv->mc13xxx, mc13892_regulators[id].reg, &val); in mc13892_vcam_get_mode()
508 mc13xxx_unlock(priv->mc13xxx); in mc13892_vcam_get_mode()
523 struct mc13xxx *mc13892 = dev_get_drvdata(pdev->dev.parent); in mc13892_regulator_probe()
536 priv->mc13xxx = mc13892; in mc13892_regulator_probe()