Searched refs:multi_ext_cfg (Results 1 – 2 of 2) sorted by relevance
348 KVMCPUConfig *multi_ext_cfg = opaque; in kvm_cpu_get_multi_ext_cfg() local359 KVMCPUConfig *multi_ext_cfg = opaque; in kvm_cpu_set_multi_ext_cfg() local377 if (!multi_ext_cfg->supported) { in kvm_cpu_set_multi_ext_cfg()385 multi_ext_cfg->name); in kvm_cpu_set_multi_ext_cfg()391 multi_ext_cfg->user_set = true; in kvm_cpu_set_multi_ext_cfg()392 kvm_cpu_cfg_set(cpu, multi_ext_cfg, value); in kvm_cpu_set_multi_ext_cfg()429 if (!multi_ext_cfg->user_set) { in kvm_riscv_update_cpu_cfg_isa_ext()1021 multi_ext_cfg->supported = true; in kvm_riscv_read_multiext_legacy()1095 KVMCPUConfig *multi_ext_cfg; in kvm_riscv_init_multiext_cfg() local1138 multi_ext_cfg = &kvm_multi_ext_cfgs[i]; in kvm_riscv_init_multiext_cfg()[all …]
1224 const RISCVCPUMultiExtConfig *multi_ext_cfg = opaque; in cpu_set_multi_ext_cfg() local1233 if (cpu_ext_is_deprecated(multi_ext_cfg->name)) { in cpu_set_multi_ext_cfg()1234 g_autofree char *lower = cpu_ext_to_lower(multi_ext_cfg->name); in cpu_set_multi_ext_cfg()1237 multi_ext_cfg->name, lower); in cpu_set_multi_ext_cfg()1240 cpu_cfg_ext_add_user_opt(multi_ext_cfg->offset, value); in cpu_set_multi_ext_cfg()1242 prev_val = isa_ext_is_enabled(cpu, multi_ext_cfg->offset); in cpu_set_multi_ext_cfg()1256 cpu_bump_multi_ext_priv_ver(&cpu->env, multi_ext_cfg->offset); in cpu_set_multi_ext_cfg()1259 isa_ext_update_enabled(cpu, multi_ext_cfg->offset, value); in cpu_set_multi_ext_cfg()1265 const RISCVCPUMultiExtConfig *multi_ext_cfg = opaque; in cpu_get_multi_ext_cfg() local1266 bool value = isa_ext_is_enabled(RISCV_CPU(obj), multi_ext_cfg->offset); in cpu_get_multi_ext_cfg()