| /freebsd-13.1/sys/arm64/arm64/ |
| H A D | debug_monitor.c | 189 KASSERT((READ_SPECIALREG(daif) & PSR_D) == PSR_D, in kdb_cpu_set_singlestep() 193 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) | in kdb_cpu_set_singlestep() 203 READ_SPECIALREG(mdscr_el1) & ~MDSCR_MDE); in kdb_cpu_set_singlestep() 211 KASSERT((READ_SPECIALREG(daif) & PSR_D) == PSR_D, in kdb_cpu_clear_singlestep() 214 WRITE_SPECIALREG(mdscr_el1, READ_SPECIALREG(mdscr_el1) & in kdb_cpu_clear_singlestep() 220 READ_SPECIALREG(mdscr_el1) | MDSCR_MDE); in kdb_cpu_clear_singlestep() 224 READ_SPECIALREG(mdscr_el1) | MDSCR_KDE); in kdb_cpu_clear_singlestep() 483 mdscr = READ_SPECIALREG(mdscr_el1); in dbg_register_sync() 514 dbg_watchpoint_num = ((READ_SPECIALREG(id_aa64dfr0_el1) >> 20) & 0xf) + 1; in dbg_monitor_init() 564 READ_SPECIALREG(mdscr_el1) & ~(MDSCR_MDE | MDSCR_KDE)); in dbg_monitor_enter() [all …]
|
| H A D | trap.c | 456 far = READ_SPECIALREG(far_el1); in do_el1h_sync() 498 print_gp_register("far", READ_SPECIALREG(far_el1)); in do_el1h_sync() 515 get_pcpu(), READ_SPECIALREG(tpidr_el1))); in do_el0_sync() 521 far = READ_SPECIALREG(far_el1); in do_el0_sync() 538 far = READ_SPECIALREG(far_el1); in do_el0_sync() 620 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in do_el0_sync() 649 far = READ_SPECIALREG(far_el1); in do_serror() 663 far = READ_SPECIALREG(far_el1); in unhandled_exception()
|
| H A D | vfp.c | 65 cpacr = READ_SPECIALREG(cpacr_el1); in vfp_enable() 76 cpacr = READ_SPECIALREG(cpacr_el1); in vfp_disable() 190 cpacr = READ_SPECIALREG(cpacr_el1); in vfp_save_state() 256 pfr = READ_SPECIALREG(id_aa64pfr0_el1); in vfp_init()
|
| H A D | identcpu.c | 1484 value = READ_SPECIALREG(midr_el1); in user_mrs_handler() 1487 value = READ_SPECIALREG(mpidr_el1); in user_mrs_handler() 1490 value = READ_SPECIALREG(revidr_el1); in user_mrs_handler() 2115 cpu_desc[cpu].ctr = READ_SPECIALREG(ctr_el0); in identify_cpu() 2116 cpu_desc[cpu].id_aa64dfr0 = READ_SPECIALREG(id_aa64dfr0_el1); in identify_cpu() 2117 cpu_desc[cpu].id_aa64dfr1 = READ_SPECIALREG(id_aa64dfr1_el1); in identify_cpu() 2123 cpu_desc[cpu].id_aa64pfr0 = READ_SPECIALREG(id_aa64pfr0_el1); in identify_cpu() 2124 cpu_desc[cpu].id_aa64pfr1 = READ_SPECIALREG(id_aa64pfr1_el1); in identify_cpu() 2129 cpu_desc[cpu].id_isar5 = READ_SPECIALREG(id_isar5_el1); in identify_cpu() 2130 cpu_desc[cpu].mvfr0 = READ_SPECIALREG(mvfr0_el1); in identify_cpu() [all …]
|
| H A D | machdep.c | 157 id_aa64mfr1 = READ_SPECIALREG(id_aa64mmfr1_el1); in pan_setup() 178 READ_SPECIALREG(sctlr_el1) & ~SCTLR_SPAN); in pan_enable() 665 identify_cache(READ_SPECIALREG(ctr_el0)); in cache_setup() 667 dczid_el0 = READ_SPECIALREG(dczid_el0); in cache_setup() 900 db_printf(__STRING(reg) " = %#016lx\n", READ_SPECIALREG(reg)) in DB_SHOW_COMMAND()
|
| H A D | vm_machdep.c | 82 td1->td_pcb->pcb_tpidr_el0 = READ_SPECIALREG(tpidr_el0); in cpu_fork() 83 td1->td_pcb->pcb_tpidrro_el0 = READ_SPECIALREG(tpidrro_el0); in cpu_fork()
|
| H A D | gdb_machdep.c | 121 gdb_tx_varhex((uintmax_t)READ_SPECIALREG(far_el1)); in gdb_cpu_stop_reason()
|
| H A D | mp_machdep.c | 215 mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in init_secondary() 259 KASSERT(pmap_to_ttbr0(pmap0) == READ_SPECIALREG(ttbr0_el1), in init_secondary() 671 __pcpu[0].pc_mpidr = READ_SPECIALREG(mpidr_el1) & CPU_AFF_MASK; in cpu_mp_start()
|
| H A D | exec_machdep.c | 129 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_regs() 470 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_mcontext() 631 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in sendsig()
|
| H A D | freebsd32_machdep.c | 224 READ_SPECIALREG(mdscr_el1) | MDSCR_SS); in set_mcontext32() 435 READ_SPECIALREG(mdscr_el1) & ~MDSCR_SS); in freebsd32_sendsig()
|
| H A D | elf32_machdep.c | 146 if (ID_AA64PFR0_EL0_VAL(READ_SPECIALREG(id_aa64pfr0_el1)) != in elf32_arm_abi_supported()
|
| H A D | gic_v3_reg.h | 491 val = READ_SPECIALREG(icc_ ##reg ##_el1); \
|
| H A D | gic_v3.c | 1061 sre = READ_SPECIALREG(icc_sre_el1); in gic_v3_cpu_enable_sre() 1068 sre = READ_SPECIALREG(icc_sre_el1); in gic_v3_cpu_enable_sre()
|
| H A D | pmap.c | 947 KASSERT((READ_SPECIALREG(tcr_el1) & TCR_A1) == 0, in pmap_bootstrap() 1093 (READ_SPECIALREG(tcr_el1) & TCR_ASID_16) != 0 ? 16 : 8); in pmap_init() 1096 mmfr1 = READ_SPECIALREG(id_aa64mmfr1_el1); in pmap_init() 1754 pmap->pm_l0_paddr = READ_SPECIALREG(ttbr0_el1); in pmap_pinit0()
|
| /freebsd-13.1/stand/efi/libefi/ |
| H A D | time_arm64.c | 48 timer_freq = READ_SPECIALREG(cntfrq_el0); in efi_time_init() 61 t = READ_SPECIALREG(cntvct_el0) / timer_freq; in time()
|
| /freebsd-13.1/stand/arm64/libarm64/ |
| H A D | cache.c | 89 ctr = READ_SPECIALREG(ctr_el0); in cpu_flush_dcache() 116 ctr = READ_SPECIALREG(ctr_el0); in cpu_inval_icache()
|
| /freebsd-13.1/sys/arm64/include/ |
| H A D | cpufunc.h | 162 midr = READ_SPECIALREG(midr_el1); in get_midr() 172 mpidr = READ_SPECIALREG(mpidr_el1); in get_mpidr()
|
| H A D | cpu.h | 189 ret = READ_SPECIALREG(cntvct_el0); in get_cyclecount()
|
| H A D | armreg.h | 62 #define READ_SPECIALREG(reg) \ macro
|
| /freebsd-13.1/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() 219 if ((READ_SPECIALREG(pmovsclr_el0) & reg) != 0) { in arm64_read_pmc() 381 if ((READ_SPECIALREG(pmovsclr_el0) & reg) == 0) in arm64_intr()
|
| /freebsd-13.1/sys/cddl/dev/dtrace/aarch64/ |
| H A D | dtrace_subr.c | 166 count = READ_SPECIALREG(cntvct_el0); in dtrace_gethrtime() 167 freq = READ_SPECIALREG(cntfrq_el0); in dtrace_gethrtime()
|
| /freebsd-13.1/stand/libsa/ |
| H A D | tslog.c | 86 uint64_t tsc = READ_SPECIALREG(cntvct_el0); in tslog()
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | generic_timer.c | 132 #define get_el0(x) READ_SPECIALREG(x ##_el0) 133 #define get_el1(x) READ_SPECIALREG(x ##_el1)
|
| /freebsd-13.1/sys/crypto/armv8/ |
| H A D | armv8_crypto.c | 111 reg = READ_SPECIALREG(id_aa64isar0_el1); in armv8_crypto_probe() 144 reg = READ_SPECIALREG(id_aa64isar0_el1); in armv8_crypto_attach()
|