Lines Matching refs:thread
292 * @cpu: logical cpu index of a core/thread
293 * @phys_id: physical identifier of a core/thread
301 * correspond to the same core/thread, false otherwise.
310 * core/thread corresponding to the logical cpu 'cpu'. If 'thread' is not
311 * NULL, local thread number within the core is returned in it.
314 const char *prop_name, int cpu, unsigned int *thread)
330 if (thread)
331 *thread = tid;
342 * else false. If 'thread' is non-NULL, the local thread number within the
346 int cpu, unsigned int *thread)
349 * for thread ids on PowerPC. If it doesn't exist fallback to
355 cpu, thread))
358 return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread);
365 * @thread: if not NULL, local thread number within the physical core is
380 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread)
385 if (arch_find_n_match_cpu_physical_id(cpun, cpu, thread))