Lines Matching refs:CRn
740 if (r->CRn == 9 && r->CRm == 13) { in access_pmu_evcntr()
755 } else if (r->CRn == 0 && r->CRm == 9) { in access_pmu_evcntr()
761 } else if (r->CRn == 14 && (r->CRm & 12) == 8) { in access_pmu_evcntr()
795 if (r->CRn == 9 && r->CRm == 13 && r->Op2 == 1) { in access_pmu_evtyper()
799 } else if (r->CRn == 14 && (r->CRm & 12) == 12) { in access_pmu_evtyper()
1362 Op0(3), Op1(0), CRn(0), CRm(crm), Op2(op2), \
1829 { AA32(LO), Op1( 0), CRn( 0), CRm((n)), Op2( 4), trap_bvr, NULL, n }, \
1831 { Op1( 0), CRn( 0), CRm((n)), Op2( 5), trap_bcr, NULL, n }, \
1833 { Op1( 0), CRn( 0), CRm((n)), Op2( 6), trap_wvr, NULL, n }, \
1835 { Op1( 0), CRn( 0), CRm((n)), Op2( 7), trap_wcr, NULL, n }
1838 { AA32(HI), Op1( 0), CRn( 1), CRm((n)), Op2( 1), trap_bvr, NULL, n }
1847 { Op1( 0), CRn( 0), CRm( 0), Op2( 0), trap_dbgdidr },
1849 { Op1( 0), CRn( 0), CRm( 0), Op2( 2), trap_raz_wi },
1853 { Op1( 0), CRn( 0), CRm( 1), Op2( 0), trap_raz_wi },
1856 { Op1( 0), CRn( 0), CRm( 2), Op2( 0), trap_debug_regs, NULL, MDCCINT_EL1 },
1858 { Op1( 0), CRn( 0), CRm( 2), Op2( 2), trap_debug_regs, NULL, MDSCR_EL1 },
1861 { Op1( 0), CRn( 0), CRm( 3), Op2( 0), trap_raz_wi },
1863 { Op1( 0), CRn( 0), CRm( 3), Op2( 2), trap_raz_wi },
1868 { Op1( 0), CRn( 0), CRm( 6), Op2( 0), trap_raz_wi },
1870 { Op1( 0), CRn( 0), CRm( 6), Op2( 2), trap_raz_wi },
1873 { Op1( 0), CRn( 0), CRm( 7), Op2( 0), trap_debug_regs, NULL, DBGVCR32_EL2 },
1885 { Op1( 0), CRn( 1), CRm( 0), Op2( 0), trap_raz_wi },
1889 { Op1( 0), CRn( 1), CRm( 0), Op2( 4), trap_raz_wi },
1892 { Op1( 0), CRn( 1), CRm( 1), Op2( 4), trap_oslsr_el1 },
1896 { Op1( 0), CRn( 1), CRm( 3), Op2( 4), trap_raz_wi },
1899 { Op1( 0), CRn( 1), CRm( 4), Op2( 4), trap_raz_wi },
1913 { Op1( 0), CRn( 2), CRm( 0), Op2( 0), trap_raz_wi },
1916 { Op1( 0), CRn( 7), CRm( 0), Op2( 7), trap_raz_wi },
1918 { Op1( 0), CRn( 7), CRm( 1), Op2( 7), trap_raz_wi },
1920 { Op1( 0), CRn( 7), CRm( 2), Op2( 7), trap_raz_wi },
1922 { Op1( 0), CRn( 7), CRm( 8), Op2( 6), trap_raz_wi },
1924 { Op1( 0), CRn( 7), CRm( 9), Op2( 6), trap_raz_wi },
1926 { Op1( 0), CRn( 7), CRm(14), Op2( 6), trap_dbgauthstatus_el1 },
1941 { Op1(0), CRn(0b1110), \
1948 { Op1(0), CRn(0b1110), \
1958 { Op1( 0), CRn( 0), CRm( 0), Op2( 1), access_ctr },
1959 { Op1( 0), CRn( 1), CRm( 0), Op2( 0), access_vm_reg, NULL, SCTLR_EL1 },
1961 { AA32(LO), Op1( 0), CRn( 1), CRm( 0), Op2( 1), access_actlr, NULL, ACTLR_EL1 },
1963 { AA32(HI), Op1( 0), CRn( 1), CRm( 0), Op2( 3), access_actlr, NULL, ACTLR_EL1 },
1964 { Op1( 0), CRn( 2), CRm( 0), Op2( 0), access_vm_reg, NULL, TTBR0_EL1 },
1965 { Op1( 0), CRn( 2), CRm( 0), Op2( 1), access_vm_reg, NULL, TTBR1_EL1 },
1967 { AA32(LO), Op1( 0), CRn( 2), CRm( 0), Op2( 2), access_vm_reg, NULL, TCR_EL1 },
1969 { AA32(HI), Op1( 0), CRn( 2), CRm( 0), Op2( 3), access_vm_reg, NULL, TCR_EL1 },
1970 { Op1( 0), CRn( 3), CRm( 0), Op2( 0), access_vm_reg, NULL, DACR32_EL2 },
1972 { Op1( 0), CRn( 5), CRm( 0), Op2( 0), access_vm_reg, NULL, ESR_EL1 },
1973 { Op1( 0), CRn( 5), CRm( 0), Op2( 1), access_vm_reg, NULL, IFSR32_EL2 },
1975 { Op1( 0), CRn( 5), CRm( 1), Op2( 0), access_vm_reg, NULL, AFSR0_EL1 },
1977 { Op1( 0), CRn( 5), CRm( 1), Op2( 1), access_vm_reg, NULL, AFSR1_EL1 },
1979 { AA32(LO), Op1( 0), CRn( 6), CRm( 0), Op2( 0), access_vm_reg, NULL, FAR_EL1 },
1981 { AA32(HI), Op1( 0), CRn( 6), CRm( 0), Op2( 2), access_vm_reg, NULL, FAR_EL1 },
1986 { Op1( 0), CRn( 7), CRm( 6), Op2( 2), access_dcsw },
1987 { Op1( 0), CRn( 7), CRm(10), Op2( 2), access_dcsw },
1988 { Op1( 0), CRn( 7), CRm(14), Op2( 2), access_dcsw },
1991 { Op1( 0), CRn( 9), CRm(12), Op2( 0), access_pmcr },
1992 { Op1( 0), CRn( 9), CRm(12), Op2( 1), access_pmcnten },
1993 { Op1( 0), CRn( 9), CRm(12), Op2( 2), access_pmcnten },
1994 { Op1( 0), CRn( 9), CRm(12), Op2( 3), access_pmovs },
1995 { Op1( 0), CRn( 9), CRm(12), Op2( 4), access_pmswinc },
1996 { Op1( 0), CRn( 9), CRm(12), Op2( 5), access_pmselr },
1997 { AA32(LO), Op1( 0), CRn( 9), CRm(12), Op2( 6), access_pmceid },
1998 { AA32(LO), Op1( 0), CRn( 9), CRm(12), Op2( 7), access_pmceid },
1999 { Op1( 0), CRn( 9), CRm(13), Op2( 0), access_pmu_evcntr },
2000 { Op1( 0), CRn( 9), CRm(13), Op2( 1), access_pmu_evtyper },
2001 { Op1( 0), CRn( 9), CRm(13), Op2( 2), access_pmu_evcntr },
2002 { Op1( 0), CRn( 9), CRm(14), Op2( 0), access_pmuserenr },
2003 { Op1( 0), CRn( 9), CRm(14), Op2( 1), access_pminten },
2004 { Op1( 0), CRn( 9), CRm(14), Op2( 2), access_pminten },
2005 { Op1( 0), CRn( 9), CRm(14), Op2( 3), access_pmovs },
2006 { AA32(HI), Op1( 0), CRn( 9), CRm(14), Op2( 4), access_pmceid },
2007 { AA32(HI), Op1( 0), CRn( 9), CRm(14), Op2( 5), access_pmceid },
2009 { Op1( 0), CRn( 9), CRm(14), Op2( 6), trap_raz_wi },
2012 { AA32(LO), Op1( 0), CRn(10), CRm( 2), Op2( 0), access_vm_reg, NULL, MAIR_EL1 },
2014 { AA32(HI), Op1( 0), CRn(10), CRm( 2), Op2( 1), access_vm_reg, NULL, MAIR_EL1 },
2016 { AA32(LO), Op1( 0), CRn(10), CRm( 3), Op2( 0), access_vm_reg, NULL, AMAIR_EL1 },
2018 { AA32(HI), Op1( 0), CRn(10), CRm( 3), Op2( 1), access_vm_reg, NULL, AMAIR_EL1 },
2021 { Op1( 0), CRn(12), CRm(12), Op2( 5), access_gic_sre },
2023 { Op1( 0), CRn(13), CRm( 0), Op2( 1), access_vm_reg, NULL, CONTEXTIDR_EL1 },
2094 { Op1(0), CRn(14), CRm(15), Op2(7), access_pmu_evtyper },
2096 { Op1(1), CRn( 0), CRm( 0), Op2(0), access_ccsidr },
2097 { Op1(1), CRn( 0), CRm( 0), Op2(1), access_clidr },
2098 { Op1(2), CRn( 0), CRm( 0), Op2(0), access_csselr, NULL, CSSELR_EL1 },
2102 { Op1( 0), CRn( 0), CRm( 2), Op2( 0), access_vm_reg, NULL, TTBR0_EL1 },
2103 { Op1( 0), CRn( 0), CRm( 9), Op2( 0), access_pmu_evcntr },
2104 { Op1( 0), CRn( 0), CRm(12), Op2( 0), access_gic_sgi }, /* ICC_SGI1R */
2105 { Op1( 1), CRn( 0), CRm( 2), Op2( 0), access_vm_reg, NULL, TTBR1_EL1 },
2106 { Op1( 1), CRn( 0), CRm(12), Op2( 0), access_gic_sgi }, /* ICC_ASGI1R */
2107 { Op1( 2), CRn( 0), CRm(12), Op2( 0), access_gic_sgi }, /* ICC_SGI0R */
2238 params.CRn = 0; in kvm_handle_cp_64()
2284 params.CRn = (esr >> 10) & 0xf; in kvm_handle_cp_32()
2322 return params->Op0 == 3 && (params->CRn & 0b1011) == 0b1011; in is_imp_def_sys_reg()
2405 params->CRn = ((id & KVM_REG_ARM64_SYSREG_CRN_MASK) in index_to_params()
2700 (reg->CRn << KVM_REG_ARM64_SYSREG_CRN_SHIFT) | in sys_reg_to_index()