Home
last modified time | relevance | path

Searched refs:WRITE_SPECIALREG (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/arm64/vmm/
H A Dvmm_hyp.c278 WRITE_SPECIALREG(hcr_el2, hypctx->hcr_el2); in vmm_hyp_reg_restore()
283 WRITE_SPECIALREG(MRS_REG_ALT_NAME(HCRX_EL2), hypctx->hcrx_el2); in vmm_hyp_reg_restore()
288 WRITE_SPECIALREG(sp_el0, hypctx->sp_el0); in vmm_hyp_reg_restore()
289 WRITE_SPECIALREG(tpidr_el0, hypctx->tpidr_el0); in vmm_hyp_reg_restore()
290 WRITE_SPECIALREG(tpidrro_el0, hypctx->tpidrro_el0); in vmm_hyp_reg_restore()
291 WRITE_SPECIALREG(tpidr_el1, hypctx->tpidr_el1); in vmm_hyp_reg_restore()
293 WRITE_SPECIALREG(actlr_el1, hypctx->actlr_el1); in vmm_hyp_reg_restore()
294 WRITE_SPECIALREG(csselr_el1, hypctx->csselr_el1); in vmm_hyp_reg_restore()
295 WRITE_SPECIALREG(mdccint_el1, hypctx->mdccint_el1); in vmm_hyp_reg_restore()
296 WRITE_SPECIALREG(mdscr_el1, hypctx->mdscr_el1); in vmm_hyp_reg_restore()
[all …]
H A Dvmm_arm64.c153 WRITE_SPECIALREG(vtcr_el2, el2_regs->vtcr_el2); in arm_setup_vectors()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_arm64.c66 WRITE_SPECIALREG(pmintenset_el1, reg); in arm64_interrupt_enable()
80 WRITE_SPECIALREG(pmintenclr_el1, reg); in arm64_interrupt_disable()
94 WRITE_SPECIALREG(pmcntenset_el0, reg); in arm64_counter_enable()
108 WRITE_SPECIALREG(pmcntenclr_el0, reg); in arm64_counter_disable()
130 WRITE_SPECIALREG(pmcr_el0, reg); in arm64_pmcr_write()
144 WRITE_SPECIALREG(pmselr_el0, pmc); in arm64_pmcn_read()
157 WRITE_SPECIALREG(pmselr_el0, pmc); in arm64_pmcn_write()
158 WRITE_SPECIALREG(pmxevcntr_el0, reg); in arm64_pmcn_write()
244 WRITE_SPECIALREG(pmovsclr_el0, reg); in arm64_read_pmc()
323 WRITE_SPECIALREG(pmselr_el
[all...]
/freebsd/sys/arm64/arm64/
H A Ddebug_monitor.c225 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) | in kdb_cpu_clear_singlestep()
234 WRITE_SPECIALREG(mdscr_el1, in kdb_cpu_clear_singlestep()
249 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) & in kdb_cpu_set_watchpoint()
254 WRITE_SPECIALREG(mdscr_el1, in kdb_cpu_set_watchpoint()
258 WRITE_SPECIALREG(mdscr_el1, in kdb_cpu_set_watchpoint()
625 WRITE_SPECIALREG(mdscr_el1, mdscr);
686 WRITE_SPECIALREG(mdscr_el1,
719 WRITE_SPECIALREG(mdscr_el1,
H A Dvm_machdep.c241 WRITE_SPECIALREG(tpidrro_el0, tls_base); in cpu_set_user_tls()
242 WRITE_SPECIALREG(tpidr_el0, tls_base); in cpu_set_user_tls()
247 WRITE_SPECIALREG(tpidr_el0, tls_base); in cpu_set_user_tls()
H A Dfreebsd32_machdep.c84 WRITE_SPECIALREG(tpidr_el0, uap->parms); in freebsd32_sysarch()
85 WRITE_SPECIALREG(tpidrro_el0, uap->parms); in freebsd32_sysarch()
238 WRITE_SPECIALREG(mdscr_el1, in set_mcontext32()
447 WRITE_SPECIALREG(mdscr_el1, in freebsd32_sendsig()
H A Dptrauth.c229 WRITE_SPECIALREG(sctlr_el1, sctlr); in ptrauth_start()
265 WRITE_SPECIALREG(sctlr_el1, sctlr); in ptrauth_mp_start()
H A Dexec_machdep.c138 WRITE_SPECIALREG(mdscr_el1, in set_regs()
414 WRITE_SPECIALREG(tpidrro_el0, 0); in exec_setregs()
415 WRITE_SPECIALREG(tpidr_el0, 0); in exec_setregs()
505 WRITE_SPECIALREG(mdscr_el1, in set_mcontext()
816 WRITE_SPECIALREG(mdscr_el1, in sendsig()
H A Dvfp.c131 WRITE_SPECIALREG(cpacr_el1, cpacr); in vfp_enable()
145 WRITE_SPECIALREG(cpacr_el1, cpacr); in sve_enable()
159 WRITE_SPECIALREG(cpacr_el1, cpacr); in vfp_disable()
876 WRITE_SPECIALREG(ZCR_EL1_REG, ZCR_LEN_MASK); in sve_pcpu_read()
H A Dgic_v3_reg.h505 WRITE_SPECIALREG(icc_ ##reg ##_el1, val); \
H A Dmachdep.c198 WRITE_SPECIALREG(sctlr_el1, in pan_enable()
907 WRITE_SPECIALREG(oslar_el1, 0); in dbg_init()
H A Dtrap.c729 WRITE_SPECIALREG(mdscr_el1, in do_el0_sync()
H A Didentcpu.c2332 WRITE_SPECIALREG(sctlr_el1, in user_ctr_enable()
2833 WRITE_SPECIALREG(tcr_el1, tcr); in tcr_set_e0pd1()
3284 WRITE_SPECIALREG(csselr_el1, in identify_cpu()
3291 WRITE_SPECIALREG(csselr_el1, CSSELR_Level(i)); in identify_cpu()
H A Dgic_v3.c1270 WRITE_SPECIALREG(icc_sre_el1, sre); in gic_v3_cpu_enable_sre()
H A Dpmap.c1679 WRITE_SPECIALREG(tcr_el1, tcr); in pmap_dbm_enable()
8911 WRITE_SPECIALREG(ttbr0_el1, ttbr0); in pmap_set_cnp()
8912 WRITE_SPECIALREG(ttbr1_el1, ttbr1); in pmap_set_cnp()
/freebsd/sys/arm64/include/
H A Dcpufunc.h82 WRITE_SPECIALREG(daif, s); in intr_restore()
H A Darmreg.h75 #define WRITE_SPECIALREG(reg, _val) \ macro
/freebsd/sys/arm64/apple/
H A Dapple_aic.c611 WRITE_SPECIALREG(AIC_IPI_SR_EL1, AIC_IPI_SR_EL1_PENDING); in apple_aic_fiq()
704 WRITE_SPECIALREG(AIC_IPI_LOCAL_RR_EL1, in apple_aic_ipi_send()
708 WRITE_SPECIALREG(AIC_IPI_GLOBAL_RR_EL1, in apple_aic_ipi_send()
/freebsd/sys/arm64/vmm/io/
H A Dvtimer.c108 WRITE_SPECIALREG(cntv_ctl_el0, cntv_ctl); in vtimer_virtual_timer_intr()
225 WRITE_SPECIALREG(cntv_ctl_el0, cntv_ctl); in vtimer_vmcleanup()
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.c177 WRITE_SPECIALREG(tpidrro_el0, 0); in linux_exec_setregs()
178 WRITE_SPECIALREG(tpidr_el0, 0); in linux_exec_setregs()
/freebsd/sys/arm/arm/
H A Dgeneric_timer.c184 #define set_el0(x, val) WRITE_SPECIALREG(x ##_el0, val)
185 #define set_el1(x, val) WRITE_SPECIALREG(x ##_el1, val)