Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/regulator/
Dcore.c212 struct regulator_dev *c_rdev; in regulator_supply_is_couple() local
216 c_rdev = rdev->coupling_desc.coupled_rdevs[i]; in regulator_supply_is_couple()
218 if (rdev->supply->rdev == c_rdev) in regulator_supply_is_couple()
228 struct regulator_dev *c_rdev, *supply_rdev; in regulator_unlock_recursive() local
232 c_rdev = rdev->coupling_desc.coupled_rdevs[i - 1]; in regulator_unlock_recursive()
234 if (!c_rdev) in regulator_unlock_recursive()
237 if (c_rdev->supply && !regulator_supply_is_couple(c_rdev)) { in regulator_unlock_recursive()
238 supply_rdev = c_rdev->supply->rdev; in regulator_unlock_recursive()
245 regulator_unlock(c_rdev); in regulator_unlock_recursive()
254 struct regulator_dev *c_rdev; in regulator_lock_recursive() local
[all …]
Dof_regulator.c692 struct regulator_dev *c_rdev; in of_parse_coupled_regulator() local
698 c_rdev = of_find_regulator_by_node(c_node); in of_parse_coupled_regulator()
702 return c_rdev; in of_parse_coupled_regulator()