Home
last modified time | relevance | path

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

/freebsd-14.2/sys/arm64/arm64/
H A Ddebug_monitor.c193 KASSERT((READ_SPECIALREG(daif) & PSR_D) == PSR_D, in kdb_cpu_set_singlestep()
206 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) | in kdb_cpu_set_singlestep()
216 READ_SPECIALREG(mdscr_el1) & ~MDSCR_MDE); in kdb_cpu_set_singlestep()
224 KASSERT((READ_SPECIALREG(daif) & PSR_D) == PSR_D, in kdb_cpu_clear_singlestep()
230 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) & in kdb_cpu_clear_singlestep()
236 READ_SPECIALREG(mdscr_el1) | MDSCR_MDE); in kdb_cpu_clear_singlestep()
240 READ_SPECIALREG(mdscr_el1) | MDSCR_KDE); in kdb_cpu_clear_singlestep()
513 mdscr = READ_SPECIALREG(mdscr_el1); in dbg_register_sync()
532 aa64dfr0 = READ_SPECIALREG(id_aa64dfr0_el1); in dbg_monitor_init()
583 READ_SPECIALREG(mdscr_el1) & ~(MDSCR_MDE | MDSCR_KDE)); in dbg_monitor_enter()
[all …]
H A Didentcpu.c2009 value = READ_SPECIALREG(midr_el1); in user_mrs_handler()
2012 value = READ_SPECIALREG(mpidr_el1); in user_mrs_handler()
2015 value = READ_SPECIALREG(revidr_el1); in user_mrs_handler()
2400 tcr = READ_SPECIALREG(tcr_el1); in tcr_set_e0pd1()
2866 desc->ctr = READ_SPECIALREG(ctr_el0); in identify_cpu()
2891 desc->clidr = READ_SPECIALREG(clidr_el1); in identify_cpu()
2901 READ_SPECIALREG(ccsidr_el1); in identify_cpu()
2906 desc->ccsidr[i][j] = READ_SPECIALREG(ccsidr_el1); in identify_cpu()
2912 desc->id_isar5 = READ_SPECIALREG(id_isar5_el1); in identify_cpu()
2913 desc->mvfr0 = READ_SPECIALREG(mvfr0_el1); in identify_cpu()
[all …]
H A Dvfp.c129 cpacr = READ_SPECIALREG(cpacr_el1); in vfp_enable()
140 cpacr = READ_SPECIALREG(cpacr_el1); in sve_enable()
154 cpacr = READ_SPECIALREG(cpacr_el1); in vfp_disable()
518 cpacr = READ_SPECIALREG(cpacr_el1); in vfp_save_state_common()
782 cpacr = READ_SPECIALREG(cpacr_el1); in sve_restore_state()
817 pfr = READ_SPECIALREG(id_aa64pfr0_el1); in vfp_init_secondary()
831 pfr = READ_SPECIALREG(id_aa64pfr0_el1); in vfp_init()
H A Dptrauth.c212 sctlr = READ_SPECIALREG(sctlr_el1); in ptrauth_start()
248 sctlr = READ_SPECIALREG(sctlr_el1); in ptrauth_mp_start()
H A Dmachdep.c172 id_aa64mfr1 = READ_SPECIALREG(id_aa64mmfr1_el1); in pan_setup()
193 READ_SPECIALREG(sctlr_el1) & ~SCTLR_SPAN); in pan_enable()
812 identify_cache(READ_SPECIALREG(ctr_el0)); in cache_setup()
814 dczid_el0 = READ_SPECIALREG(dczid_el0); in cache_setup()
1078 db_printf(__STRING(reg) " = %#016lx\n", READ_SPECIALREG(reg)) in DB_SHOW_COMMAND()
H A Dvm_machdep.c78 td1->td_pcb->pcb_tpidr_el0 = READ_SPECIALREG(tpidr_el0); in cpu_fork()
79 td1->td_pcb->pcb_tpidrro_el0 = READ_SPECIALREG(tpidrro_el0); in cpu_fork()
H A Dgdb_machdep.c126 gdb_tx_varhex((uintmax_t)READ_SPECIALREG(far_el1)); in gdb_cpu_stop_reason()
H A Dmp_machdep.c199 mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in init_secondary()
237 KASSERT(pmap_to_ttbr0(pmap0) == READ_SPECIALREG(ttbr0_el1), in init_secondary()
687 mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in cpu_mp_start()
H A Dexec_machdep.c140 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_regs()
507 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_mcontext()
818 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in sendsig()
H A Dfreebsd32_machdep.c238 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_mcontext32()
447 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in freebsd32_sendsig()
H A Dtrap.c600 get_pcpu(), READ_SPECIALREG(tpidr_el1))); in do_el0_sync()
716 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in do_el0_sync()
H A Dgic_v3_reg.h513 val = READ_SPECIALREG(icc_ ##reg ##_el1); \
H A Delf32_machdep.c160 if (ID_AA64PFR0_EL0_VAL(READ_SPECIALREG(id_aa64pfr0_el1)) == in register_elf32_brand()
H A Dgic_v3.c1269 sre = READ_SPECIALREG(icc_sre_el1); in gic_v3_cpu_enable_sre()
1276 sre = READ_SPECIALREG(icc_sre_el1); in gic_v3_cpu_enable_sre()
H A Dpmap.c1268 KASSERT((READ_SPECIALREG(tcr_el1) & TCR_A1) == 0, in pmap_bootstrap()
1568 (READ_SPECIALREG(tcr_el1) & TCR_ASID_16) != 0 ? 16 : 8); in pmap_init()
1571 mmfr1 = READ_SPECIALREG(id_aa64mmfr1_el1); in pmap_init()
2283 pmap->pm_l0_paddr = READ_SPECIALREG(ttbr0_el1); in pmap_pinit0()
7382 ttbr0 = READ_SPECIALREG(ttbr0_el1); in pmap_set_cnp()
7385 ttbr1 = READ_SPECIALREG(ttbr1_el1); in pmap_set_cnp()
/freebsd-14.2/stand/efi/libefi/
H A Dtime_arm64.c45 timer_freq = READ_SPECIALREG(cntfrq_el0); in efi_time_init()
58 t = READ_SPECIALREG(cntvct_el0) / timer_freq; in time()
/freebsd-14.2/stand/arm64/libarm64/
H A Dcache.c84 ctr = READ_SPECIALREG(ctr_el0); in cpu_flush_dcache()
111 ctr = READ_SPECIALREG(ctr_el0); in cpu_inval_icache()
/freebsd-14.2/sys/arm64/include/
H A Dcpufunc.h106 midr = READ_SPECIALREG(midr_el1); in get_midr()
116 mpidr = READ_SPECIALREG(mpidr_el1); in get_mpidr()
H A Dcpu.h249 ret = READ_SPECIALREG(cntvct_el0); in get_cyclecount()
H A Darmreg.h70 #define READ_SPECIALREG(reg) \ macro
/freebsd-14.2/sys/dev/hwpmc/
H A Dhwpmc_arm64.c121 reg = READ_SPECIALREG(pmcr_el0); in arm64_pmcr_read()
148 return (READ_SPECIALREG(pmxevcntr_el0)); in arm64_pmcn_read()
229 if ((READ_SPECIALREG(pmovsclr_el0) & reg) != 0) { in arm64_read_pmc()
376 if ((READ_SPECIALREG(pmovsclr_el0) & reg) == 0) in arm64_intr()
/freebsd-14.2/sys/cddl/dev/dtrace/aarch64/
H A Ddtrace_subr.c165 count = READ_SPECIALREG(cntvct_el0); in dtrace_gethrtime()
166 freq = READ_SPECIALREG(cntfrq_el0); in dtrace_gethrtime()
/freebsd-14.2/stand/libsa/
H A Dtslog.c83 uint64_t tsc = READ_SPECIALREG(cntvct_el0); in tslog()
/freebsd-14.2/sys/crypto/armv8/
H A Darmv8_crypto.c88 reg = READ_SPECIALREG(id_aa64isar0_el1); in armv8_crypto_probe()
119 reg = READ_SPECIALREG(id_aa64isar0_el1); in armv8_crypto_attach()
/freebsd-14.2/sys/arm/arm/
H A Dgeneric_timer.c175 #define get_el0(x) READ_SPECIALREG(x ##_el0)
176 #define get_el1(x) READ_SPECIALREG(x ##_el1)
296 val = READ_SPECIALREG(cntvct_el0); in cntpct_handler()