Home
last modified time | relevance | path

Searched refs:sve_vq_from_vl (Results 1 - 25 of 35) sorted by relevance

12

/kernel/linux/linux-6.6/tools/testing/selftests/arm64/signal/testcases/
H 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()
H 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()
H 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()
H 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()
H A Dfake_sigreturn_sve_change_vl.c36 vq = sve_vq_from_vl(vl); in sve_get_vls()
H A Dfake_sigreturn_sme_change_vl.c35 vq = sve_vq_from_vl(vl); in sme_get_vls()
H A Dsve_regs.c38 vq = sve_vq_from_vl(vl); in sve_get_vls()
H A Dza_no_regs.c38 vq = sve_vq_from_vl(vl); in sme_get_vls()
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dfpsimd.c291 sve_vq_from_vl(current->thread.sve_vl) - 1); in task_fpsimd_load()
350 __vq_to_bit(sve_vq_from_vl(vl))); in find_supported_vector_length()
456 vq = sve_vq_from_vl(task->thread.sve_vl); in fpsimd_to_sve()
482 vq = sve_vq_from_vl(task->thread.sve_vl); in sve_to_fpsimd()
497 return SVE_SIG_REGS_SIZE(sve_vq_from_vl(task->thread.sve_vl)); in sve_state_size()
578 vq = sve_vq_from_vl(task->thread.sve_vl); in sve_sync_from_fpsimd_zeropad()
713 vq = sve_vq_from_vl(vl); /* skip intervening lengths */ in DECLARE_BITMAP()
806 SVE_SIG_REGS_SIZE(sve_vq_from_vl(sve_max_vl)), SVE_VQ_BYTES); in sve_efi_setup()
847 vq_max = sve_vq_from_vl(sve_get_vl()); in read_zcr_features()
1372 sve_vq_from_vl(sve_get_v in __efi_fpsimd_end()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/abi/
H A 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()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A 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_v in sve_efi_setup()
[all...]
H A 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()
H 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()
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()
1129 if (vq != sve_vq_from_vl(header.vl)) { in za_set()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H 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()
375 size = ZA_SIG_REGS_SIZE(sve_vq_from_vl(vl)); in sme_state_size()
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/
H A Dsve-probe-vls.c43 vq = sve_vq_from_vl(vl); in main()
H A Dsve-ptrace.c127 vq = sve_vq_from_vl(sve->vl); in dump_sve_regs()
244 vq = sve_vq_from_vl(sve->vl); in do_parent()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/
H A Dsve-probe-vls.c48 vq = sve_vq_from_vl(vl); in main()
H 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()
/kernel/linux/linux-5.10/arch/arm64/include/uapi/asm/
H A Dsigcontext.h164 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) macro
170 * SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl))
174 * SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)),
193 * The correct way to obtain vq is to use sve_vq_from_vl(vl). The
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm64/asm/
H A Dsigcontext.h59 #define sve_vq_from_vl(vl) ((vl) / SVE_VQ_BYTES) macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-arm64/asm/
H A Dsigcontext.h70 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm64/asm/
H A Dsigcontext.h70 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) macro
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dfpsimd.h61 return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET; in sve_ffr_offset()
/kernel/linux/linux-6.6/arch/arm64/include/uapi/asm/
H A Dsigcontext.h195 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) macro
201 * SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl))
205 * SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)),
231 * The correct way to obtain vq is to use sve_vq_from_vl(vl). The
292 * za_context.head.size >= ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za_context.vl))
295 * If za_context.head.size < ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za_context.vl))
/kernel/linux/linux-5.10/arch/arm64/kvm/
H A Dguest.c281 max_vq = sve_vq_from_vl(vcpu->arch.sve_max_vl); in get_sve_vls()
314 if (max_vq > sve_vq_from_vl(kvm_sve_max_vl)) in set_sve_vls()
409 vq = sve_vq_from_vl(vcpu->arch.sve_max_vl); in sve_reg_to_region()
419 vq = sve_vq_from_vl(vcpu->arch.sve_max_vl); in sve_reg_to_region()

Completed in 27 milliseconds

12