Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/arm64/abi/
Dsyscall-abi.c190 size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */ in check_p()
237 size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */ in check_ffr()
376 if (sve_vq != sve_vq_from_vl(sve_vl)) in test_one_syscall()
377 sve_vq = sve_vq_from_vl(sve_vl); in test_one_syscall()
393 if (sme_vq != sve_vq_from_vl(sme_vl)) in test_one_syscall()
394 sme_vq = sve_vq_from_vl(sme_vl); in test_one_syscall()
432 if (vq != sve_vq_from_vl(vl)) in sve_count_vls()
433 vq = sve_vq_from_vl(vl); in sve_count_vls()
464 if (vq != sve_vq_from_vl(vl)) in sme_count_vls()
465 vq = sve_vq_from_vl(vl); in sme_count_vls()
/Linux-v6.1/tools/testing/selftests/arm64/signal/testcases/
Dza_regs.c38 vq = sve_vq_from_vl(vl); in sme_get_vls()
94 if (head->size != ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))) { in do_one_sme_vl()
96 head->size, ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))); in do_one_sme_vl()
105 ZA_SIG_REGS_SIZE(sve_vq_from_vl(za->vl))) != 0) { in do_one_sme_vl()
Dtestcases.c61 = ((SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve->vl)) + 15) / 16) * 16; in validate_sve_context()
86 = ((ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za->vl)) + 15) / 16) * 16; in validate_za_context()
Dfake_sigreturn_sve_change_vl.c36 vq = sve_vq_from_vl(vl); in sve_get_vls()
Dfake_sigreturn_sme_change_vl.c35 vq = sve_vq_from_vl(vl); in sme_get_vls()
Dsve_regs.c38 vq = sve_vq_from_vl(vl); in sve_get_vls()
Dssve_regs.c38 vq = sve_vq_from_vl(vl); in sme_get_vls()
Dza_no_regs.c38 vq = sve_vq_from_vl(vl); in sme_get_vls()
/Linux-v6.1/arch/arm64/kernel/
Dfpsimd.c383 sve_set_vq(sve_vq_from_vl(task_get_sve_vl(current)) - 1); in task_fpsimd_load()
394 sme_set_vq(sve_vq_from_vl(sme_vl) - 1); in task_fpsimd_load()
507 __vq_to_bit(sve_vq_from_vl(vl))); in find_supported_vector_length()
640 vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread)); in fpsimd_to_sve()
667 vq = sve_vq_from_vl(vl); in sve_to_fpsimd()
705 return SVE_SIG_REGS_SIZE(sve_vq_from_vl(vl)); in sve_state_size()
797 vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread)); in sve_sync_from_fpsimd_zeropad()
983 if (sve_vq_from_vl(vl) > vq) in vec_probe_vqs()
986 vq = sve_vq_from_vl(vl); /* skip intervening lengths */ in vec_probe_vqs()
1089 SVE_SIG_REGS_SIZE(sve_vq_from_vl(max_vl)), SVE_VQ_BYTES); in sve_efi_setup()
[all …]
Dsignal.c237 vq = sve_vq_from_vl(vl); in preserve_sve_context()
240 vq = sve_vq_from_vl(vl); in preserve_sve_context()
298 vq = sve_vq_from_vl(sve.vl); in restore_sve_fpsimd_context()
369 vq = sve_vq_from_vl(vl); in preserve_za_context()
413 vq = sve_vq_from_vl(za.vl); in restore_za_context()
742 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
761 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
Dptrace.c773 vq = sve_vq_from_vl(header->vl); in sve_init_header_from_task()
777 header->max_size = SVE_PT_SIZE(sve_vq_from_vl(header->max_vl), in sve_init_header_from_task()
797 vq = sve_vq_from_vl(header.vl); in sve_get_common()
877 vq = sve_vq_from_vl(task_get_vl(target, type)); in sve_set_common()
925 if (count && vq != sve_vq_from_vl(header.vl)) { in sve_set_common()
1033 vq = sve_vq_from_vl(header.vl); in za_get()
1096 vq = sve_vq_from_vl(task_get_sme_vl(target)); in za_set()
1125 if (vq != sve_vq_from_vl(header.vl)) { in za_set()
/Linux-v6.1/tools/testing/selftests/arm64/fp/
Dsve-probe-vls.c48 vq = sve_vq_from_vl(vl); in main()
Dsve-ptrace.c325 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_sve_get_sve_data()
420 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_sve_get_fpsimd_data()
504 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_fpsimd_get_sve_data()
Dza-ptrace.c187 unsigned int vq = sve_vq_from_vl(vl); in ptrace_set_get_data()
Dfp-stress.c368 vq = sve_vq_from_vl(vl); in probe_vls()
/Linux-v6.1/arch/arm64/include/asm/
Dfpsimd.h84 return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET; in sve_ffr_offset()
356 return ZA_SIG_REGS_SIZE(sve_vq_from_vl(vl)); in za_state_size()
Dkvm_host.h547 #define vcpu_sve_max_vq(vcpu) sve_vq_from_vl((vcpu)->arch.sve_max_vl)
/Linux-v6.1/arch/arm64/include/uapi/asm/
Dsigcontext.h175 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) macro
/Linux-v6.1/arch/arm64/kvm/
Dguest.c352 if (max_vq > sve_vq_from_vl(kvm_sve_max_vl)) in set_sve_vls()
/Linux-v6.1/Documentation/arm64/
Dsve.rst155 sve_context.head.size >= SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)).
345 vq should be obtained using sve_vq_from_vl(vl).
Dsme.rst122 za_context.head.size >= ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za_context.vl))