Home
last modified time | relevance | path

Searched refs:mfmsr (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/sys/powerpc/aim/
H A Daim_machdep.c184 mtmsr(mfmsr() & ~(PSL_IR | PSL_DR)); in aim_early_init()
196 if (mfmsr() & PSL_DR) { in aim_early_init()
198 mdp_cookie, DMAP_BASE_ADDRESS, mfmsr()); in aim_early_init()
201 DMAP_BASE_ADDRESS, mfmsr()); in aim_early_init()
256 if (mfmsr() & PSL_HV) in aim_cpu_init()
305 msr = mfmsr(); in aim_cpu_init()
623 if (mfmsr() & PSL_DR) in pmap_early_io_map()
653 msr = mfmsr(); in flush_disable_caches()
765 saved_msr = mfmsr(); in mpc745x_sleep()
786 msr = mfmsr() | PSL_POW; in mpc745x_sleep()
H A Dmp_cpudep.c93 if (mfmsr() & PSL_HV) { in cpudep_ap_early_bootstrap()
274 if (mfmsr() & PSL_HV) { in cpudep_save_config()
357 if (mfmsr() & PSL_HV) { in cpudep_ap_setup()
409 if (mfmsr() & PSL_HV) { in cpudep_ap_setup()
418 if (!(mfmsr() & PSL_HV)) /* Rely on HV to have set things up */ in cpudep_ap_setup()
H A Dtrap_subr32.S100 mfmsr %r30; \
163 mfmsr %r2; \
217 mfmsr %r2; \
236 mfmsr %r2; \
288 mfmsr %r31
448 mfmsr %r0 /* get msr */
584 mfmsr %r0 /* get msr */
736 mfmsr %r31
793 mfmsr %r3
807 mfmsr %r3 /* re-enable interrupts */
[all …]
H A Dlocore64.S142 mfmsr %r20
226 mfmsr %r14
H A Dtrap_subr64.S143 mfmsr %r30; \
206 mfmsr %r2; \
259 mfmsr %r3; \
352 2: mfmsr %r9
419 mfmsr %r3
863 mfmsr %r3
876 mfmsr %r3 /* re-enable interrupts */
897 mfmsr %r3
/freebsd/sys/powerpc/powerpc/
H A Daltivec.c56 msr = mfmsr(); in save_vec_int()
118 msr = mfmsr(); in enable_vec()
177 mtmsr(mfmsr() | PSL_VEC); in enable_vec_kern()
191 msr = mfmsr() & ~PSL_VEC; in disable_vec()
H A Dfpu.c57 msr = mfmsr(); in save_fpu_int()
137 msr = mfmsr(); in enable_fpu()
218 msr = mfmsr(); in cleanup_fpscr()
238 msr = mfmsr(); in get_fpu_exception()
267 msr = mfmsr() | PSL_FP; in enable_fpu_kern()
286 msr = mfmsr() & ~(PSL_FP | PSL_VSX); in disable_fpu()
H A Dcpu.c384 msr = mfmsr(); in cpu_est_clockrate()
685 if ((mfmsr() & PSL_HV) == 0) in cpu_powerx_setup()
728 if ((mfmsr() & PSL_EE) != PSL_EE) { in cpu_idle()
764 msr = mfmsr(); in cpu_idle_60x()
807 msr = mfmsr(); in cpu_idle_booke()
841 msr = mfmsr(); in cpu_idle_power9()
H A Dautoconf.c89 mtmsr(mfmsr() | PSL_EE); in configure_final()
H A Dinterrupt.c136 mtmsr(mfmsr() | ee); in powerpc_interrupt()
/freebsd/stand/uboot/arch/powerpc/
H A Dstart.S45 mfmsr %r11
65 mfmsr %r11
75 mfmsr %r11
/freebsd/stand/kboot/kboot/arch/powerpc64/
H A Dkerneltramp.S54 mfmsr %r10
86 mfmsr %r10
/freebsd/sys/powerpc/pseries/
H A Dxics.c244 if (mfmsr() & PSL_HV) { in xicp_attach()
373 if ((mfmsr() & PSL_HV) && !sc->xics_emu) { in xicp_dispatch()
481 if (mfmsr() & PSL_HV) { in xicp_eoi()
500 if (mfmsr() & PSL_HV) { in xicp_ipi()
563 if (mfmsr() & PSL_HV) { in xicp_smp_cpu_startup()
H A Dplatform_chrp.c142 if (!(mfmsr() & PSL_HV)) { in chrp_attach()
586 msr = mfmsr(); in phyp_cpu_idle()
601 if (!(mfmsr() & PSL_HV)) { in chrp_smp_ap_init()
/freebsd/sys/powerpc/cpufreq/
H A Dpcr.c112 msr = mfmsr(); in write_scom()
135 msr = mfmsr(); in read_scom()
280 msr = mfmsr(); in pcr_set()
/freebsd/sys/powerpc/ofw/
H A Dofwcall32.S65 mfmsr %r6
141 mfmsr %r0
H A Dofwcall64.S101 mfmsr %r6
261 mfmsr %r6
/freebsd/stand/powerpc/ofw/
H A Dmain.c52 mfmsr(void) in mfmsr() function
217 if (!(mfmsr() & PSL_DR)) in main()
H A DtrampolineLE.S39 mfmsr %r30
/freebsd/sys/powerpc/include/
H A Dcpufunc.h71 mfmsr(void) in mfmsr() function
237 msr = mfmsr(); in intr_disable()
/freebsd/sys/powerpc/powernv/
H A Dopal.c58 opal_msr = mfmsr() & ~(PSL_EE | PSL_IR | PSL_DR | PSL_SE | PSL_LE); in opal_check()
H A Dopalcall.S63 mfmsr %r31
/freebsd/sys/powerpc/booke/
H A Dspe.c64 msr = mfmsr(); in save_vec_int()
129 msr = mfmsr(); in enable_vec()
492 msr = mfmsr(); in spe_handle_fpdata()
/freebsd/sys/cddl/dev/dtrace/powerpc/
H A Ddtrace_asm.S67 mfmsr %r3
/freebsd/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c523 mtmsr(mfmsr() & ~PSL_DE); in mpc85xx_reset()
530 mtmsr(mfmsr() | PSL_DE); in mpc85xx_reset()

12