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