Home
last modified time | relevance | path

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

/linux-6.15/arch/riscv/kvm/
H A Dvcpu_sbi.c267 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_set_reg_sbi_ext() local
275 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_set_reg_sbi_ext()
281 switch (reg_subtype) { in kvm_riscv_vcpu_set_reg_sbi_ext()
304 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_get_reg_sbi_ext() local
309 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_get_reg_sbi_ext()
313 switch (reg_subtype) { in kvm_riscv_vcpu_get_reg_sbi_ext()
343 unsigned long reg_subtype, reg_val; in kvm_riscv_vcpu_set_reg_sbi() local
351 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_set_reg_sbi()
354 switch (reg_subtype) { in kvm_riscv_vcpu_set_reg_sbi()
372 unsigned long reg_subtype, reg_val; in kvm_riscv_vcpu_get_reg_sbi() local
[all …]
H A Dvcpu_onereg.c531 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_get_reg_csr() local
536 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_get_reg_csr()
538 switch (reg_subtype) { in kvm_riscv_vcpu_get_reg_csr()
573 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_set_reg_csr() local
581 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_set_reg_csr()
583 switch (reg_subtype) { in kvm_riscv_vcpu_set_reg_csr()
717 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_get_reg_isa_ext() local
722 reg_subtype = reg_num & KVM_REG_RISCV_SUBTYPE_MASK; in kvm_riscv_vcpu_get_reg_isa_ext()
726 switch (reg_subtype) { in kvm_riscv_vcpu_get_reg_isa_ext()
756 unsigned long reg_val, reg_subtype; in kvm_riscv_vcpu_set_reg_isa_ext() local
[all …]
/linux-6.15/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c338 __u64 reg_subtype = reg_off & KVM_REG_RISCV_SUBTYPE_MASK; in csr_id_to_str() local
344 switch (reg_subtype) { in csr_id_to_str()
505 switch (reg_subtype) { in isa_ext_multi_id_to_str()
518 __u64 reg_subtype = reg_off & KVM_REG_RISCV_SUBTYPE_MASK; in isa_ext_id_to_str() local
524 switch (reg_subtype) { in isa_ext_id_to_str()
529 return isa_ext_multi_id_to_str(reg_subtype, reg_off); in isa_ext_id_to_str()
569 switch (reg_subtype) { in sbi_ext_multi_id_to_str()
582 __u64 reg_subtype = reg_off & KVM_REG_RISCV_SUBTYPE_MASK; in sbi_ext_id_to_str() local
588 switch (reg_subtype) { in sbi_ext_id_to_str()
593 return sbi_ext_multi_id_to_str(reg_subtype, reg_off); in sbi_ext_id_to_str()
[all …]