Lines Matching defs:thread
192 * 2. Sendi IPIs to all the cores which have at least one online thread
196 * offlined, as last thread of the core entering fastsleep or deeper
259 unsigned long thread = 1UL << cpu_thread_in_core(cpu);
265 BUG_ON(s & thread);
268 new = (s | thread) & ~PNV_CORE_IDLE_LOCK_BIT;
296 /* per thread */
305 /* per thread SPRs that get lost in shallow states */
317 unsigned long thread = 1UL << cpu_thread_in_core(cpu);
328 BUG_ON(!(*state & thread));
329 *state &= ~thread;
413 *state &= ~(thread << PNV_CORE_IDLE_THREAD_WINKLE_BITS_SHIFT);
429 if (*state & (thread << PNV_CORE_IDLE_THREAD_WINKLE_BITS_SHIFT)) {
430 *state &= ~(thread << PNV_CORE_IDLE_THREAD_WINKLE_BITS_SHIFT);
436 WARN_ON(*state & thread);
481 /* Per-thread SPRs */
522 /* The reason is that another thread can switch the */
525 /* that would potentially cause this thread to start */
583 /* per thread */
598 /* per thread SPRs that get lost in shallow states */
779 /* Per-thread SPRs */
810 * This is used in working around bugs in thread reconfiguration
821 int awake_threads = 1; /* this thread is awake */
887 * idle thread doesn't use FP or VEC
984 /* XXX: restore per-thread SPRs here */
1012 * is independent per-thread. Some steppings share radix/hash mode
1138 * lowest power-saving state the thread entered since stop instruction was