Home
last modified time | relevance | path

Searched refs:supply_rdev (Results 1 – 1 of 1) sorted by relevance

/drivers/regulator/
Dcore.c309 struct regulator_dev *c_rdev, *supply_rdev; in regulator_unlock_recursive() local
319 supply_rdev = c_rdev->supply->rdev; in regulator_unlock_recursive()
320 supply_n_coupled = supply_rdev->coupling_desc.n_coupled; in regulator_unlock_recursive()
322 regulator_unlock_recursive(supply_rdev, in regulator_unlock_recursive()
1543 struct regulator_dev *supply_rdev) in set_supply() argument
1547 rdev_info(rdev, "supplied by %s\n", rdev_get_name(supply_rdev)); in set_supply()
1549 if (!try_module_get(supply_rdev->owner)) in set_supply()
1552 rdev->supply = create_regulator(supply_rdev, &rdev->dev, "SUPPLY"); in set_supply()
1554 module_put(supply_rdev->owner); in set_supply()
1558 supply_rdev->open_count++; in set_supply()