Searched refs:vreg_idx (Results 1 – 1 of 1) sorted by relevance
769 int vreg_idx, ret = 0; in kvm_riscv_get_regs_vector() local806 vreg_idx = i * RV_VLEN_MAX / 64; in kvm_riscv_get_regs_vector()809 ret = kvm_get_one_reg(cs, vreg_id, &env->vreg[vreg_idx]); in kvm_riscv_get_regs_vector()825 int vreg_idx, ret = 0; in kvm_riscv_put_regs_vector() local859 vreg_idx = i * RV_VLEN_MAX / 64; in kvm_riscv_put_regs_vector()862 ret = kvm_set_one_reg(cs, vreg_id, &env->vreg[vreg_idx]); in kvm_riscv_put_regs_vector()