Home
last modified time | relevance | path

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

/linux-6.15/drivers/regulator/
H A Dof_regulator.c90 int n_phandles; in of_get_regulation_constraints() local
95 n_phandles = max(n_phandles, 0); in of_get_regulation_constraints()
240 if (n_phandles) { in of_get_regulation_constraints()
249 constraints->max_spread, n_phandles); in of_get_regulation_constraints()
749 int n_phandles; in of_get_n_coupled() local
755 return (n_phandles > 0) ? n_phandles : 0; in of_get_n_coupled()
763 int n_phandles, i; in of_coupling_find_node() local
770 for (i = 0; i < n_phandles; i++) { in of_coupling_find_node()
808 int n_phandles = of_get_n_coupled(rdev); in of_check_coupling_data() local
815 for (i = 0; i < n_phandles; i++) { in of_check_coupling_data()
[all …]
H A Dcore.c5649 int err, n_phandles; in regulator_init_coupling() local
5652 n_phandles = 0; in regulator_init_coupling()
5654 n_phandles = of_get_n_coupled(rdev); in regulator_init_coupling()
5656 coupled = kcalloc(n_phandles + 1, sizeof(*coupled), GFP_KERNEL); in regulator_init_coupling()
5667 rdev->coupling_desc.n_coupled = n_phandles + 1; in regulator_init_coupling()
5671 if (n_phandles == 0) in regulator_init_coupling()