Lines Matching defs:rdev
25 static int db8500_regulator_enable(struct regulator_dev *rdev)
27 struct dbx500_regulator_info *info = rdev_get_drvdata(rdev);
32 dev_vdbg(rdev_get_dev(rdev), "regulator-%s-enable\n",
44 static int db8500_regulator_disable(struct regulator_dev *rdev)
46 struct dbx500_regulator_info *info = rdev_get_drvdata(rdev);
52 dev_vdbg(rdev_get_dev(rdev), "regulator-%s-disable\n",
64 static int db8500_regulator_is_enabled(struct regulator_dev *rdev)
66 struct dbx500_regulator_info *info = rdev_get_drvdata(rdev);
71 dev_vdbg(rdev_get_dev(rdev), "regulator-%s-is_enabled (is_enabled):"
141 static int db8500_regulator_switch_enable(struct regulator_dev *rdev)
143 struct dbx500_regulator_info *info = rdev_get_drvdata(rdev);
149 dev_vdbg(rdev_get_dev(rdev), "regulator-switch-%s-enable\n",
154 dev_err(rdev_get_dev(rdev),
165 static int db8500_regulator_switch_disable(struct regulator_dev *rdev)
167 struct dbx500_regulator_info *info = rdev_get_drvdata(rdev);
173 dev_vdbg(rdev_get_dev(rdev), "regulator-switch-%s-disable\n",
178 dev_err(rdev_get_dev(rdev),
189 static int db8500_regulator_switch_is_enabled(struct regulator_dev *rdev)
191 struct dbx500_regulator_info *info = rdev_get_drvdata(rdev);
196 dev_vdbg(rdev_get_dev(rdev),
442 struct regulator_dev *rdev;
456 rdev = devm_regulator_register(&pdev->dev, &info->desc,
458 if (IS_ERR(rdev)) {
459 err = PTR_ERR(rdev);