Home
last modified time | relevance | path

Searched refs:KVM_REG_RISCV_TIMER (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c263 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_TIMER); in timer_id_to_str()
456 case KVM_REG_RISCV_TIMER: in print_reg()
535 KVM_REG_RISCV | KVM_REG_SIZE_U64 | KVM_REG_RISCV_TIMER | KVM_REG_RISCV_TIMER_REG(frequency),
536 KVM_REG_RISCV | KVM_REG_SIZE_U64 | KVM_REG_RISCV_TIMER | KVM_REG_RISCV_TIMER_REG(time),
537 KVM_REG_RISCV | KVM_REG_SIZE_U64 | KVM_REG_RISCV_TIMER | KVM_REG_RISCV_TIMER_REG(compare),
538 KVM_REG_RISCV | KVM_REG_SIZE_U64 | KVM_REG_RISCV_TIMER | KVM_REG_RISCV_TIMER_REG(state),
557 KVM_REG_RISCV | KVM_REG_SIZE_U64 | KVM_REG_RISCV_TIMER | KVM_REG_RISCV_TIMER_REG(state),
/openbmc/linux/tools/testing/selftests/kvm/include/riscv/
H A Dprocessor.h37 #define RISCV_TIMER_REG(name) __kvm_reg_id(KVM_REG_RISCV_TIMER, \
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_timer.c167 KVM_REG_RISCV_TIMER); in kvm_riscv_vcpu_get_reg_timer()
207 KVM_REG_RISCV_TIMER); in kvm_riscv_vcpu_set_reg_timer()
H A Dvcpu_onereg.c755 KVM_REG_RISCV_TIMER | i; in copy_timer_reg_indices()
1004 case KVM_REG_RISCV_TIMER: in kvm_riscv_vcpu_set_reg()
1035 case KVM_REG_RISCV_TIMER: in kvm_riscv_vcpu_get_reg()
/openbmc/linux/arch/riscv/include/uapi/asm/
H A Dkvm.h187 #define KVM_REG_RISCV_TIMER (0x04 << KVM_REG_RISCV_TYPE_SHIFT) macro
/openbmc/qemu/linux-headers/asm-riscv/
H A Dkvm.h242 #define KVM_REG_RISCV_TIMER (0x04 << KVM_REG_RISCV_TYPE_SHIFT) macro
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c122 #define RISCV_TIMER_REG(name) kvm_riscv_reg_id_u64(KVM_REG_RISCV_TIMER, \