/openbmc/qemu/target/arm/ |
H A D | cortex-regs.c | 31 .opc0 = 3, .opc1 = 1, .crn = 11, .crm = 0, .opc2 = 2, 35 .cp = 15, .opc1 = 1, .crn = 9, .crm = 0, .opc2 = 2, 39 .opc0 = 3, .opc1 = 1, .crn = 11, .crm = 0, .opc2 = 3, 42 .cp = 15, .opc1 = 1, .crn = 9, .crm = 0, .opc2 = 3, 45 .opc0 = 3, .opc1 = 1, .crn = 15, .crm = 0, .opc2 = 0, 48 .opc0 = 3, .opc1 = 1, .crn = 15, .crm = 2, .opc2 = 0, 51 .cp = 15, .opc1 = 0, .crm = 15, 54 .opc0 = 3, .opc1 = 1, .crn = 15, .crm = 2, .opc2 = 1, 57 .cp = 15, .opc1 = 1, .crm = 15, 63 .cp = 15, .opc1 = 2, .crm = 15, [all …]
|
H A D | helper.c | 6425 .cp = 15, .opc1 = 6, .crm = 2, 9678 .cp = 15, .opc1 = opc1, .crn = 6, .crm = crm, .opc2 = opc2, in register_cp_regs_for_features() 9690 .cp = 15, .opc1 = opc1, .crn = 6, .crm = crm, .opc2 = opc2, in register_cp_regs_for_features() 9709 .cp = 15, .opc1 = opc1, .crn = 6, .crm = crm, .opc2 = opc2, in register_cp_regs_for_features() 9721 .cp = 15, .opc1 = opc1, .crn = 6, .crm = crm, .opc2 = opc2, in register_cp_regs_for_features() 10091 r2->crm = crm; in add_cpreg_to_hashtable() 10184 if (((r->crm == CP_ANY) && crm != 0) || in add_cpreg_to_hashtable() 10230 int crm, opc1, opc2; in define_one_arm_cp_reg_with_opaque() local 10231 int crmmin = (r->crm == CP_ANY) ? 0 : r->crm; in define_one_arm_cp_reg_with_opaque() 10232 int crmmax = (r->crm == CP_ANY) ? 15 : r->crm; in define_one_arm_cp_reg_with_opaque() [all …]
|
H A D | debug_helper.c | 952 .opc0 = 2, .opc1 = 0, .crn = 1, .crm = 0, .opc2 = 0, 971 .opc0 = 2, .opc1 = 3, .crn = 0, .crm = 1, .opc2 = 0, 981 .opc0 = 2, .opc1 = 0, .crn = 0, .crm = 0, .opc2 = 2, 1009 .cp = 14, .opc1 = 0, .crn = 0, .crm = 1, .opc2 = 0, 1037 .cp = 14, .opc1 = 0, .crn = 0, .crm = 7, .opc2 = 0, 1082 { .name = "DBGDRAR", .cp = 14, .crm = 1, .opc1 = 0, 1085 { .name = "DBGDSAR", .cp = 14, .crm = 2, .opc1 = 0, 1094 int i = ri->crm; in dbgwvr_write() 1119 int i = ri->crm; in dbgwcr_write() 1131 int i = ri->crm; in dbgbvr_write() [all …]
|
H A D | syndrome.h | 163 int crn, int crm, int rt, in syn_aa64_sysregtrap() argument 168 | (crm << 1) | isread; in syn_aa64_sysregtrap() 172 int crn, int crm, int rt, int isread, in syn_cp14_rt_trap() argument 178 | (crn << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp14_rt_trap() 182 int crn, int crm, int rt, int isread, in syn_cp15_rt_trap() argument 188 | (crn << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp15_rt_trap() 191 static inline uint32_t syn_cp14_rrt_trap(int cv, int cond, int opc1, int crm, in syn_cp14_rrt_trap() argument 198 | (rt2 << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp14_rrt_trap() 201 static inline uint32_t syn_cp15_rrt_trap(int cv, int cond, int opc1, int crm, in syn_cp15_rrt_trap() argument 208 | (rt2 << 10) | (rt << 5) | (crm << 1) | isread; in syn_cp15_rrt_trap()
|
H A D | cpregs.h | 171 #define ENCODE_CP_REG(cp, is64, ns, crn, crm, opc1, opc2) \ argument 173 ((crn) << 11) | ((crm) << 7) | ((opc1) << 3) | (opc2)) 175 #define ENCODE_AA64_CP_REG(cp, crn, crm, op0, op1, op2) \ argument 181 ((crm) << CP_REG_ARM64_SYSREG_CRM_SHIFT) | \ 861 uint8_t crm; member 1078 uint8_t crn, uint8_t crm) in arm_cpreg_encoding_in_idspace() argument 1081 crn == 0 && crm < 8; in arm_cpreg_encoding_in_idspace() 1092 ri->crn, ri->crm); in arm_cpreg_in_idspace()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | cpu32.c | 616 { .name = "CPUACTLR", .cp = 15, .opc1 = 0, .crm = 15, 619 .cp = 15, .opc1 = 0, .crn = 9, .crm = 1, .opc2 = 0, 622 .cp = 15, .opc1 = 0, .crn = 9, .crm = 1, .opc2 = 1, 625 .cp = 15, .opc1 = 0, .crn = 9, .crm = 1, .opc2 = 2, 628 .cp = 15, .opc1 = 1, .crn = 9, .crm = 1, .opc2 = 0, 631 .cp = 15, .opc1 = 1, .crn = 9, .crm = 1, .opc2 = 1, 634 .cp = 15, .opc1 = 1, .crn = 9, .crm = 1, .opc2 = 2, 637 .cp = 15, .opc1 = 0, .crn = 11, .crm = 0, .opc2 = 0, 640 .cp = 15, .opc1 = 0, .crn = 15, .crm = 0, .opc2 = 0, 643 .cp = 15, .opc1 = 0, .crn = 15, .crm = 0, .opc2 = 1, [all …]
|
H A D | cpu64.c | 492 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 7, .opc2 = 0, 497 .opc0 = 3, .opc1 = 4, .crn = 15, .crm = 7, .opc2 = 0, 500 .opc0 = 3, .opc1 = 6, .crn = 15, .crm = 7, .opc2 = 0, 503 .opc0 = 3, .opc1 = 5, .crn = 15, .crm = 7, .opc2 = 0, 506 .opc0 = 3, .opc1 = 4, .crn = 15, .crm = 7, .opc2 = 1, 509 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 1, .opc2 = 0, 513 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 1, .opc2 = 1, 517 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 1, .opc2 = 2, 525 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 0, .opc2 = 0, 528 .opc0 = 3, .opc1 = 0, .crn = 15, .crm = 1, .opc2 = 4, [all …]
|
H A D | a32.decode | 50 &mcr cp opc1 crn crm opc2 rt 51 &mcrr cp opc1 crm rt rt2 546 @mcr ---- .... opc1:3 . crn:4 rt:4 cp:4 opc2:3 . crm:4 &mcr 547 @mcrr ---- .... .... rt2:4 rt:4 cp:4 opc1:4 crm:4 &mcrr
|
H A D | t32.decode | 48 &mcr !extern cp opc1 crn crm opc2 rt 49 &mcrr !extern cp opc1 crm rt rt2 707 @mcr .... .... opc1:3 . crn:4 rt:4 cp:4 opc2:3 . crm:4 708 @mcrr .... .... .... rt2:4 rt:4 cp:4 opc1:4 crm:4
|
/openbmc/qemu/target/arm/hvf/ |
H A D | trace-events | 1 …t op1, uint32_t crn, uint32_t crm, uint32_t op2) "unhandled sysreg read at pc=0x%"PRIx64": 0x%08x … 2 … op1, uint32_t crn, uint32_t crm, uint32_t op2) "unhandled sysreg write at pc=0x%"PRIx64": 0x%08x … 6 …uint32_t op1, uint32_t crn, uint32_t crm, uint32_t op2, uint64_t val) "sysreg read 0x%08x (op0=%d … 7 …uint32_t op1, uint32_t crn, uint32_t crm, uint32_t op2, uint64_t val) "sysreg write 0x%08x (op0=%d…
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gicv3_cpuif.c | 620 trace_gicv3_icv_bpr_write(ri->crm == 8 ? 0 : 1, in icv_bpr_write() 743 int grp = ri->crm == 8 ? GICV3_G0 : GICV3_G1NS; in icv_hppir_read() 836 trace_gicv3_icv_iar_read(ri->crm == 8 ? 0 : 1, in icv_iar_read() 1652 bool is_eoir0 = ri->crm == 8; in icc_eoir_write() 2513 .cp = 15, .opc1 = 0, .crm = 12, 2525 .cp = 15, .opc1 = 1, .crm = 12, 2537 .cp = 15, .opc1 = 2, .crm = 12, 2784 int regno = ri->opc2 | ((ri->crm & 1) << 3); in ich_lr_read() 2793 if (ri->crm >= 14) { in ich_lr_read() 2812 int regno = ri->opc2 | ((ri->crm & 1) << 3); in ich_lr_write() [all …]
|
/openbmc/linux/arch/arm64/tools/ |
H A D | gen-sysreg.awk | 157 crm = $6 164 define("REG_" reg, "S" op0 "_" op1 "_C" crn "_C" crm "_" op2) 165 define("SYS_" reg, "sys_reg(" op0 ", " op1 ", " crn ", " crm ", " op2 ")") 170 define("SYS_" reg "_CRm", crm) 197 crm = null
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | esr.h | 212 #define ESR_ELx_SYS64_ISS_SYS_VAL(op0, op1, op2, crn, crm) \ argument 217 ((crm) << ESR_ELx_SYS64_ISS_CRM_SHIFT)) 328 #define ESR_ELx_CP15_32_ISS_SYS_VAL(op1, op2, crn, crm) \ argument 332 ((crm) << ESR_ELx_CP15_32_ISS_CRM_SHIFT)) 349 #define ESR_ELx_CP15_64_ISS_SYS_VAL(op1, crm) \ argument 351 ((crm) << ESR_ELx_CP15_64_ISS_CRM_SHIFT))
|
H A D | sysreg.h | 39 #define sys_reg(op0, op1, crn, crm, op2) \ argument 41 ((crn) << CRn_shift) | ((crm) << CRm_shift) | \ 420 #define SYS_AM_EL0(crm, op2) sys_reg(3, 3, 13, (crm), (op2)) argument
|
/openbmc/linux/tools/arch/arm/include/uapi/asm/ |
H A D | kvm.h | 166 #define __ARM_CP15_REG(op1,crn,crm,op2) \ argument 170 ARM_CP15_REG_SHIFT_MASK(crm, CRM) | \ 175 #define __ARM_CP15_REG64(op1,crm) \ argument 176 (__ARM_CP15_REG(op1, 0, crm, 0) | KVM_REG_SIZE_U64)
|
/openbmc/qemu/linux-headers/asm-arm/ |
H A D | kvm.h | 166 #define __ARM_CP15_REG(op1,crn,crm,op2) \ argument 170 ARM_CP15_REG_SHIFT_MASK(crm, CRM) | \ 175 #define __ARM_CP15_REG64(op1,crm) \ argument 176 (__ARM_CP15_REG(op1, 0, crm, 0) | KVM_REG_SIZE_U64)
|
/openbmc/qemu/linux-headers/asm-arm64/ |
H A D | kvm.h | 249 #define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ argument 254 ARM64_SYS_REG_SHIFT_MASK(crm, CRM) | \ 513 #define KVM_ARM_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2) \ argument 517 (__op1 << 6 | ((crm) & 7) << 3 | (op2)); \
|
/openbmc/linux/tools/arch/arm64/include/uapi/asm/ |
H A D | kvm.h | 246 #define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ argument 251 ARM64_SYS_REG_SHIFT_MASK(crm, CRM) | \
|
/openbmc/linux/arch/arm64/include/uapi/asm/ |
H A D | kvm.h | 246 #define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ argument 251 ARM64_SYS_REG_SHIFT_MASK(crm, CRM) | \
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | get-reg-list.c | 185 unsigned op0, op1, crn, crm, op2; in print_reg() local 238 crm = (id & KVM_REG_ARM64_SYSREG_CRM_MASK) >> KVM_REG_ARM64_SYSREG_CRM_SHIFT; in print_reg() 240 TEST_ASSERT(id == ARM64_SYS_REG(op0, op1, crn, crm, op2), in print_reg() 242 printf("\tARM64_SYS_REG(%d, %d, %d, %d, %d),\n", op0, op1, crn, crm, op2); in print_reg()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | sys_regs.c | 326 #define ID_UNALLOCATED(crm, op2) { \ argument 327 Op0(3), Op1(0), CRn(0), CRm(crm), Op2(op2), \
|
/openbmc/qemu/hw/arm/ |
H A D | pxa2xx.c | 359 { .name = "CPPMNC", .cp = 14, .crn = 0, .crm = 1, .opc1 = 0, .opc2 = 0, 362 { .name = "CPCCNT", .cp = 14, .crn = 1, .crm = 1, .opc1 = 0, .opc2 = 0, 365 { .name = "CPINTEN", .cp = 14, .crn = 4, .crm = 1, .opc1 = 0, .opc2 = 0, 367 { .name = "CPFLAG", .cp = 14, .crn = 5, .crm = 1, .opc1 = 0, .opc2 = 0, 369 { .name = "CPEVTSEL", .cp = 14, .crn = 8, .crm = 1, .opc1 = 0, .opc2 = 0, 372 { .name = "CPPMN0", .cp = 14, .crn = 0, .crm = 2, .opc1 = 0, .opc2 = 0, 374 { .name = "CPPMN1", .cp = 14, .crn = 1, .crm = 2, .opc1 = 0, .opc2 = 0, 376 { .name = "CPPMN2", .cp = 14, .crn = 2, .crm = 2, .opc1 = 0, .opc2 = 0, 378 { .name = "CPPMN3", .cp = 14, .crn = 2, .crm = 3, .opc1 = 0, .opc2 = 0, 381 { .name = "CLKCFG", .cp = 14, .crn = 6, .crm = 0, .opc1 = 0, .opc2 = 0, [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | bvme6000hw.h | 39 pad_y[3], crm, member
|
/openbmc/linux/tools/arch/arm64/include/asm/ |
H A D | sysreg.h | 36 #define sys_reg(op0, op1, crn, crm, op2) \ argument 38 ((crn) << CRn_shift) | ((crm) << CRm_shift) | \ 472 #define SYS_AM_EL0(crm, op2) sys_reg(3, 3, 13, (crm), (op2)) argument
|
/openbmc/linux/arch/arm/include/asm/hardware/ |
H A D | cp14.h | 17 #define MRC14(op1, crn, crm, op2) \ argument 20 asm volatile("mrc p14, "#op1", %0, "#crn", "#crm", "#op2 : "=r" (val)); \ 24 #define MCR14(val, op1, crn, crm, op2) \ argument 26 asm volatile("mcr p14, "#op1", %0, "#crn", "#crm", "#op2 : : "r" (val));\
|