Searched refs:vlenb (Results 1 – 8 of 8) sorted by relevance
79 cntx->vector.vlenb = riscv_v_vsize / 32; in kvm_riscv_vcpu_alloc_vector_context()101 size_t vlenb = riscv_v_vsize / 32; in kvm_riscv_vcpu_vreg_addr() local119 case KVM_REG_RISCV_VECTOR_CSR_REG(vlenb): in kvm_riscv_vcpu_vreg_addr()120 *reg_addr = &cntx->vector.vlenb; in kvm_riscv_vcpu_vreg_addr()127 if (reg_size != vlenb) in kvm_riscv_vcpu_vreg_addr()130 (reg_num - KVM_REG_RISCV_VECTOR_REG(0)) * vlenb; in kvm_riscv_vcpu_vreg_addr()180 if (reg_num == KVM_REG_RISCV_VECTOR_CSR_REG(vlenb)) { in kvm_riscv_vcpu_set_reg_vector()186 if (reg_val != cntx->vector.vlenb) in kvm_riscv_vcpu_set_reg_vector()
1136 size = __builtin_ctzl(cntx->vector.vlenb); in copy_vector_reg_indices()
105 unsigned long vlenb; member119 unsigned long vlenb; member
115 ptrace_vstate.vlenb = vstate->vlenb; in riscv_vr_get()142 if (vstate->vlenb != ptrace_vstate.vlenb) in riscv_vr_set()
918 u32 vlenb; in has_thead_homogeneous_vlenb() local933 if (of_property_read_u32(cpu_node, "thead,vlenb", &vlenb)) { in has_thead_homogeneous_vlenb()941 if (prev_vlenb && vlenb != prev_vlenb) { in has_thead_homogeneous_vlenb()946 prev_vlenb = vlenb; in has_thead_homogeneous_vlenb()950 thead_vlenb_of = vlenb; in has_thead_homogeneous_vlenb()
40 thead,vlenb: false111 thead,vlenb:116 the vlenb CSR is not available.
151 dest->vlenb = riscv_v_vsize / 32; in __vstate_csr_save()157 dest->vlenb = csr_read(CSR_VLENB); in __vstate_csr_save()
31 thead,vlenb = <128>;