Home
last modified time | relevance | path

Searched refs:vl (Results 1 – 9 of 9) sorted by relevance

/arch/arm64/kernel/
Dfpsimd.c322 static unsigned int find_supported_vector_length(unsigned int vl) in find_supported_vector_length() argument
327 if (WARN_ON(!sve_vl_valid(vl))) in find_supported_vector_length()
328 vl = SVE_VL_MIN; in find_supported_vector_length()
333 if (vl > max_vl) in find_supported_vector_length()
334 vl = max_vl; in find_supported_vector_length()
337 __vq_to_bit(sve_vq_from_vl(vl))); in find_supported_vector_length()
348 int vl = sve_default_vl; in sve_proc_do_default_vl() local
350 .data = &vl, in sve_proc_do_default_vl()
351 .maxlen = sizeof(vl), in sve_proc_do_default_vl()
359 if (vl == -1) in sve_proc_do_default_vl()
[all …]
Dsignal.c230 unsigned int vl = current->thread.sve_vl; in preserve_sve_context() local
234 vq = sve_vq_from_vl(vl); in preserve_sve_context()
241 __put_user_error(vl, &ctx->vl, err); in preserve_sve_context()
268 if (sve.vl != current->thread.sve_vl) in restore_sve_fpsimd_context()
276 vq = sve_vq_from_vl(sve.vl); in restore_sve_fpsimd_context()
589 int vl = sve_max_vl; in setup_sigframe_layout() local
592 vl = current->thread.sve_vl; in setup_sigframe_layout()
594 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
Dptrace.c770 header->vl = target->thread.sve_vl; in sve_init_header_from_task()
771 vq = sve_vq_from_vl(header->vl); in sve_init_header_from_task()
811 vq = sve_vq_from_vl(header.vl); in sve_get()
889 ret = sve_set_vector_length(target, header.vl, in sve_set()
914 if (count && vq != sve_vq_from_vl(header.vl)) { in sve_set()
/arch/arm64/include/uapi/asm/
Dsve_context.h25 #define __sve_vl_valid(vl) \ argument
26 ((vl) % __SVE_VQ_BYTES == 0 && \
27 (vl) >= __SVE_VL_MIN && \
28 (vl) <= __SVE_VL_MAX)
30 #define __sve_vq_from_vl(vl) ((vl) / __SVE_VQ_BYTES) argument
Dsigcontext.h136 __u16 vl; member
163 #define sve_vl_valid(vl) __sve_vl_valid(vl) argument
164 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) argument
Dptrace.h104 __u16 vl; /* current vector length */ member
/arch/arm64/kvm/
Dreset.c161 unsigned int vl; in kvm_vcpu_finalize_sve() local
163 vl = vcpu->arch.sve_max_vl; in kvm_vcpu_finalize_sve()
170 if (WARN_ON(!sve_vl_valid(vl) || vl > sve_max_virtualisable_vl || in kvm_vcpu_finalize_sve()
171 vl > SVE_VL_ARCH_MAX)) in kvm_vcpu_finalize_sve()
174 buf = kzalloc(SVE_SIG_REGS_SIZE(sve_vq_from_vl(vl)), GFP_KERNEL); in kvm_vcpu_finalize_sve()
/arch/arm64/include/asm/
Dfpsimd.h59 static inline size_t sve_ffr_offset(int vl) in sve_ffr_offset() argument
61 return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET; in sve_ffr_offset()
115 unsigned long vl, unsigned long flags);
/arch/s390/tools/
Dopcodes.txt899 e706 vl VRX_VRRDU