Searched refs:supply_rdev (Results 1 – 1 of 1) sorted by relevance
228 struct regulator_dev *c_rdev, *supply_rdev; in regulator_unlock_recursive() local238 supply_rdev = c_rdev->supply->rdev; in regulator_unlock_recursive()239 supply_n_coupled = supply_rdev->coupling_desc.n_coupled; in regulator_unlock_recursive()241 regulator_unlock_recursive(supply_rdev, in regulator_unlock_recursive()1638 struct regulator_dev *supply_rdev) in set_supply() argument1642 rdev_dbg(rdev, "supplied by %s\n", rdev_get_name(supply_rdev)); in set_supply()1644 if (!try_module_get(supply_rdev->owner)) in set_supply()1647 rdev->supply = create_regulator(supply_rdev, &rdev->dev, "SUPPLY"); in set_supply()1649 module_put(supply_rdev->owner); in set_supply()1653 supply_rdev->open_count++; in set_supply()