Lines Matching refs:mc13xxx
305 struct mc13xxx *mc13892 = priv->mc13xxx; in mc13892_powermisc_rmw()
311 mc13xxx_lock(priv->mc13xxx); in mc13892_powermisc_rmw()
329 mc13xxx_unlock(priv->mc13xxx); in mc13892_powermisc_rmw()
374 mc13xxx_lock(priv->mc13xxx); in mc13892_gpo_regulator_is_enabled()
375 ret = mc13xxx_reg_read(priv->mc13xxx, mc13892_regulators[id].reg, &val); in mc13892_gpo_regulator_is_enabled()
376 mc13xxx_unlock(priv->mc13xxx); in mc13892_gpo_regulator_is_enabled()
406 mc13xxx_lock(priv->mc13xxx); in mc13892_sw_regulator_get_voltage_sel()
407 ret = mc13xxx_reg_read(priv->mc13xxx, in mc13892_sw_regulator_get_voltage_sel()
409 mc13xxx_unlock(priv->mc13xxx); in mc13892_sw_regulator_get_voltage_sel()
474 mc13xxx_lock(priv->mc13xxx); in mc13892_sw_regulator_set_voltage_sel()
475 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13892_regulators[id].vsel_reg, in mc13892_sw_regulator_set_voltage_sel()
477 mc13xxx_unlock(priv->mc13xxx); in mc13892_sw_regulator_set_voltage_sel()
498 mc13xxx_lock(priv->mc13xxx); in mc13892_vcam_set_mode()
499 ret = mc13xxx_reg_rmw(priv->mc13xxx, mc13892_regulators[id].reg, in mc13892_vcam_set_mode()
501 mc13xxx_unlock(priv->mc13xxx); in mc13892_vcam_set_mode()
512 mc13xxx_lock(priv->mc13xxx); in mc13892_vcam_get_mode()
513 ret = mc13xxx_reg_read(priv->mc13xxx, mc13892_regulators[id].reg, &val); in mc13892_vcam_get_mode()
514 mc13xxx_unlock(priv->mc13xxx); in mc13892_vcam_get_mode()
530 struct mc13xxx *mc13892 = dev_get_drvdata(pdev->dev.parent); in mc13892_regulator_probe()
554 priv->mc13xxx = mc13892; in mc13892_regulator_probe()