Lines Matching refs:psscr

608 static unsigned long power9_idle_stop(unsigned long psscr)  in power9_idle_stop()  argument
621 if (!(psscr & (PSSCR_EC|PSSCR_ESL))) { in power9_idle_stop()
628 srr1 = isa300_idle_stop_noloss(psscr); /* go idle */ in power9_idle_stop()
644 local_paca->requested_psscr = psscr; in power9_idle_stop()
663 if ((psscr & PSSCR_RL_MASK) >= deep_spr_loss_state) { in power9_idle_stop()
693 srr1 = isa300_idle_stop_mayloss(psscr); /* go idle */ in power9_idle_stop()
699 psscr = mfspr(SPRN_PSSCR); in power9_idle_stop()
743 pls = (psscr & PSSCR_PLS) >> PSSCR_PLS_SHIFT; in power9_idle_stop()
893 static unsigned long power10_idle_stop(unsigned long psscr) in power10_idle_stop() argument
904 if (!(psscr & (PSSCR_EC|PSSCR_ESL))) { in power10_idle_stop()
911 srr1 = isa300_idle_stop_noloss(psscr); /* go idle */ in power10_idle_stop()
925 if ((psscr & PSSCR_RL_MASK) >= deep_spr_loss_state) { in power10_idle_stop()
933 srr1 = isa300_idle_stop_mayloss(psscr); /* go idle */ in power10_idle_stop()
935 psscr = mfspr(SPRN_PSSCR); in power10_idle_stop()
948 pls = (psscr & PSSCR_PLS) >> PSSCR_PLS_SHIFT; in power10_idle_stop()
993 static unsigned long arch300_offline_stop(unsigned long psscr) in arch300_offline_stop() argument
998 srr1 = power10_idle_stop(psscr); in arch300_offline_stop()
1000 srr1 = power9_idle_stop(psscr); in arch300_offline_stop()
1009 unsigned long psscr; in arch300_idle_type() local
1015 psscr = mfspr(SPRN_PSSCR); in arch300_idle_type()
1016 psscr = (psscr & ~stop_psscr_mask) | stop_psscr_val; in arch300_idle_type()
1020 srr1 = power10_idle_stop(psscr); in arch300_idle_type()
1022 srr1 = power9_idle_stop(psscr); in arch300_idle_type()
1066 unsigned long psscr; in pnv_cpu_offline() local
1068 psscr = mfspr(SPRN_PSSCR); in pnv_cpu_offline()
1069 psscr = (psscr & ~pnv_deepest_stop_psscr_mask) | in pnv_cpu_offline()
1071 srr1 = arch300_offline_stop(psscr); in pnv_cpu_offline()