Lines Matching refs:indexes
174 const int *indexes, *names, *types, *domains; in get_children_props() local
176 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in get_children_props()
181 if (!indexes || !names || !types || !domains) { in get_children_props()
186 *drc_indexes = indexes; in get_children_props()
206 const int *indexes, *names; in rpaphp_get_drc_props() local
218 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_get_drc_props()
227 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_get_drc_props()
228 if ((unsigned int) indexes[i + 1] == *my_index) { in rpaphp_get_drc_props()
273 static int is_php_dn(struct device_node *dn, const int **indexes, in is_php_dn() argument
279 rc = get_children_props(dn, indexes, names, &drc_types, power_domains); in is_php_dn()
311 const int *indexes, *names, *types, *power_domains; in rpaphp_add_slot() local
318 if (!is_php_dn(dn, &indexes, &names, &types, &power_domains)) in rpaphp_add_slot()
326 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { in rpaphp_add_slot()
329 index = be32_to_cpu(indexes[i + 1]); in rpaphp_add_slot()