Lines Matching defs:rdev
52 struct regulator_dev *rdev;
161 static int tps62360_set_mode(struct regulator_dev *rdev, unsigned int mode)
163 struct tps62360_chip *tps = rdev_get_drvdata(rdev);
206 static unsigned int tps62360_get_mode(struct regulator_dev *rdev)
208 struct tps62360_chip *tps = rdev_get_drvdata(rdev);
323 struct regulator_dev *rdev;
450 rdev = devm_regulator_register(&client->dev, &tps->desc, &config);
451 if (IS_ERR(rdev)) {
455 return PTR_ERR(rdev);
458 tps->rdev = rdev;