Lines Matching refs:sys_reg_desc

49 				 const struct sys_reg_desc *r)  in read_from_write_only()
59 const struct sys_reg_desc *r) in write_to_read_only()
113 const struct sys_reg_desc *r) in access_dcsw()
131 static void get_access_mask(const struct sys_reg_desc *r, u64 *mask, u64 *shift) in get_access_mask()
156 const struct sys_reg_desc *r) in access_vm_reg()
181 const struct sys_reg_desc *r) in access_actlr()
202 const struct sys_reg_desc *r) in access_gic_sgi()
247 const struct sys_reg_desc *r) in access_gic_sre()
258 const struct sys_reg_desc *r) in trap_raz_wi()
274 const struct sys_reg_desc *r) in trap_loregion()
292 const struct sys_reg_desc *r) in trap_oslsr_el1()
304 const struct sys_reg_desc *r) in trap_dbgauthstatus_el1()
343 const struct sys_reg_desc *r) in trap_debug_regs()
368 const struct sys_reg_desc *rd, in reg_to_dbg()
385 const struct sys_reg_desc *rd, in dbg_to_reg()
396 const struct sys_reg_desc *rd) in trap_bvr()
410 static int set_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bvr()
420 static int get_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bvr()
431 const struct sys_reg_desc *rd) in reset_bvr()
438 const struct sys_reg_desc *rd) in trap_bcr()
452 static int set_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bcr()
463 static int get_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bcr()
474 const struct sys_reg_desc *rd) in reset_bcr()
481 const struct sys_reg_desc *rd) in trap_wvr()
496 static int set_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_wvr()
506 static int get_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_wvr()
517 const struct sys_reg_desc *rd) in reset_wvr()
524 const struct sys_reg_desc *rd) in trap_wcr()
538 static int set_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_wcr()
548 static int get_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_wcr()
559 const struct sys_reg_desc *rd) in reset_wcr()
564 static void reset_amair_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_amair_el1()
570 static void reset_actlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_actlr()
576 static void reset_mpidr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_mpidr()
594 const struct sys_reg_desc *r) in pmu_visibility()
602 static void reset_pmu_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_pmu_reg()
619 static void reset_pmevcntr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_pmevcntr()
625 static void reset_pmevtyper(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_pmevtyper()
631 static void reset_pmselr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_pmselr()
637 static void reset_pmcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_pmcr()
689 const struct sys_reg_desc *r) in access_pmcr()
717 const struct sys_reg_desc *r) in access_pmselr()
733 const struct sys_reg_desc *r) in access_pmceid()
769 const struct sys_reg_desc *r) in access_pmu_evcntr()
821 const struct sys_reg_desc *r) in access_pmu_evtyper()
858 const struct sys_reg_desc *r) in access_pmcnten()
886 const struct sys_reg_desc *r) in access_pminten()
910 const struct sys_reg_desc *r) in access_pmovs()
932 const struct sys_reg_desc *r) in access_pmswinc()
948 const struct sys_reg_desc *r) in access_pmuserenr()
993 const struct sys_reg_desc *r) in undef_access()
1007 const struct sys_reg_desc *rd) in ptrauth_visibility()
1028 const struct sys_reg_desc *r) in access_arch_timer()
1064 struct sys_reg_desc const *r, bool raz) in read_id_reg()
1123 const struct sys_reg_desc *r) in id_visibility()
1141 const struct sys_reg_desc *r, in __access_id_reg()
1153 const struct sys_reg_desc *r) in access_id_reg()
1162 const struct sys_reg_desc *r) in access_raz_id_reg()
1169 static u64 sys_reg_to_index(const struct sys_reg_desc *reg);
1173 const struct sys_reg_desc *rd) in sve_visibility()
1182 const struct sys_reg_desc *rd, in set_id_aa64pfr0_el1()
1231 const struct sys_reg_desc *rd, void __user *uaddr, in __get_id_reg()
1241 const struct sys_reg_desc *rd, void __user *uaddr, in __set_id_reg()
1259 static int get_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_id_reg()
1267 static int set_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_id_reg()
1275 static int set_raz_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_raz_id_reg()
1281 static int get_raz_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_raz_reg()
1290 static int set_wi_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_wi_reg()
1305 const struct sys_reg_desc *r) in access_ctr()
1315 const struct sys_reg_desc *r) in access_clidr()
1325 const struct sys_reg_desc *r) in access_csselr()
1337 const struct sys_reg_desc *r) in access_ccsidr()
1365 const struct sys_reg_desc *rd) in mte_visibility()
1425 static const struct sys_reg_desc sys_reg_descs[] = {
1835 const struct sys_reg_desc *r) in trap_dbgdidr()
1879 static const struct sys_reg_desc cp14_regs[] = {
1964 static const struct sys_reg_desc cp14_64_regs[] = {
1991 static const struct sys_reg_desc cp15_regs[] = {
2135 static const struct sys_reg_desc cp15_64_regs[] = {
2145 static int check_sysreg_table(const struct sys_reg_desc *table, unsigned int n, in check_sysreg_table()
2174 const struct sys_reg_desc *r) in perform_access()
2208 const struct sys_reg_desc *table, in emulate_cp()
2211 const struct sys_reg_desc *r; in emulate_cp()
2258 const struct sys_reg_desc *global, in kvm_handle_cp_64()
2308 const struct sys_reg_desc *global, in kvm_handle_cp_32()
2362 const struct sys_reg_desc *r; in emulate_sys_reg()
2451 const struct sys_reg_desc *find_reg_by_id(u64 id, in find_reg_by_id()
2453 const struct sys_reg_desc table[], in find_reg_by_id()
2463 static const struct sys_reg_desc *index_to_sys_reg_desc(struct kvm_vcpu *vcpu, in index_to_sys_reg_desc()
2466 const struct sys_reg_desc *r; in index_to_sys_reg_desc()
2495 const struct sys_reg_desc *r) \
2497 ((struct sys_reg_desc *)r)->val = read_sysreg(reg); \
2505 static void get_ctr_el0(struct kvm_vcpu *v, const struct sys_reg_desc *r) in FUNCTION_INVARIANT()
2507 ((struct sys_reg_desc *)r)->val = read_sanitised_ftr_reg(SYS_CTR_EL0); in FUNCTION_INVARIANT()
2511 static struct sys_reg_desc invariant_sys_regs[] = {
2536 const struct sys_reg_desc *r; in get_invariant_sys_reg()
2549 const struct sys_reg_desc *r; in set_invariant_sys_reg()
2653 const struct sys_reg_desc *r; in kvm_arm_sys_reg_get_reg()
2678 const struct sys_reg_desc *r; in kvm_arm_sys_reg_set_reg()
2728 static u64 sys_reg_to_index(const struct sys_reg_desc *reg) in sys_reg_to_index()
2739 static bool copy_reg_to_user(const struct sys_reg_desc *reg, u64 __user **uind) in copy_reg_to_user()
2752 const struct sys_reg_desc *rd, in walk_one_sys_reg()
2776 const struct sys_reg_desc *i2, *end2; in walk_sys_regs()
2821 struct sys_reg_desc clidr; in kvm_sys_reg_table_init()