Home
last modified time | relevance | path

Searched refs:riscv_isa_extension_available (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_fp.c22 if (riscv_isa_extension_available(vcpu->arch.isa, f) || in kvm_riscv_vcpu_fp_reset()
23 riscv_isa_extension_available(vcpu->arch.isa, d)) in kvm_riscv_vcpu_fp_reset()
39 if (riscv_isa_extension_available(isa, d)) in kvm_riscv_vcpu_guest_fp_save()
41 else if (riscv_isa_extension_available(isa, f)) in kvm_riscv_vcpu_guest_fp_save()
51 if (riscv_isa_extension_available(isa, d)) in kvm_riscv_vcpu_guest_fp_restore()
53 else if (riscv_isa_extension_available(isa, f)) in kvm_riscv_vcpu_guest_fp_restore()
62 if (riscv_isa_extension_available(NULL, d)) in kvm_riscv_vcpu_host_fp_save()
64 else if (riscv_isa_extension_available(NULL, f)) in kvm_riscv_vcpu_host_fp_save()
70 if (riscv_isa_extension_available(NULL, d)) in kvm_riscv_vcpu_host_fp_restore()
72 else if (riscv_isa_extension_available(NULL, f)) in kvm_riscv_vcpu_host_fp_restore()
[all …]
H A Dvcpu_vector.c25 if (riscv_isa_extension_available(isa, v)) { in kvm_riscv_vcpu_vector_reset()
44 if (riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_guest_vector_save()
54 if (riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_guest_vector_restore()
63 if (riscv_isa_extension_available(NULL, v)) in kvm_riscv_vcpu_host_vector_save()
69 if (riscv_isa_extension_available(NULL, v)) in kvm_riscv_vcpu_host_vector_restore()
147 if (!riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_get_reg_vector()
173 if (!riscv_isa_extension_available(isa, v)) in kvm_riscv_vcpu_set_reg_vector()
H A Dvcpu_onereg.c137 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOM)) in kvm_riscv_vcpu_get_reg_config()
142 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOZ)) in kvm_riscv_vcpu_get_reg_config()
226 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOM)) in kvm_riscv_vcpu_set_reg_config()
232 if (!riscv_isa_extension_available(vcpu->arch.isa, ZICBOZ)) in kvm_riscv_vcpu_set_reg_config()
643 !riscv_isa_extension_available(vcpu->arch.isa, ZICBOM)) in copy_config_reg_indices()
646 !riscv_isa_extension_available(vcpu->arch.isa, ZICBOZ)) in copy_config_reg_indices()
697 if (riscv_isa_extension_available(vcpu->arch.isa, SSAIA)) in num_csr_regs()
724 if (riscv_isa_extension_available(vcpu->arch.isa, SSAIA)) { in copy_csr_reg_indices()
771 if (riscv_isa_extension_available(vcpu->arch.isa, f)) in num_fp_f_regs()
800 if (riscv_isa_extension_available(vcpu->arch.isa, d)) in num_fp_d_regs()
H A Dmain.c73 if (!riscv_isa_extension_available(NULL, h)) { in riscv_kvm_init()
H A Dvcpu.c478 if (riscv_isa_extension_available(isa, SVPBMT)) in kvm_riscv_vcpu_update_config()
481 if (riscv_isa_extension_available(isa, SSTC)) in kvm_riscv_vcpu_update_config()
484 if (riscv_isa_extension_available(isa, ZICBOM)) in kvm_riscv_vcpu_update_config()
487 if (riscv_isa_extension_available(isa, ZICBOZ)) in kvm_riscv_vcpu_update_config()
H A Dvcpu_timer.c256 if (riscv_isa_extension_available(NULL, SSTC)) { in kvm_riscv_vcpu_timer_init()
H A Daia.c604 if (!riscv_isa_extension_available(NULL, SxAIA)) in kvm_riscv_aia_init()
H A Dvcpu_pmu.c556 if (!riscv_isa_extension_available(NULL, SSCOFPMF)) in kvm_riscv_vcpu_pmu_init()
/openbmc/linux/arch/riscv/kernel/
H A Dsys_riscv.c135 if (riscv_isa_extension_available(NULL, c)) in hwprobe_isa_ext0()
148 if (riscv_isa_extension_available(isainfo->isa, ZBA)) in hwprobe_isa_ext0()
153 if (riscv_isa_extension_available(isainfo->isa, ZBB)) in hwprobe_isa_ext0()
158 if (riscv_isa_extension_available(isainfo->isa, ZBS)) in hwprobe_isa_ext0()
H A Dsetup.c311 riscv_isa_extension_available(NULL, ZICBOM)) in setup_arch()
/openbmc/linux/arch/riscv/include/asm/
H A Dhwcap.h91 #define riscv_isa_extension_available(isa_bitmap, ext) \ macro
/openbmc/linux/drivers/clocksource/
H A Dtimer-riscv.c163 if (riscv_isa_extension_available(NULL, SSTC)) { in riscv_timer_init_common()
/openbmc/linux/drivers/perf/
H A Driscv_pmu_sbi.c810 if (riscv_isa_extension_available(NULL, SSCOFPMF)) { in pmu_sbi_setup_irqs()