Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/arm64/signal/testcases/
H A Dza_regs.c78 if (head->size != ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))) { in do_one_sme_vl()
80 head->size, ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))); in do_one_sme_vl()
89 ZA_SIG_REGS_SIZE(sve_vq_from_vl(za->vl))) != 0) { in do_one_sme_vl()
H A Dtestcases.c42 = ((SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve->vl)) + 15) / 16) * 16; in validate_sve_context()
67 = ((ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za->vl)) + 15) / 16) * 16; in validate_za_context()
H A Dssve_za_regs.c112 ZA_SIG_REGS_SIZE(sve_vq_from_vl(za->vl))) != 0) { in do_one_sme_vl()
/linux/tools/testing/selftests/arm64/signal/
H A Dsve_helpers.c41 if (vq < sve_vq_from_vl(vl)) in sve_fill_vls()
45 vq = sve_vq_from_vl(vl); in sve_fill_vls()
/linux/arch/arm64/include/asm/
H A Dfpsimd.h118 return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET; in sve_ffr_offset()
136 unsigned int sme_vq = sve_vq_from_vl(thread_get_sme_vl(thread)); in thread_zt_state()
399 size = ZA_SIG_REGS_SIZE(sve_vq_from_vl(vl)); in sme_state_size()
H A Dkvm_host.h928 #define vcpu_sve_max_vq(vcpu) sve_vq_from_vl((vcpu)->arch.sve_max_vl)
/linux/tools/testing/selftests/arm64/fp/
H A Dsve-probe-vls.c48 vq = sve_vq_from_vl(vl); in main()
/linux/arch/arm64/kernel/
H A Dsignal.c358 vq = sve_vq_from_vl(vl); in preserve_sve_context()
361 vq = sve_vq_from_vl(vl); in preserve_sve_context()
430 vq = sve_vq_from_vl(vl); in restore_sve_fpsimd_context()
530 vq = sve_vq_from_vl(vl); in preserve_za_context()
578 vq = sve_vq_from_vl(user_vl); in restore_za_context()
1192 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
1218 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
H A Dptrace.c801 vq = sve_vq_from_vl(header->vl); in sve_init_header_from_task()
805 header->max_size = SVE_PT_SIZE(sve_vq_from_vl(header->max_vl), in sve_init_header_from_task()
825 vq = sve_vq_from_vl(header.vl); in sve_get_common()
909 vq = sve_vq_from_vl(task_get_vl(target, type)); in sve_set_common()
964 if (count && vq != sve_vq_from_vl(header.vl)) { in sve_set_common()
1073 vq = sve_vq_from_vl(header.vl); in za_get()
1140 vq = sve_vq_from_vl(task_get_sme_vl(target)); in za_set()
1170 if (vq != sve_vq_from_vl(header.vl)) { in za_set()
H A Dentry-common.c416 sve_vq_minus_one = sve_vq_from_vl(task_get_sve_vl(current)) - 1; in fp_user_discard()
/linux/arch/arm64/include/uapi/asm/
H A Dsigcontext.h219 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) macro