Home
last modified time | relevance | path

Searched refs:vlenb (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/arch/riscv/kvm/
H A Dvcpu_vector.c79 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() local
119 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()
H A Dvcpu_onereg.c1136 size = __builtin_ctzl(cntx->vector.vlenb); in copy_vector_reg_indices()
/linux-6.15/arch/riscv/include/uapi/asm/
H A Dptrace.h105 unsigned long vlenb; member
119 unsigned long vlenb; member
/linux-6.15/arch/riscv/kernel/
H A Dptrace.c115 ptrace_vstate.vlenb = vstate->vlenb; in riscv_vr_get()
142 if (vstate->vlenb != ptrace_vstate.vlenb) in riscv_vr_set()
H A Dcpufeature.c918 u32 vlenb; in has_thead_homogeneous_vlenb() local
933 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()
/linux-6.15/Documentation/devicetree/bindings/riscv/
H A Dcpus.yaml40 thead,vlenb: false
111 thead,vlenb:
116 the vlenb CSR is not available.
/linux-6.15/arch/riscv/include/asm/
H A Dvector.h151 dest->vlenb = riscv_v_vsize / 32; in __vstate_csr_save()
157 dest->vlenb = csr_read(CSR_VLENB); in __vstate_csr_save()
/linux-6.15/arch/riscv/boot/dts/allwinner/
H A Dsun20i-d1s.dtsi31 thead,vlenb = <128>;