Home
last modified time | relevance | path

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

12

/freebsd/sys/powerpc/powerpc/
H A Dfpu.c59 mtmsr(msr | PSL_FP | PSL_VSX); in save_fpu_int()
61 mtmsr(msr | PSL_FP); in save_fpu_int()
97 mtmsr(msr); in save_fpu_int()
139 mtmsr(msr | PSL_FP | PSL_VSX); in enable_fpu()
141 mtmsr(msr | PSL_FP); in enable_fpu()
178 mtmsr(msr); in enable_fpu()
219 mtmsr(msr | PSL_FP); in cleanup_fpscr()
223 mtmsr(msr); in cleanup_fpscr()
239 mtmsr(msr | PSL_FP); in get_fpu_exception()
244 mtmsr(msr); in get_fpu_exception()
[all …]
H A Daltivec.c57 mtmsr(msr | PSL_VEC); in save_vec_int()
80 mtmsr(msr); in save_vec_int()
119 mtmsr(msr | PSL_VEC); in enable_vec()
142 mtmsr(msr); in enable_vec()
177 mtmsr(mfmsr() | PSL_VEC); in enable_vec_kern()
193 mtmsr(msr); in disable_vec()
H A Dcpu.c388 mtmsr(msr & ~PSL_EE); in cpu_est_clockrate()
408 mtmsr(msr); in cpu_est_clockrate()
426 mtmsr(msr); in cpu_est_clockrate()
786 mtmsr(msr | PSL_POW); in cpu_idle_60x()
813 mtmsr(msr | PSL_WE); in cpu_idle_booke()
H A Dautoconf.c89 mtmsr(mfmsr() | PSL_EE); in configure_final()
H A Dinterrupt.c136 mtmsr(mfmsr() | ee); in powerpc_interrupt()
H A Dtrap.c975 mtmsr(msr | PSL_VSX); in normalize_inputs()
983 mtmsr(msr); in normalize_inputs()
/freebsd/sys/powerpc/cpufreq/
H A Dpcr.c113 mtmsr(msr & ~PSL_EE); isync(); in write_scom()
126 mtmsr(msr); isync(); in write_scom()
136 mtmsr(msr & ~PSL_EE); isync(); in read_scom()
146 mtmsr(msr); isync(); in read_scom()
281 mtmsr(msr & ~PSL_EE); isync(); in pcr_set()
299 mtmsr(msr); isync(); in pcr_set()
/freebsd/sys/powerpc/ofw/
H A Dofwcall32.S85 mtmsr %r5
114 mtmsr %r6
152 mtmsr %r6
169 mtmsr %r6
/freebsd/stand/uboot/arch/powerpc/
H A Dstart.S47 mtmsr %r11
67 mtmsr %r11
77 mtmsr %r11
/freebsd/sys/powerpc/booke/
H A Dspe.c65 mtmsr(msr | PSL_VEC); in save_vec_int()
91 mtmsr(msr); in save_vec_int()
130 mtmsr(msr | PSL_VEC); in enable_vec()
154 mtmsr(msr); in enable_vec()
512 mtmsr(msr | PSL_VEC); in spe_handle_fpdata()
577 mtmsr(msr | PSL_VEC); in spe_handle_fpdata()
592 mtmsr(msr | PSL_VEC); in spe_handle_fpdata()
671 mtmsr(msr); in spe_handle_fpdata()
H A Dmp_cpudep.c75 mtmsr(msr); in cpudep_ap_bootstrap()
H A Dbooke_machdep.c424 mtmsr(mfmsr() & ~(PSL_CE | PSL_EE | PSL_ME | PSL_DE)); in cpu_halt()
/freebsd/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.c125 mtmsr(msr); in cpudep_ap_bootstrap()
/freebsd/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/sys/cddl/dev/dtrace/powerpc/
H A Ddtrace_asm.S75 mtmsr %r0
83 mtmsr %r3
/freebsd/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/sys/powerpc/powernv/
H A Dplatform_powernv.c166 mtmsr(msr & ~(PSL_DR | PSL_IR)); in powernv_attach()
182 mtmsr(msr); in powernv_attach()
/freebsd/sys/powerpc/mpc85xx/
H A Dplatform_mpc85xx.c523 mtmsr(mfmsr() & ~PSL_DE); in mpc85xx_reset()
530 mtmsr(mfmsr() | PSL_DE); in mpc85xx_reset()
/freebsd/sys/powerpc/ps3/
H A Dmmu_ps3.c131 mtmsr(mfmsr() & ~PSL_DR & ~PSL_IR); in mps3_cpu_bootstrap()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_e500.c356 mtmsr(mfmsr() & ~PSL_PMM); in e500_pcpu_fini()

12