Lines Matching defs:thread
10 * @thread: The local thread number to get the hardware ID for.
14 u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread)
21 if (!cell || !ac || ((sizeof(*cell) * ac * (thread + 1)) > len))
24 cell += ac * thread;
31 * @cpu: logical cpu index of a core/thread
32 * @phys_id: physical identifier of a core/thread
40 * correspond to the same core/thread, false otherwise.
49 * core/thread corresponding to the logical cpu 'cpu'. If 'thread' is not
50 * NULL, local thread number within the core is returned in it.
53 const char *prop_name, int cpu, unsigned int *thread)
69 if (thread)
70 *thread = tid;
81 * else false. If 'thread' is non-NULL, the local thread number within the
85 int cpu, unsigned int *thread)
88 * for thread ids on PowerPC. If it doesn't exist fallback to
94 cpu, thread))
97 return __of_find_n_match_cpu_property(cpun, "reg", cpu, thread);
104 * @thread: if not NULL, local thread number within the physical core is
119 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread)
124 if (arch_find_n_match_cpu_physical_id(cpun, cpu, thread))