Home
last modified time | relevance | path

Searched refs:reg_subtype (Results 1 – 3 of 3) sorted by relevance

/linux/arch/riscv/kvm/
A Dvcpu_sbi.c263 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_set_reg_sbi_ext() local
271 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_set_reg_sbi_ext()
277 switch (reg_subtype) { in kvm_riscv_vcpu_set_reg_sbi_ext()
300 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_get_reg_sbi_ext() local
305 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_get_reg_sbi_ext()
309 switch (reg_subtype) { in kvm_riscv_vcpu_get_reg_sbi_ext()
339 unsigned long reg_subtype, reg_val; in kvm_riscv_vcpu_set_reg_sbi() local
347 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_set_reg_sbi()
350 switch (reg_subtype) { in kvm_riscv_vcpu_set_reg_sbi()
368 unsigned long reg_subtype, reg_val; in kvm_riscv_vcpu_get_reg_sbi() local
[all …]
A Dvcpu_onereg.c502 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_get_reg_csr() local
507 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_get_reg_csr()
509 switch (reg_subtype) { in kvm_riscv_vcpu_get_reg_csr()
544 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_set_reg_csr() local
552 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_set_reg_csr()
554 switch (reg_subtype) { in kvm_riscv_vcpu_set_reg_csr()
688 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_get_reg_isa_ext() local
693 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_get_reg_isa_ext()
697 switch (reg_subtype) { in kvm_riscv_vcpu_get_reg_isa_ext()
727 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_set_reg_isa_ext() local
[all …]
/linux/tools/testing/selftests/kvm/riscv/
A Dget-reg-list.c328 __u64 reg_subtype = reg_off & KVM_REG_RISCV_SUBTYPE_MASK; in csr_id_to_str() local
334 switch (reg_subtype) { in csr_id_to_str()
486 switch (reg_subtype) { in isa_ext_multi_id_to_str()
499 __u64 reg_subtype = reg_off & KVM_REG_RISCV_SUBTYPE_MASK; in isa_ext_id_to_str() local
505 switch (reg_subtype) { in isa_ext_id_to_str()
510 return isa_ext_multi_id_to_str(reg_subtype, reg_off); in isa_ext_id_to_str()
549 switch (reg_subtype) { in sbi_ext_multi_id_to_str()
562 __u64 reg_subtype = reg_off & KVM_REG_RISCV_SUBTYPE_MASK; in sbi_ext_id_to_str() local
568 switch (reg_subtype) { in sbi_ext_id_to_str()
573 return sbi_ext_multi_id_to_str(reg_subtype, reg_off); in sbi_ext_id_to_str()
[all …]

Completed in 12 milliseconds