Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/arm64/signal/testcases/
A 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()
A 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()
A 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()
A 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()
A Dfake_sigreturn_sve_change_vl.c36 vq = sve_vq_from_vl(vl); in sve_get_vls()
A Dfake_sigreturn_sme_change_vl.c35 vq = sve_vq_from_vl(vl); in sme_get_vls()
A Dsve_regs.c38 vq = sve_vq_from_vl(vl); in sve_get_vls()
A Dza_no_regs.c38 vq = sve_vq_from_vl(vl); in sme_get_vls()
/linux-6.3-rc2/tools/testing/selftests/arm64/abi/
A Dsyscall-abi.c206 size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */ in check_p()
253 size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */ in check_ffr()
483 if (vq != sve_vq_from_vl(vl)) in sve_count_vls()
484 vq = sve_vq_from_vl(vl); in sve_count_vls()
510 if (sve_vq_from_vl(vl) > vq) in sme_count_vls()
513 if (vq != sve_vq_from_vl(vl)) in sme_count_vls()
514 vq = sve_vq_from_vl(vl); in sme_count_vls()
/linux-6.3-rc2/arch/arm64/kernel/
A Dfpsimd.c427 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()
841 vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread)); in sve_sync_from_fpsimd_zeropad()
1029 if (sve_vq_from_vl(vl) > vq) in vec_probe_vqs()
1176 vq_max = sve_vq_from_vl(sve_get_vl()); in read_zcr_features()
1347 vq_max = sve_vq_from_vl(sme_get_vl()); in read_smcr_features()
1419 sve_vq_from_vl(task_get_sve_vl(current)) - 1; in sve_init_regs()
[all …]
A Dsignal.c242 vq = sve_vq_from_vl(vl); in preserve_sve_context()
245 vq = sve_vq_from_vl(vl); in preserve_sve_context()
314 vq = sve_vq_from_vl(vl); in restore_sve_fpsimd_context()
414 vq = sve_vq_from_vl(vl); in preserve_za_context()
462 vq = sve_vq_from_vl(user_vl); in restore_za_context()
887 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
911 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
A Dsyscall.c185 sve_vq_minus_one = sve_vq_from_vl(task_get_sve_vl(current)) - 1; in fp_user_discard()
A 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()
919 if (count && vq != sve_vq_from_vl(header.vl)) { in sve_set_common()
1026 vq = sve_vq_from_vl(header.vl); in za_get()
1089 vq = sve_vq_from_vl(task_get_sme_vl(target)); in za_set()
1118 if (vq != sve_vq_from_vl(header.vl)) { in za_set()
/linux-6.3-rc2/arch/arm64/include/asm/
A 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()
A Dkvm_host.h673 #define vcpu_sve_max_vq(vcpu) sve_vq_from_vl((vcpu)->arch.sve_max_vl)
/linux-6.3-rc2/tools/testing/selftests/arm64/fp/
A Dsve-probe-vls.c48 vq = sve_vq_from_vl(vl); in main()
A 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()
A Dza-ptrace.c197 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_get_data()
A Dfp-stress.c404 vq = sve_vq_from_vl(vl); in probe_vls()
/linux-6.3-rc2/arch/arm64/include/uapi/asm/
A Dsigcontext.h195 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) macro
/linux-6.3-rc2/arch/arm64/kvm/
A Dguest.c358 if (max_vq > sve_vq_from_vl(kvm_sve_max_vl)) in set_sve_vls()
/linux-6.3-rc2/Documentation/arm64/
A 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).
A Dsme.rst131 za_context.head.size >= ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za_context.vl))

Completed in 33 milliseconds