Lines Matching refs:indexes
173 const int *indexes, *names, *types, *domains; in get_children_props() local
175 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in get_children_props()
180 if (!indexes || !names || !types || !domains) { in get_children_props()
185 *drc_indexes = indexes; in get_children_props()
205 const int *indexes, *names; in rpaphp_get_drc_props() local
217 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_get_drc_props()
226 for (i = 0; i < indexes[0]; i++) { in rpaphp_get_drc_props()
227 if ((unsigned int) indexes[i + 1] == *my_index) { in rpaphp_get_drc_props()
271 static int is_php_dn(struct device_node *dn, const int **indexes, in is_php_dn() argument
277 rc = get_children_props(dn, indexes, names, &drc_types, power_domains); in is_php_dn()
309 const int *indexes, *names, *types, *power_domains; in rpaphp_add_slot() local
316 if (!is_php_dn(dn, &indexes, &names, &types, &power_domains)) in rpaphp_add_slot()
324 for (i = 0; i < indexes[0]; i++) { in rpaphp_add_slot()
326 slot = alloc_slot_struct(dn, indexes[i + 1], name, power_domains[i + 1]); in rpaphp_add_slot()
333 indexes[i + 1], name, type); in rpaphp_add_slot()