Lines Matching refs:thr
820 int cpu, cpu0, thr; in pnv_power9_force_smt4_catch() local
827 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
828 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_catch()
829 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_catch()
833 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
834 if (!paca_ptrs[cpu0+thr]->requested_psscr) in pnv_power9_force_smt4_catch()
837 poke_threads |= (1 << thr); in pnv_power9_force_smt4_catch()
843 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
844 if (poke_threads & (1 << thr)) { in pnv_power9_force_smt4_catch()
847 paca_ptrs[cpu0+thr]->hw_cpu_id); in pnv_power9_force_smt4_catch()
852 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
853 if ((poke_threads & (1 << thr)) && in pnv_power9_force_smt4_catch()
854 !paca_ptrs[cpu0+thr]->requested_psscr) { in pnv_power9_force_smt4_catch()
856 poke_threads &= ~(1 << thr); in pnv_power9_force_smt4_catch()
866 int cpu, cpu0, thr; in pnv_power9_force_smt4_release() local
872 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_release()
873 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_release()
874 atomic_dec(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_release()