/linux-6.12.1/arch/arm64/tools/ |
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
|
D | sysreg | 7 # Sysreg <name> <op0> <op1> <crn> <crm> <op2> 37 # Sysreg <name> <op0> <op1> <crn> <crm> <op2>
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | esr.h | 216 #define ESR_ELx_SYS64_ISS_SYS_VAL(op0, op1, op2, crn, crm) \ argument 221 ((crm) << ESR_ELx_SYS64_ISS_CRM_SHIFT)) 332 #define ESR_ELx_CP15_32_ISS_SYS_VAL(op1, op2, crn, crm) \ argument 336 ((crm) << ESR_ELx_CP15_32_ISS_CRM_SHIFT)) 353 #define ESR_ELx_CP15_64_ISS_SYS_VAL(op1, crm) \ argument 355 ((crm) << ESR_ELx_CP15_64_ISS_CRM_SHIFT))
|
D | sysreg.h | 39 #define sys_reg(op0, op1, crn, crm, op2) \ argument 41 ((crn) << CRn_shift) | ((crm) << CRm_shift) | \ 442 #define SYS_AM_EL0(crm, op2) sys_reg(3, 3, 13, (crm), (op2)) argument
|
/linux-6.12.1/tools/arch/arm/include/uapi/asm/ |
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)
|
/linux-6.12.1/arch/arm64/include/uapi/asm/ |
D | kvm.h | 249 #define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ argument 254 ARM64_SYS_REG_SHIFT_MASK(crm, CRM) | \ 527 #define KVM_ARM_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2) \ argument 531 (__op1 << 6 | ((crm) & 7) << 3 | (op2)); \
|
/linux-6.12.1/tools/arch/arm64/include/uapi/asm/ |
D | kvm.h | 249 #define __ARM64_SYS_REG(op0,op1,crn,crm,op2) \ argument 254 ARM64_SYS_REG_SHIFT_MASK(crm, CRM) | \ 527 #define KVM_ARM_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2) \ argument 531 (__op1 << 6 | ((crm) & 7) << 3 | (op2)); \
|
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | get-reg-list.c | 197 unsigned op0, op1, crn, crm, op2; in print_reg() local 250 crm = (id & KVM_REG_ARM64_SYSREG_CRM_MASK) >> KVM_REG_ARM64_SYSREG_CRM_SHIFT; in print_reg() 252 TEST_ASSERT(id == ARM64_SYS_REG(op0, op1, crn, crm, op2), in print_reg() 254 printf("\tARM64_SYS_REG(%d, %d, %d, %d, %d),\n", op0, op1, crn, crm, op2); in print_reg()
|
/linux-6.12.1/tools/arch/arm64/include/asm/ |
D | sysreg.h | 38 #define sys_reg(op0, op1, crn, crm, op2) \ argument 40 ((crn) << CRn_shift) | ((crm) << CRm_shift) | \ 305 #define SYS_AM_EL0(crm, op2) sys_reg(3, 3, 13, (crm), (op2)) argument
|
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/ |
D | sys_regs.c | 326 #define ID_UNALLOCATED(crm, op2) { \ argument 327 Op0(3), Op1(0), CRn(0), CRm(crm), Op2(op2), \
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | bvme6000hw.h | 39 pad_y[3], crm, member
|
/linux-6.12.1/arch/arm/include/asm/hardware/ |
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));\
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | mb86a16.c | 636 int crm, afcm, AFCM; in freqerr_chk() local 646 crm = CRM - 256; in freqerr_chk() 648 crm = CRM; in freqerr_chk() 650 crrerr = smrt * crm / 256; in freqerr_chk()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | traps.c | 553 int crm = (esr & ESR_ELx_SYS64_ISS_CRM_MASK) >> ESR_ELx_SYS64_ISS_CRM_SHIFT; in user_cache_maint_handler() local 559 switch (crm) { in user_cache_maint_handler()
|
/linux-6.12.1/arch/arm64/kvm/hyp/ |
D | vgic-v3-sr.c | 506 u8 crm = (esr & ESR_ELx_SYS64_ISS_CRM_MASK) >> ESR_ELx_SYS64_ISS_CRM_SHIFT; in __vgic_v3_get_group() local 508 return crm != 8; in __vgic_v3_get_group()
|
/linux-6.12.1/drivers/iommu/ |
D | msm_iommu.c | 28 #define MRC(reg, processor, op1, crn, crm, op2) \ argument 30 " mrc " #processor "," #op1 ", %0," #crn "," #crm "," #op2 "\n" \
|
/linux-6.12.1/arch/arm64/kvm/ |
D | emulate-nested.c | 1928 u8 op0, op1, crn, crm, op2; in encoding_next() local 1933 crm = sys_reg_CRm(encoding); in encoding_next() 1937 return sys_reg(op0, op1, crn, crm, op2 + 1); in encoding_next() 1938 if (crm < CRm_mask) in encoding_next() 1939 return sys_reg(op0, op1, crn, crm + 1, 0); in encoding_next()
|
D | sys_regs.c | 2158 #define ID_UNALLOCATED(crm, op2) { \ argument 2159 Op0(3), Op1(0), CRn(0), CRm(crm), Op2(op2), \
|
/linux-6.12.1/drivers/atm/ |
D | iphase.c | 382 u8 trm, nrm, crm; in ia_open_abr_vc() local 428 crm = srv_p->tbe / nrm; in ia_open_abr_vc() 429 if (crm == 0) crm = 1; in ia_open_abr_vc() 430 f_abr_vc->f_crm = crm & 0xff; in ia_open_abr_vc()
|
D | iphase.h | 244 crm:8; member
|
/linux-6.12.1/Documentation/virt/kvm/ |
D | api.rst | 2544 0x4020 0000 000F <zero:1> <crn:4> <crm:4> <opc1:4> <opc2:3> 2548 0x4030 0000 000F <zero:1> <zero:4> <crm:4> <opc1:4> <zero:3> 2617 0x6030 0000 0013 <op0:2> <op1:3> <crn:4> <crm:4> <op2:3> 6250 ``ARM64_FEATURE_ID_RANGE_IDX(op0, op1, crn, crm, op2)``, allowing userspace 6252 ``op0, op1, crn, crm, op2``. KVM rejects ID register values that describe a
|