| /freebsd-14.2/sys/arm64/arm64/ |
| H A D | debug_monitor.c | 193 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 D | identcpu.c | 2009 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 D | vfp.c | 129 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 D | ptrauth.c | 212 sctlr = READ_SPECIALREG(sctlr_el1); in ptrauth_start() 248 sctlr = READ_SPECIALREG(sctlr_el1); in ptrauth_mp_start()
|
| H A D | machdep.c | 172 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 D | vm_machdep.c | 78 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 D | gdb_machdep.c | 126 gdb_tx_varhex((uintmax_t)READ_SPECIALREG(far_el1)); in gdb_cpu_stop_reason()
|
| H A D | mp_machdep.c | 199 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 D | exec_machdep.c | 140 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 D | freebsd32_machdep.c | 238 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_mcontext32() 447 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in freebsd32_sendsig()
|
| H A D | trap.c | 600 get_pcpu(), READ_SPECIALREG(tpidr_el1))); in do_el0_sync() 716 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in do_el0_sync()
|
| H A D | gic_v3_reg.h | 513 val = READ_SPECIALREG(icc_ ##reg ##_el1); \
|
| H A D | elf32_machdep.c | 160 if (ID_AA64PFR0_EL0_VAL(READ_SPECIALREG(id_aa64pfr0_el1)) == in register_elf32_brand()
|
| H A D | gic_v3.c | 1269 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 D | pmap.c | 1268 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 D | time_arm64.c | 45 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 D | cache.c | 84 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 D | cpufunc.h | 106 midr = READ_SPECIALREG(midr_el1); in get_midr() 116 mpidr = READ_SPECIALREG(mpidr_el1); in get_mpidr()
|
| H A D | cpu.h | 249 ret = READ_SPECIALREG(cntvct_el0); in get_cyclecount()
|
| H A D | armreg.h | 70 #define READ_SPECIALREG(reg) \ macro
|
| /freebsd-14.2/sys/dev/hwpmc/ |
| H A D | hwpmc_arm64.c | 121 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 D | dtrace_subr.c | 165 count = READ_SPECIALREG(cntvct_el0); in dtrace_gethrtime() 166 freq = READ_SPECIALREG(cntfrq_el0); in dtrace_gethrtime()
|
| /freebsd-14.2/stand/libsa/ |
| H A D | tslog.c | 83 uint64_t tsc = READ_SPECIALREG(cntvct_el0); in tslog()
|
| /freebsd-14.2/sys/crypto/armv8/ |
| H A D | armv8_crypto.c | 88 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 D | generic_timer.c | 175 #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()
|