Lines Matching refs:thr
819 int cpu, cpu0, thr; in pnv_power9_force_smt4_catch() local
826 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
827 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_catch()
828 atomic_inc(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_catch()
832 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
833 if (!paca_ptrs[cpu0+thr]->requested_psscr) in pnv_power9_force_smt4_catch()
836 poke_threads |= (1 << thr); in pnv_power9_force_smt4_catch()
842 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
843 if (poke_threads & (1 << thr)) { in pnv_power9_force_smt4_catch()
846 paca_ptrs[cpu0+thr]->hw_cpu_id); in pnv_power9_force_smt4_catch()
851 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_catch()
852 if ((poke_threads & (1 << thr)) && in pnv_power9_force_smt4_catch()
853 !paca_ptrs[cpu0+thr]->requested_psscr) { in pnv_power9_force_smt4_catch()
855 poke_threads &= ~(1 << thr); in pnv_power9_force_smt4_catch()
865 int cpu, cpu0, thr; in pnv_power9_force_smt4_release() local
871 for (thr = 0; thr < threads_per_core; ++thr) { in pnv_power9_force_smt4_release()
872 if (cpu != cpu0 + thr) in pnv_power9_force_smt4_release()
873 atomic_dec(&paca_ptrs[cpu0+thr]->dont_stop); in pnv_power9_force_smt4_release()