Lines Matching defs:rdev
325 static int mc13783_gpo_regulator_enable(struct regulator_dev *rdev)
327 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev);
329 int id = rdev_get_id(rdev);
332 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id);
343 static int mc13783_gpo_regulator_disable(struct regulator_dev *rdev)
345 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev);
347 int id = rdev_get_id(rdev);
350 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id);
361 static int mc13783_gpo_regulator_is_enabled(struct regulator_dev *rdev)
363 struct mc13xxx_regulator_priv *priv = rdev_get_drvdata(rdev);
365 int ret, id = rdev_get_id(rdev);