Lines Matching refs:index
325 int index = 0, score = 0;
331 cp = of_prop_next_string(prop, cp), index++) {
333 score = INT_MAX/2 - (index << 2);
1244 int cell_count, int index,
1250 if (index < 0)
1258 * index matches, then fill the out_args structure and return,
1262 if (cur_index == index) {
1287 * -ENOENT : index is for empty phandle
1302 * @index: index of a phandle to parse out
1342 int index, struct of_phandle_args *out_args)
1355 if (index < 0)
1375 ret = __of_parse_phandle_with_args(np, list_name, cells_name, -1, index,
1859 * @name: Name to use for preferred console without index. ex. "ttyS"
1860 * @index: Index to use for preferred console.
1867 bool of_console_check(struct device_node *dn, char *name, int index)
1876 return !add_preferred_console(name, index, (char *)of_stdout_options);
1914 * @cpu: cpu number(logical index) for which the last cache level is needed