Home
last modified time | relevance | path

Searched refs:sve_vq_from_vl (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/tools/testing/selftests/arm64/signal/testcases/
Dza_regs.c38 if (vq < sve_vq_from_vl(vl)) in sme_get_vls()
42 vq = sve_vq_from_vl(vl); in sme_get_vls()
98 if (head->size != ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))) { in do_one_sme_vl()
100 head->size, ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))); in do_one_sme_vl()
109 ZA_SIG_REGS_SIZE(sve_vq_from_vl(za->vl))) != 0) { in do_one_sme_vl()
Dssve_za_regs.c38 if (vq < sve_vq_from_vl(vl)) in sme_get_vls()
42 vq = sve_vq_from_vl(vl); in sme_get_vls()
132 ZA_SIG_REGS_SIZE(sve_vq_from_vl(za->vl))) != 0) { in do_one_sme_vl()
Dssve_regs.c38 if (vq < sve_vq_from_vl(vl)) in sme_get_vls()
42 vq = sve_vq_from_vl(vl); in sme_get_vls()
Dtestcases.c65 = ((SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve->vl)) + 15) / 16) * 16; in validate_sve_context()
90 = ((ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za->vl)) + 15) / 16) * 16; in validate_za_context()
Dfake_sigreturn_sme_change_vl.c35 vq = sve_vq_from_vl(vl); in sme_get_vls()
Dfake_sigreturn_sve_change_vl.c36 vq = sve_vq_from_vl(vl); in sve_get_vls()
Dsve_regs.c38 vq = sve_vq_from_vl(vl); in sve_get_vls()
Dza_no_regs.c38 vq = sve_vq_from_vl(vl); in sme_get_vls()
/Linux-v6.6/tools/testing/selftests/arm64/abi/
Dsyscall-abi.c214 size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */ in check_p()
261 size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */ in check_ffr()
491 if (vq != sve_vq_from_vl(vl)) in sve_count_vls()
492 vq = sve_vq_from_vl(vl); in sve_count_vls()
518 if (sve_vq_from_vl(vl) > vq) in sme_count_vls()
521 if (vq != sve_vq_from_vl(vl)) in sme_count_vls()
522 vq = sve_vq_from_vl(vl); in sme_count_vls()
/Linux-v6.6/arch/arm64/kernel/
Dfpsimd.c401 sve_set_vq(sve_vq_from_vl(task_get_sve_vl(current)) - 1); in task_fpsimd_load()
427 sme_set_vq(sve_vq_from_vl(sme_vl) - 1); in task_fpsimd_load()
552 __vq_to_bit(sve_vq_from_vl(vl))); in find_supported_vector_length()
685 vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread)); in fpsimd_to_sve()
712 vq = sve_vq_from_vl(vl); in sve_to_fpsimd()
750 return SVE_SIG_REGS_SIZE(sve_vq_from_vl(vl)); in sve_state_size()
842 vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread)); in sve_sync_from_fpsimd_zeropad()
1047 if (sve_vq_from_vl(vl) > vq) in vec_probe_vqs()
1050 vq = sve_vq_from_vl(vl); /* skip intervening lengths */ in vec_probe_vqs()
1153 SVE_SIG_REGS_SIZE(sve_vq_from_vl(max_vl)), SVE_VQ_BYTES); in sve_efi_setup()
[all …]
Dsignal.c243 vq = sve_vq_from_vl(vl); in preserve_sve_context()
246 vq = sve_vq_from_vl(vl); in preserve_sve_context()
315 vq = sve_vq_from_vl(vl); in restore_sve_fpsimd_context()
415 vq = sve_vq_from_vl(vl); in preserve_za_context()
463 vq = sve_vq_from_vl(user_vl); in restore_za_context()
888 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
914 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
Dptrace.c768 vq = sve_vq_from_vl(header->vl); in sve_init_header_from_task()
772 header->max_size = SVE_PT_SIZE(sve_vq_from_vl(header->max_vl), in sve_init_header_from_task()
792 vq = sve_vq_from_vl(header.vl); in sve_get_common()
872 vq = sve_vq_from_vl(task_get_vl(target, type)); in sve_set_common()
927 if (count && vq != sve_vq_from_vl(header.vl)) { in sve_set_common()
1036 vq = sve_vq_from_vl(header.vl); in za_get()
1099 vq = sve_vq_from_vl(task_get_sme_vl(target)); in za_set()
1128 if (vq != sve_vq_from_vl(header.vl)) { in za_set()
Dentry-common.c382 sve_vq_minus_one = sve_vq_from_vl(task_get_sve_vl(current)) - 1; in fp_user_discard()
/Linux-v6.6/arch/arm64/include/asm/
Dfpsimd.h93 return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET; in sve_ffr_offset()
111 unsigned int sme_vq = sve_vq_from_vl(thread_get_sme_vl(thread)); in thread_zt_state()
374 size = ZA_SIG_REGS_SIZE(sve_vq_from_vl(vl)); in sme_state_size()
Dkvm_host.h746 #define vcpu_sve_max_vq(vcpu) sve_vq_from_vl((vcpu)->arch.sve_max_vl)
/Linux-v6.6/tools/testing/selftests/arm64/fp/
Dsve-probe-vls.c48 vq = sve_vq_from_vl(vl); in main()
Dsve-ptrace.c335 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_sve_get_sve_data()
430 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_sve_get_fpsimd_data()
514 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_fpsimd_get_sve_data()
Dza-ptrace.c197 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_get_data()
Dfp-stress.c404 vq = sve_vq_from_vl(vl); in probe_vls()
/Linux-v6.6/arch/arm64/include/uapi/asm/
Dsigcontext.h195 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) macro
/Linux-v6.6/arch/arm64/kvm/
Dguest.c358 if (max_vq > sve_vq_from_vl(kvm_sve_max_vl)) in set_sve_vls()
/Linux-v6.6/Documentation/arch/arm64/
Dsve.rst156 sve_context.head.size >= SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)).
346 vq should be obtained using sve_vq_from_vl(vl).
Dsme.rst131 za_context.head.size >= ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za_context.vl))