Lines Matching refs:sys_reg_desc
61 const struct sys_reg_desc *r) in read_from_write_only()
71 const struct sys_reg_desc *r) in write_to_read_only()
192 const struct sys_reg_desc *r) in access_dcsw()
217 const struct sys_reg_desc *r) in access_vm_reg()
253 const struct sys_reg_desc *r) in access_gic_sgi()
298 const struct sys_reg_desc *r) in access_gic_sre()
309 const struct sys_reg_desc *r) in trap_raz_wi()
319 const struct sys_reg_desc *r) in trap_undef()
327 const struct sys_reg_desc *r) in trap_oslsr_el1()
339 const struct sys_reg_desc *r) in trap_dbgauthstatus_el1()
378 const struct sys_reg_desc *r) in trap_debug_regs()
427 const struct sys_reg_desc *rd) in trap_bvr()
441 static int set_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bvr()
451 static int get_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bvr()
462 const struct sys_reg_desc *rd) in reset_bvr()
469 const struct sys_reg_desc *rd) in trap_bcr()
483 static int set_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_bcr()
494 static int get_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_bcr()
505 const struct sys_reg_desc *rd) in reset_bcr()
512 const struct sys_reg_desc *rd) in trap_wvr()
527 static int set_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_wvr()
537 static int get_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_wvr()
548 const struct sys_reg_desc *rd) in reset_wvr()
555 const struct sys_reg_desc *rd) in trap_wcr()
569 static int set_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_wcr()
579 static int get_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_wcr()
590 const struct sys_reg_desc *rd) in reset_wcr()
595 static void reset_amair_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_amair_el1()
601 static void reset_mpidr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_mpidr()
618 static void reset_pmcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r) in reset_pmcr()
664 const struct sys_reg_desc *r) in access_pmcr()
692 const struct sys_reg_desc *r) in access_pmselr()
711 const struct sys_reg_desc *r) in access_pmceid()
749 const struct sys_reg_desc *r) in access_pmu_evcntr()
805 const struct sys_reg_desc *r) in access_pmu_evtyper()
844 const struct sys_reg_desc *r) in access_pmcnten()
874 const struct sys_reg_desc *r) in access_pminten()
903 const struct sys_reg_desc *r) in access_pmovs()
928 const struct sys_reg_desc *r) in access_pmswinc()
947 const struct sys_reg_desc *r) in access_pmuserenr()
991 const struct sys_reg_desc *r) in access_cntp_tval()
1009 const struct sys_reg_desc *r) in access_cntp_ctl()
1021 const struct sys_reg_desc *r) in access_cntp_cval()
1032 static u64 read_id_reg(struct sys_reg_desc const *r, bool raz) in read_id_reg()
1057 const struct sys_reg_desc *r, in __access_id_reg()
1069 const struct sys_reg_desc *r) in access_id_reg()
1076 const struct sys_reg_desc *r) in access_raz_id_reg()
1083 static u64 sys_reg_to_index(const struct sys_reg_desc *reg);
1092 static int __get_id_reg(const struct sys_reg_desc *rd, void __user *uaddr, in __get_id_reg()
1101 static int __set_id_reg(const struct sys_reg_desc *rd, void __user *uaddr, in __set_id_reg()
1119 static int get_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_id_reg()
1125 static int set_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_id_reg()
1131 static int get_raz_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in get_raz_id_reg()
1137 static int set_raz_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, in set_raz_id_reg()
1186 static const struct sys_reg_desc sys_reg_descs[] = {
1464 const struct sys_reg_desc *r) in trap_dbgidr()
1483 const struct sys_reg_desc *r) in trap_debug32()
1508 const struct sys_reg_desc *rd) in trap_xvr()
1547 static const struct sys_reg_desc cp14_regs[] = {
1632 static const struct sys_reg_desc cp14_64_regs[] = {
1659 static const struct sys_reg_desc cp15_regs[] = {
1779 static const struct sys_reg_desc cp15_64_regs[] = {
1799 static const struct sys_reg_desc *get_target_table(unsigned target, in get_target_table()
1829 const struct sys_reg_desc *r = elt; in match_sys_reg()
1834 static const struct sys_reg_desc *find_reg(const struct sys_reg_params *params, in find_reg()
1835 const struct sys_reg_desc table[], in find_reg()
1851 const struct sys_reg_desc *r) in perform_access()
1877 const struct sys_reg_desc *table, in emulate_cp()
1880 const struct sys_reg_desc *r; in emulate_cp()
1927 const struct sys_reg_desc *global, in kvm_handle_cp_64()
1929 const struct sys_reg_desc *target_specific, in kvm_handle_cp_64()
1984 const struct sys_reg_desc *global, in kvm_handle_cp_32()
1986 const struct sys_reg_desc *target_specific, in kvm_handle_cp_32()
2016 const struct sys_reg_desc *target_specific; in kvm_handle_cp15_64()
2027 const struct sys_reg_desc *target_specific; in kvm_handle_cp15_32()
2054 const struct sys_reg_desc *table, *r; in emulate_sys_reg()
2075 const struct sys_reg_desc *table, size_t num) in reset_sys_reg_descs()
2148 const struct sys_reg_desc *find_reg_by_id(u64 id, in find_reg_by_id()
2150 const struct sys_reg_desc table[], in find_reg_by_id()
2160 static const struct sys_reg_desc *index_to_sys_reg_desc(struct kvm_vcpu *vcpu, in index_to_sys_reg_desc()
2164 const struct sys_reg_desc *table, *r; in index_to_sys_reg_desc()
2193 const struct sys_reg_desc *r) \
2195 ((struct sys_reg_desc *)r)->val = read_sysreg(reg); \
2205 static struct sys_reg_desc invariant_sys_regs[] = {
2230 const struct sys_reg_desc *r; in get_invariant_sys_reg()
2243 const struct sys_reg_desc *r; in set_invariant_sys_reg()
2347 const struct sys_reg_desc *r; in kvm_arm_sys_reg_get_reg()
2368 const struct sys_reg_desc *r; in kvm_arm_sys_reg_set_reg()
2414 static u64 sys_reg_to_index(const struct sys_reg_desc *reg) in sys_reg_to_index()
2425 static bool copy_reg_to_user(const struct sys_reg_desc *reg, u64 __user **uind) in copy_reg_to_user()
2437 static int walk_one_sys_reg(const struct sys_reg_desc *rd, in walk_one_sys_reg()
2458 const struct sys_reg_desc *i1, *i2, *end1, *end2; in walk_sys_regs()
2518 static int check_sysreg_table(const struct sys_reg_desc *table, unsigned int n) in check_sysreg_table()
2535 struct sys_reg_desc clidr; in kvm_sys_reg_table_init()
2578 const struct sys_reg_desc *table; in kvm_reset_sys_regs()