Home
last modified time | relevance | path

Searched refs:KVM_REG_RISCV_CORE_REG (Results 1 – 2 of 2) sorted by relevance

/arch/riscv/kvm/
Dvcpu_onereg.c288 if (reg_num == KVM_REG_RISCV_CORE_REG(regs.pc)) in kvm_riscv_vcpu_get_reg_core()
290 else if (KVM_REG_RISCV_CORE_REG(regs.pc) < reg_num && in kvm_riscv_vcpu_get_reg_core()
291 reg_num <= KVM_REG_RISCV_CORE_REG(regs.t6)) in kvm_riscv_vcpu_get_reg_core()
293 else if (reg_num == KVM_REG_RISCV_CORE_REG(mode)) in kvm_riscv_vcpu_get_reg_core()
324 if (reg_num == KVM_REG_RISCV_CORE_REG(regs.pc)) in kvm_riscv_vcpu_set_reg_core()
326 else if (KVM_REG_RISCV_CORE_REG(regs.pc) < reg_num && in kvm_riscv_vcpu_set_reg_core()
327 reg_num <= KVM_REG_RISCV_CORE_REG(regs.t6)) in kvm_riscv_vcpu_set_reg_core()
329 else if (reg_num == KVM_REG_RISCV_CORE_REG(mode)) { in kvm_riscv_vcpu_set_reg_core()
/arch/riscv/include/uapi/asm/
Dkvm.h174 #define KVM_REG_RISCV_CORE_REG(name) \ macro