Lines Matching defs:thread
195 * 2. Sendi IPIs to all the cores which have at least one online thread
199 * offlined, as last thread of the core entering fastsleep or deeper
259 unsigned long thread = 1UL << cpu_thread_in_core(cpu);
266 BUG_ON(s & thread);
269 new = s | thread;
298 /* per thread */
307 /* per thread SPRs that get lost in shallow states */
319 unsigned long thread = 1UL << cpu_thread_in_core(cpu);
330 BUG_ON(!(*state & thread));
331 *state &= ~thread;
414 *state &= ~(thread << PNV_CORE_IDLE_THREAD_WINKLE_BITS_SHIFT);
430 if (*state & (thread << PNV_CORE_IDLE_THREAD_WINKLE_BITS_SHIFT)) {
431 *state &= ~(thread << PNV_CORE_IDLE_THREAD_WINKLE_BITS_SHIFT);
437 WARN_ON(*state & thread);
482 /* Per-thread SPRs */
525 /* The reason is that another thread can switch the */
528 /* that would potentially cause this thread to start */
586 /* per thread */
601 /* per thread SPRs that get lost in shallow states */
779 /* Per-thread SPRs */
809 * This is used in working around bugs in thread reconfiguration
820 int awake_threads = 1; /* this thread is awake */
886 * idle thread doesn't use FP or VEC
981 /* XXX: restore per-thread SPRs here */
1104 * lowest power-saving state the thread entered since stop instruction was