Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/regulator/
Dcore.c222 struct regulator_dev *c_rdev; in regulator_supply_is_couple() local
226 c_rdev = rdev->coupling_desc.coupled_rdevs[i]; in regulator_supply_is_couple()
228 if (rdev->supply->rdev == c_rdev) in regulator_supply_is_couple()
238 struct regulator_dev *c_rdev; in regulator_unlock_recursive() local
242 c_rdev = rdev->coupling_desc.coupled_rdevs[i - 1]; in regulator_unlock_recursive()
244 if (!c_rdev) in regulator_unlock_recursive()
247 if (c_rdev->supply && !regulator_supply_is_couple(c_rdev)) in regulator_unlock_recursive()
249 c_rdev->supply->rdev, in regulator_unlock_recursive()
250 c_rdev->coupling_desc.n_coupled); in regulator_unlock_recursive()
252 regulator_unlock(c_rdev); in regulator_unlock_recursive()
[all …]
Dof_regulator.c622 struct regulator_dev *c_rdev; in of_parse_coupled_regulator() local
628 c_rdev = of_find_regulator_by_node(c_node); in of_parse_coupled_regulator()
632 return c_rdev; in of_parse_coupled_regulator()