Lines Matching defs:rdev
172 static int max8973_dcdc_get_voltage_sel(struct regulator_dev *rdev)
174 struct max8973_chip *max = rdev_get_drvdata(rdev);
187 static int max8973_dcdc_set_voltage_sel(struct regulator_dev *rdev,
190 struct max8973_chip *max = rdev_get_drvdata(rdev);
224 static int max8973_dcdc_set_mode(struct regulator_dev *rdev, unsigned int mode)
226 struct max8973_chip *max = rdev_get_drvdata(rdev);
252 static unsigned int max8973_dcdc_get_mode(struct regulator_dev *rdev)
254 struct max8973_chip *max = rdev_get_drvdata(rdev);
268 static int max8973_set_ramp_delay(struct regulator_dev *rdev,
271 struct max8973_chip *max = rdev_get_drvdata(rdev);
295 static int max8973_set_current_limit(struct regulator_dev *rdev,
298 struct max8973_chip *max = rdev_get_drvdata(rdev);
319 static int max8973_get_current_limit(struct regulator_dev *rdev)
321 struct max8973_chip *max = rdev_get_drvdata(rdev);
631 struct regulator_dev *rdev;
818 rdev = devm_regulator_register(&client->dev, &max->desc, &config);
819 if (IS_ERR(rdev)) {
820 ret = PTR_ERR(rdev);