Lines Matching defs:rdev
22 static int bq24022_set_current_limit(struct regulator_dev *rdev,
25 struct bq24022_mach_info *pdata = rdev_get_drvdata(rdev);
27 dev_dbg(rdev_get_dev(rdev), "setting current limit to %s mA\n",
35 static int bq24022_get_current_limit(struct regulator_dev *rdev)
37 struct bq24022_mach_info *pdata = rdev_get_drvdata(rdev);
42 static int bq24022_enable(struct regulator_dev *rdev)
44 struct bq24022_mach_info *pdata = rdev_get_drvdata(rdev);
46 dev_dbg(rdev_get_dev(rdev), "enabling charger\n");
52 static int bq24022_disable(struct regulator_dev *rdev)
54 struct bq24022_mach_info *pdata = rdev_get_drvdata(rdev);
56 dev_dbg(rdev_get_dev(rdev), "disabling charger\n");
62 static int bq24022_is_enabled(struct regulator_dev *rdev)
64 struct bq24022_mach_info *pdata = rdev_get_drvdata(rdev);