Searched refs:vlenb (Results 1 – 9 of 9) sorted by relevance
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_vector.c | 26 cntx->vector.vlenb = riscv_v_vsize / 32; in kvm_riscv_vcpu_vector_reset() 102 size_t vlenb = riscv_v_vsize / 32; in kvm_riscv_vcpu_vreg_addr() local 120 case KVM_REG_RISCV_VECTOR_CSR_REG(vlenb): in kvm_riscv_vcpu_vreg_addr() 121 *reg_addr = &cntx->vector.vlenb; in kvm_riscv_vcpu_vreg_addr() 128 if (reg_size != vlenb) in kvm_riscv_vcpu_vreg_addr() 131 (reg_num - KVM_REG_RISCV_VECTOR_REG(0)) * vlenb; in kvm_riscv_vcpu_vreg_addr() 181 if (reg_num == KVM_REG_RISCV_VECTOR_CSR_REG(vlenb)) { in kvm_riscv_vcpu_set_reg_vector() 189 if (reg_val != cntx->vector.vlenb) in kvm_riscv_vcpu_set_reg_vector()
|
| /linux/tools/testing/selftests/riscv/vector/ |
| H A D | vstate_ptrace.c | 75 ksft_print_msg("vlenb %ld\n", v_regset_hdr->vlenb); in do_parent() 76 data = realloc(data, size + v_regset_hdr->vlenb * 32); in do_parent() 80 v31 = (void *)(data + size + v_regset_hdr->vlenb * 31); in do_parent() 81 size += v_regset_hdr->vlenb * 32; in do_parent()
|
| /linux/arch/riscv/include/uapi/asm/ |
| H A D | ptrace.h | 105 unsigned long vlenb; member 119 unsigned long vlenb; member
|
| /linux/arch/riscv/kernel/ |
| H A D | ptrace.c | 115 ptrace_vstate.vlenb = vstate->vlenb; in riscv_vr_get() 142 if (vstate->vlenb != ptrace_vstate.vlenb) in riscv_vr_set()
|
| H A D | cpufeature.c | 960 u32 vlenb = 0; in has_thead_homogeneous_vlenb() local 975 if (of_property_read_u32(cpu_node, "thead,vlenb", &vlenb)) { in has_thead_homogeneous_vlenb() 983 if (prev_vlenb && vlenb != prev_vlenb) { in has_thead_homogeneous_vlenb() 988 prev_vlenb = vlenb; in has_thead_homogeneous_vlenb() 992 thead_vlenb_of = vlenb; in has_thead_homogeneous_vlenb()
|
| /linux/arch/riscv/include/asm/ |
| H A D | vector.h | 157 dest->vlenb = riscv_v_vsize / 32; in __vstate_csr_save() 163 dest->vlenb = csr_read(CSR_VLENB); in __vstate_csr_save()
|
| /linux/arch/riscv/boot/dts/allwinner/ |
| H A D | sun20i-d1s.dtsi | 31 thead,vlenb = <16>;
|
| /linux/arch/riscv/boot/dts/thead/ |
| H A D | th1520.dtsi | 31 thead,vlenb = <16>; 58 thead,vlenb = <16>; 85 thead,vlenb = <16>; 112 thead,vlenb = <16>;
|
| /linux/tools/testing/selftests/kvm/riscv/ |
| H A D | get-reg-list.c | 492 case KVM_REG_RISCV_VECTOR_CSR_REG(vlenb): in vector_id_to_str() 1015 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_VECTOR | KVM_REG_RISCV_VECTOR_CSR_REG(vlenb),
|