Home
last modified time | relevance | path

Searched refs:out_val (Results 1 – 10 of 10) sorted by relevance

/arch/riscv/kvm/
Dvcpu_sbi_base.c21 unsigned long *out_val = &retdata->out_val; in kvm_sbi_ext_base_handler() local
25 *out_val = (KVM_SBI_VERSION_MAJOR << in kvm_sbi_ext_base_handler()
30 *out_val = KVM_SBI_IMPID; in kvm_sbi_ext_base_handler()
33 *out_val = LINUX_VERSION_CODE; in kvm_sbi_ext_base_handler()
48 *out_val = sbi_ext && sbi_ext->probe ? in kvm_sbi_ext_base_handler()
53 *out_val = vcpu->arch.mvendorid; in kvm_sbi_ext_base_handler()
56 *out_val = vcpu->arch.marchid; in kvm_sbi_ext_base_handler()
59 *out_val = vcpu->arch.mimpid; in kvm_sbi_ext_base_handler()
Dvcpu_pmu.c200 unsigned long *out_val) in pmu_ctr_read() argument
217 *out_val = pmc->counter_val; in pmu_ctr_read()
318 retdata->out_val = kvm_pmu_num_counters(kvpmu); in kvm_riscv_vcpu_pmu_num_ctrs()
333 retdata->out_val = kvpmu->pmc[cidx].cinfo.value; in kvm_riscv_vcpu_pmu_ctr_info()
526 retdata->out_val = ctr_idx; in kvm_riscv_vcpu_pmu_ctr_cfg_match()
538 ret = pmu_ctr_read(vcpu, cidx, &retdata->out_val); in kvm_riscv_vcpu_pmu_ctr_read()
Dvcpu_sbi_hsm.c89 retdata->out_val = ret; in kvm_sbi_ext_hsm_handler()
Daia.c174 unsigned long *out_val) in kvm_riscv_vcpu_aia_get_csr() argument
181 *out_val = 0; in kvm_riscv_vcpu_aia_get_csr()
183 *out_val = ((unsigned long *)csr)[reg_num]; in kvm_riscv_vcpu_aia_get_csr()
Dvcpu_sbi.c366 .out_val = 0, in kvm_riscv_vcpu_sbi_ecall()
418 cp->a1 = sbi_ret.out_val; in kvm_riscv_vcpu_sbi_ecall()
Dvcpu_onereg.c342 unsigned long *out_val) in kvm_riscv_vcpu_general_get_csr() argument
351 *out_val = (csr->hvip >> VSIP_TO_HVIP_SHIFT) & VSIP_VALID_MASK; in kvm_riscv_vcpu_general_get_csr()
352 *out_val |= csr->hvip & ~IRQ_LOCAL_MASK; in kvm_riscv_vcpu_general_get_csr()
354 *out_val = ((unsigned long *)csr)[reg_num]; in kvm_riscv_vcpu_general_get_csr()
/arch/riscv/include/asm/
Dkvm_vcpu_sbi.h29 unsigned long out_val; member
Dkvm_aia.h134 unsigned long *out_val);
/arch/powerpc/perf/
Dhv-24x7.c547 goto out_val; in event_to_attr()
556 out_val: in event_to_attr()
/arch/powerpc/lib/
Dsstep.c1232 unsigned long long out_val, mask; in do_cmpb() local
1235 out_val = 0; in do_cmpb()
1239 out_val |= mask; in do_cmpb()
1241 op->val = out_val; in do_cmpb()