act8945a          156 drivers/regulator/act8945a-regulator.c 	struct act8945a_pmic *act8945a = rdev_get_drvdata(rdev);
act8945a          204 drivers/regulator/act8945a-regulator.c 	act8945a->op_mode[id] = mode;
act8945a          211 drivers/regulator/act8945a-regulator.c 	struct act8945a_pmic *act8945a = rdev_get_drvdata(rdev);
act8945a          217 drivers/regulator/act8945a-regulator.c 	return act8945a->op_mode[id];
act8945a          278 drivers/regulator/act8945a-regulator.c 	struct act8945a_pmic *act8945a;
act8945a          283 drivers/regulator/act8945a-regulator.c 	act8945a = devm_kzalloc(&pdev->dev, sizeof(*act8945a), GFP_KERNEL);
act8945a          284 drivers/regulator/act8945a-regulator.c 	if (!act8945a)
act8945a          287 drivers/regulator/act8945a-regulator.c 	act8945a->regmap = dev_get_regmap(pdev->dev.parent, NULL);
act8945a          288 drivers/regulator/act8945a-regulator.c 	if (!act8945a->regmap) {
act8945a          307 drivers/regulator/act8945a-regulator.c 	config.driver_data = act8945a;
act8945a          319 drivers/regulator/act8945a-regulator.c 	platform_set_drvdata(pdev, act8945a);
act8945a          322 drivers/regulator/act8945a-regulator.c 	return regmap_write(act8945a->regmap, ACT8945A_SYS_UNLK_REGS, 0xef);
act8945a          327 drivers/regulator/act8945a-regulator.c 	struct act8945a_pmic *act8945a = dev_get_drvdata(pdev);
act8945a          333 drivers/regulator/act8945a-regulator.c 	return regmap_write(act8945a->regmap, ACT8945A_SYS_CTRL, 0x42);
act8945a          340 drivers/regulator/act8945a-regulator.c 	struct act8945a_pmic *act8945a = platform_get_drvdata(pdev);
act8945a          345 drivers/regulator/act8945a-regulator.c 	regmap_write(act8945a->regmap, ACT8945A_SYS_CTRL, 0x0);