Lines Matching defs:index
292 * @cpu: logical cpu index of a core/thread
295 * CPU logical to physical index mapping is architecture specific.
297 * id to logical cpu index. phys_id provided here is usually values read
300 * Returns true if the physical identifier and the logical cpu index
364 * @cpu: CPU number(logical index) for which device node is required
369 * given logical CPU index. It should be used to initialize the of_node in
373 * CPU logical to physical index mapping is architecture specific and is built
419 * of_get_cpu_state_node - Get CPU's idle state node at the given index
422 * @index: The index in the list of the idle states
428 * the requested index.
430 * Return: An idle state node if found at @index. The refcount is incremented
434 int index)
443 of_parse_phandle(args.np, "domain-idle-states", index);
450 return of_parse_phandle(cpu_node, "cpu-idle-states", index);
489 int index = 0, score = 0;
495 cp = of_prop_next_string(prop, cp), index++) {
497 score = INT_MAX/2 - (index << 2);
1378 int cell_count, int index,
1389 * index matches, then fill the out_args structure and return,
1393 if (cur_index == index) {
1418 * -ENOENT : index is for empty phandle
1431 * @index: For properties holding a table of phandles, this is the index into
1438 const char *phandle_name, int index)
1442 if (index < 0)
1446 index, &args))
1458 * @index: index of a phandle to parse out
1486 const char *cells_name, int index,
1491 if (index < 0)
1499 cell_count, index, out_args);
1508 * @index: index of a phandle to parse out
1548 int index, struct of_phandle_args *out_args)
1561 if (index < 0)
1581 ret = __of_parse_phandle_with_args(np, list_name, cells_name, -1, index,
1693 * @index: index of a phandle to parse out
1720 int index, struct of_phandle_args *out_args)
1722 if (index < 0)
1725 index, out_args);
2142 * @name: Name to use for preferred console without index. ex. "ttyS"
2143 * @index: Index to use for preferred console.
2150 bool of_console_check(struct device_node *dn, char *name, int index)
2159 return !add_preferred_console(name, index, (char *)of_stdout_options);
2197 * @cpu: cpu number(logical index) for which the last cache level is needed