Home
last modified time | relevance | path

Searched refs:csr_num (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/arch/riscv/kvm/
Dvcpu_insn.c211 int (*func)(struct kvm_vcpu *vcpu, unsigned int csr_num,
253 unsigned int csr_num = insn >> SH_RS2; in csr_insn() local
294 run->riscv_csr.csr_num = csr_num; in csr_insn()
302 if ((tcfn->base <= csr_num) && in csr_insn()
303 (csr_num < (tcfn->base + tcfn->count))) { in csr_insn()
311 rc = cfn->func(vcpu, csr_num, &val, new_val, wr_mask); in csr_insn()
Dvcpu_pmu.c278 int kvm_riscv_vcpu_pmu_read_hpm(struct kvm_vcpu *vcpu, unsigned int csr_num, in kvm_riscv_vcpu_pmu_read_hpm() argument
293 if (csr_num == CSR_CYCLE || csr_num == CSR_INSTRET) { in kvm_riscv_vcpu_pmu_read_hpm()
305 cidx = csr_num - CSR_CYCLE; in kvm_riscv_vcpu_pmu_read_hpm()
Daia.c210 unsigned int csr_num, in kvm_riscv_vcpu_aia_rmw_topei() argument
369 int kvm_riscv_vcpu_aia_rmw_ireg(struct kvm_vcpu *vcpu, unsigned int csr_num, in kvm_riscv_vcpu_aia_rmw_ireg() argument
/linux-6.6.21/arch/riscv/include/asm/
Dkvm_aia.h140 unsigned int csr_num,
144 int kvm_riscv_vcpu_aia_rmw_ireg(struct kvm_vcpu *vcpu, unsigned int csr_num,
Dkvm_vcpu_pmu.h68 int kvm_riscv_vcpu_pmu_read_hpm(struct kvm_vcpu *vcpu, unsigned int csr_num,
/linux-6.6.21/drivers/perf/
Driscv_pmu.c93 static unsigned long csr_read_num(int csr_num) in csr_read_num() argument
117 switch (csr_num) { in csr_read_num()
/linux-6.6.21/tools/lib/perf/
Dmmap.c412 static unsigned long csr_read_num(int csr_num) in csr_read_num() argument
436 switch (csr_num) { in csr_read_num()
/linux-6.6.21/tools/include/uapi/linux/
Dkvm.h503 unsigned long csr_num; member
/linux-6.6.21/include/uapi/linux/
Dkvm.h503 unsigned long csr_num; member