Searched refs:n_phandles (Results 1 – 2 of 2) sorted by relevance
451 int n_phandles; in of_get_n_coupled() local453 n_phandles = of_count_phandle_with_args(node, in of_get_n_coupled()457 return (n_phandles > 0) ? n_phandles : 0; in of_get_n_coupled()464 int n_phandles, i; in of_coupling_find_node() local467 n_phandles = of_count_phandle_with_args(src, in of_coupling_find_node()471 for (i = 0; i < n_phandles; i++) { in of_coupling_find_node()508 int n_phandles = of_get_n_coupled(rdev); in of_check_coupling_data() local519 for (i = 0; i < n_phandles; i++) { in of_check_coupling_data()532 if (c_n_phandles != n_phandles) { in of_check_coupling_data()
4249 int n_phandles; in regulator_resolve_coupling() local4252 n_phandles = 0; in regulator_resolve_coupling()4254 n_phandles = of_get_n_coupled(rdev); in regulator_resolve_coupling()4256 if (n_phandles + 1 > MAX_COUPLED) { in regulator_resolve_coupling()4266 rdev->coupling_desc.n_coupled = n_phandles + 1; in regulator_resolve_coupling()4270 if (n_phandles == 0) in regulator_resolve_coupling()