/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
|
H A D | sysreg | 7 # Sysreg <name> <op0> <op1> <crn> <crm> <op2> 37 # Sysreg <name> <op0> <op1> <crn> <crm> <op2>
|
/linux/arch/arm64/include/asm/ |
H A 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))
|
H A 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/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)
|
/linux/tools/arch/arm64/include/uapi/asm/ |
H A 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/arch/arm64/include/uapi/asm/ |
H A 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/tools/arch/arm64/include/asm/ |
H A 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/tools/testing/selftests/kvm/aarch64/ |
H A 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/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), \
|
/linux/arch/m68k/include/asm/ |
H A D | bvme6000hw.h | 39 pad_y[3], crm, member
|
/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));\
|
/linux/drivers/media/dvb-frontends/ |
H A 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/arch/arm64/kernel/ |
H A 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/drivers/iommu/ |
H A D | msm_iommu.c | 28 #define MRC(reg, processor, op1, crn, crm, op2) \ argument 30 " mrc " #processor "," #op1 ", %0," #crn "," #crm "," #op2 "\n" \
|
/linux/arch/arm64/kvm/hyp/ |
H A 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/arch/arm64/kvm/ |
H A 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()
|
/linux/drivers/atm/ |
H A 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()
|
H A D | iphase.h | 244 crm:8; member
|