Lines Matching full:indexes
161 const __be32 *indexes, *names, *types, *domains; in get_children_props() local
163 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in get_children_props()
168 if (!indexes || !names || !types || !domains) { in get_children_props()
173 *drc_indexes = indexes; in get_children_props()
197 const __be32 *indexes, *names; in rpaphp_check_drc_props_v1() local
201 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_check_drc_props_v1()
210 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_check_drc_props_v1()
211 if (be32_to_cpu(indexes[i + 1]) == my_index) in rpaphp_check_drc_props_v1()
304 * @indexes: passed to get_children_props()
314 static int is_php_dn(struct device_node *dn, const __be32 **indexes, in is_php_dn() argument
321 rc = get_children_props(dn, indexes, names, &drc_types, power_domains); in is_php_dn()
378 const __be32 *indexes, *names, *types, *power_domains; in rpaphp_drc_add_slot() local
382 if (!is_php_dn(dn, &indexes, &names, &types, &power_domains)) in rpaphp_drc_add_slot()
390 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_drc_add_slot()
393 index = be32_to_cpu(indexes[i + 1]); in rpaphp_drc_add_slot()