Lines Matching refs:indexes
163 const __be32 *indexes, *names, *types, *domains; in get_children_props() local
165 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in get_children_props()
170 if (!indexes || !names || !types || !domains) { in get_children_props()
175 *drc_indexes = indexes; in get_children_props()
199 const __be32 *indexes, *names; in rpaphp_check_drc_props_v1() local
203 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_check_drc_props_v1()
212 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_check_drc_props_v1()
213 if (be32_to_cpu(indexes[i + 1]) == my_index) in rpaphp_check_drc_props_v1()
316 static int is_php_dn(struct device_node *dn, const __be32 **indexes, in is_php_dn() argument
323 rc = get_children_props(dn, indexes, names, &drc_types, power_domains); in is_php_dn()
380 const __be32 *indexes, *names, *types, *power_domains; in rpaphp_drc_add_slot() local
384 if (!is_php_dn(dn, &indexes, &names, &types, &power_domains)) in rpaphp_drc_add_slot()
392 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_drc_add_slot()
395 index = be32_to_cpu(indexes[i + 1]); in rpaphp_drc_add_slot()