Home
last modified time | relevance | path

Searched refs:mtmsr (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-14.2/sys/powerpc/powerpc/
H A Dfpu.c60 mtmsr(msr | PSL_FP | PSL_VSX); in save_fpu_int()
62 mtmsr(msr | PSL_FP); in save_fpu_int()
98 mtmsr(msr); in save_fpu_int()
142 mtmsr(msr | PSL_FP); in enable_fpu()
179 mtmsr(msr); in enable_fpu()
220 mtmsr(msr | PSL_FP); in cleanup_fpscr()
224 mtmsr(msr); in cleanup_fpscr()
240 mtmsr(msr | PSL_FP); in get_fpu_exception()
245 mtmsr(msr); in get_fpu_exception()
273 mtmsr(msr); in enable_fpu_kern()
[all …]
H A Daltivec.c58 mtmsr(msr | PSL_VEC); in save_vec_int()
81 mtmsr(msr); in save_vec_int()
120 mtmsr(msr | PSL_VEC); in enable_vec()
143 mtmsr(msr); in enable_vec()
178 mtmsr(mfmsr() | PSL_VEC); in enable_vec_kern()
194 mtmsr(msr); in disable_vec()
H A Dcpu.c385 mtmsr(msr & ~PSL_EE); in cpu_est_clockrate()
405 mtmsr(msr); in cpu_est_clockrate()
423 mtmsr(msr); in cpu_est_clockrate()
783 mtmsr(msr | PSL_POW); in cpu_idle_60x()
810 mtmsr(msr | PSL_WE); in cpu_idle_booke()
844 mtmsr(msr & ~PSL_EE); in cpu_idle_power9()
854 mtmsr(msr); in cpu_idle_power9()
H A Dautoconf.c90 mtmsr(mfmsr() | PSL_EE); in configure_final()
H A Dinterrupt.c136 mtmsr(mfmsr() | ee); in powerpc_interrupt()
H A Dtrap.c976 mtmsr(msr | PSL_VSX); in normalize_inputs()
984 mtmsr(msr); in normalize_inputs()
/freebsd-14.2/sys/powerpc/cpufreq/
H A Dpcr.c114 mtmsr(msr & ~PSL_EE); isync(); in write_scom()
127 mtmsr(msr); isync(); in write_scom()
137 mtmsr(msr & ~PSL_EE); isync(); in read_scom()
147 mtmsr(msr); isync(); in read_scom()
282 mtmsr(msr & ~PSL_EE); isync(); in pcr_set()
300 mtmsr(msr); isync(); in pcr_set()
/freebsd-14.2/sys/powerpc/ofw/
H A Dofwcall32.S85 mtmsr %r5
114 mtmsr %r6
152 mtmsr %r6
169 mtmsr %r6
/freebsd-14.2/stand/uboot/arch/powerpc/
H A Dstart.S47 mtmsr %r11
67 mtmsr %r11
77 mtmsr %r11
/freebsd-14.2/sys/powerpc/booke/
H A Dspe.c66 mtmsr(msr | PSL_VEC); in save_vec_int()
92 mtmsr(msr); in save_vec_int()
131 mtmsr(msr | PSL_VEC); in enable_vec()
155 mtmsr(msr); in enable_vec()
513 mtmsr(msr | PSL_VEC); in spe_handle_fpdata()
578 mtmsr(msr | PSL_VEC); in spe_handle_fpdata()
593 mtmsr(msr | PSL_VEC); in spe_handle_fpdata()
672 mtmsr(msr); in spe_handle_fpdata()
H A Dmp_cpudep.c76 mtmsr(msr); in cpudep_ap_bootstrap()
H A Dbooke_machdep.c425 mtmsr(mfmsr() & ~(PSL_CE | PSL_EE | PSL_ME | PSL_DE)); in cpu_halt()
/freebsd-14.2/sys/powerpc/aim/
H A Daim_machdep.c184 mtmsr(mfmsr() & ~(PSL_IR | PSL_DR)); in aim_early_init()
306 mtmsr((msr & ~(PSL_IR | PSL_DR)) | PSL_RI); in aim_cpu_init()
465 mtmsr(msr); in aim_cpu_init()
655 mtmsr(msr & ~(PSL_EE | PSL_DR)); in flush_disable_caches()
743 mtmsr(msr); in flush_disable_caches()
791 mtmsr(msr); in mpc745x_sleep()
805 mtmsr(saved_msr); in mpc745x_sleep()
H A Dtrap_subr32.S102 mtmsr %r30; /* stack can now be accessed */ \
165 mtmsr %r2; \
219 mtmsr %r2; \
451 mtmsr %r0 /* flip back to the native gprs */
587 mtmsr %r0 /* flip back to the native gprs */
795 mtmsr %r3
809 mtmsr %r3
837 mtmsr %r3 /* disable interrupts */
H A Dtrap_subr64.S145 mtmsr %r30; /* stack can now be accessed */ \
208 mtmsr %r2; \
261 mtmsr %r3; \
421 mtmsr %r3
865 mtmsr %r3
878 mtmsr %r3
900 mtmsr %r3 /* disable interrupts */
H A Dmoea64_native.c243 #define DISABLE_TRANS(msr) msr = mfmsr(); mtmsr(msr & ~PSL_DR)
244 #define ENABLE_TRANS(msr) mtmsr(msr)
513 mtmsr(mfmsr() & ~PSL_DR & ~PSL_IR); in moea64_cpu_bootstrap_native()
H A Dlocore64.S229 mtmsr %r14
H A Dmp_cpudep.c126 mtmsr(msr); in cpudep_ap_bootstrap()
/freebsd-14.2/sys/powerpc/include/
H A Dcpufunc.h55 mtmsr(register_t value) in mtmsr() function
238 mtmsr(msr & ~PSL_EE); in intr_disable()
246 mtmsr(msr); in intr_restore()
/freebsd-14.2/sys/cddl/dev/dtrace/powerpc/
H A Ddtrace_asm.S75 mtmsr %r0
83 mtmsr %r3
/freebsd-14.2/sys/powerpc/pseries/
H A Dplatform_chrp.c588 mtmsr(msr & ~PSL_EE); in phyp_cpu_idle()
590 mtmsr(msr); in phyp_cpu_idle()
595 mtmsr(msr); in phyp_cpu_idle()
/freebsd-14.2/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c523 mtmsr(mfmsr() & ~PSL_DE); in mpc85xx_reset()
530 mtmsr(mfmsr() | PSL_DE); in mpc85xx_reset()
/freebsd-14.2/sys/powerpc/powernv/
H A Dplatform_powernv.c167 mtmsr(msr & ~(PSL_DR | PSL_IR)); in powernv_attach()
183 mtmsr(msr); in powernv_attach()
/freebsd-14.2/sys/powerpc/ps3/
H A Dmmu_ps3.c132 mtmsr(mfmsr() & ~PSL_DR & ~PSL_IR); in mps3_cpu_bootstrap()
/freebsd-14.2/sys/dev/hwpmc/
H A Dhwpmc_e500.c357 mtmsr(mfmsr() & ~PSL_PMM); in e500_pcpu_fini()

12