Home
last modified time | relevance | path

Searched refs:sparc_wrpr (Results 1 – 5 of 5) sorted by relevance

/openbsd/sys/arch/sparc64/include/
H A Dpsl.h240 sparc_wrpr(pstate, newpstate, 0); in setpstate()
254 sparc_wrpr(cwp, newcwp, 0); in setcwp()
271 sparc_wrpr(pstate, s & ~PSTATE_IE, 0); in intr_disable()
279 sparc_wrpr(pstate, s, 0); in intr_restore()
315 sparc_wrpr(pil, newpil, 0); in _splraise()
322 sparc_wrpr(pil, newpil, 0); in _splx()
H A Dctlreg.h517 #define sparc_wrpr(name, val, xor) \ macro
/openbsd/sys/arch/sparc64/sparc64/
H A Dcpu.c746 sparc_wrpr(pstate, sparc_rdpr(pstate) & ~PSTATE_IE, 0); in cpu_idle_enter()
756 sparc_wrpr(pstate, sparc_rdpr(pstate) | PSTATE_IE, 0); in cpu_idle_cycle()
757 sparc_wrpr(pstate, sparc_rdpr(pstate) & ~PSTATE_IE, 0); in cpu_idle_cycle()
780 sparc_wrpr(pstate, sparc_rdpr(pstate) | PSTATE_IE, 0); in cpu_idle_leave()
H A Dintr.c112 sparc_wrpr(pil, ih->ih_pil, 0); in intr_list_handler()
125 sparc_wrpr(pil, ipl, 0); in intr_list_handler()
/openbsd/sys/arch/sparc64/dev/
H A Dcreator.c797 sparc_wrpr(pstate, pstate | PSTATE_PEF, 0); in creator_load_sram()
832 sparc_wrpr(pstate, pstate, 0); in creator_load_sram()