Searched refs:csr_num (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/arch/riscv/kvm/ |
D | vcpu_insn.c | 211 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()
|
D | vcpu_pmu.c | 278 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()
|
D | aia.c | 210 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/ |
D | kvm_aia.h | 140 unsigned int csr_num, 144 int kvm_riscv_vcpu_aia_rmw_ireg(struct kvm_vcpu *vcpu, unsigned int csr_num,
|
D | kvm_vcpu_pmu.h | 68 int kvm_riscv_vcpu_pmu_read_hpm(struct kvm_vcpu *vcpu, unsigned int csr_num,
|
/linux-6.6.21/drivers/perf/ |
D | riscv_pmu.c | 93 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/ |
D | mmap.c | 412 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/ |
D | kvm.h | 503 unsigned long csr_num; member
|
/linux-6.6.21/include/uapi/linux/ |
D | kvm.h | 503 unsigned long csr_num; member
|