Lines Matching refs:n_phandles
90 int n_phandles; in of_get_regulation_constraints() local
93 n_phandles = of_count_phandle_with_args(np, "regulator-coupled-with", in of_get_regulation_constraints()
95 n_phandles = max(n_phandles, 0); in of_get_regulation_constraints()
228 if (n_phandles) { in of_get_regulation_constraints()
230 sizeof(*constraints->max_spread) * n_phandles, in of_get_regulation_constraints()
237 constraints->max_spread, n_phandles); in of_get_regulation_constraints()
559 int n_phandles; in of_get_n_coupled() local
561 n_phandles = of_count_phandle_with_args(node, in of_get_n_coupled()
565 return (n_phandles > 0) ? n_phandles : 0; in of_get_n_coupled()
573 int n_phandles, i; in of_coupling_find_node() local
576 n_phandles = of_count_phandle_with_args(src, in of_coupling_find_node()
580 for (i = 0; i < n_phandles; i++) { in of_coupling_find_node()
618 int n_phandles = of_get_n_coupled(rdev); in of_check_coupling_data() local
625 for (i = 0; i < n_phandles; i++) { in of_check_coupling_data()
644 if (c_n_phandles != n_phandles) { in of_check_coupling_data()