Lines Matching refs:vl

177 	int vl;  in vl_in()  local
180 vl = config->sme_vl_in; in vl_in()
182 vl = config->sve_vl_in; in vl_in()
184 return vl; in vl_in()
189 int vl; in vl_expected() local
192 vl = config->sme_vl_expected; in vl_expected()
194 vl = config->sve_vl_expected; in vl_expected()
196 return vl; in vl_expected()
385 if (sve->vl != config->sve_vl_in) { in check_ptrace_values_sve()
387 sve->vl, config->sve_vl_in); in check_ptrace_values_sve()
462 if (sve->vl != config->sme_vl_in) { in check_ptrace_values_ssve()
464 sve->vl, config->sme_vl_in); in check_ptrace_values_ssve()
537 if (za->vl != config->sme_vl_in) { in check_ptrace_values_za()
539 za->vl, config->sme_vl_in); in check_ptrace_values_za()
807 static void fpsimd_to_sve(__uint128_t *v, char *z, int vl) in fpsimd_to_sve() argument
809 int vq = __sve_vq_from_vl(vl); in fpsimd_to_sve()
813 if (!vl) in fpsimd_to_sve()
973 int vl; in fpsimd_write_expected() local
978 vl = vl_expected(config); in fpsimd_write_expected()
980 memset(z_expected, 0, __SVE_ZREGS_SIZE(__sve_vq_from_vl(vl))); in fpsimd_write_expected()
981 memset(p_expected, 0, __SVE_PREGS_SIZE(__sve_vq_from_vl(vl))); in fpsimd_write_expected()
982 memset(ffr_expected, 0, __SVE_PREG_SIZE(__sve_vq_from_vl(vl))); in fpsimd_write_expected()
984 fpsimd_to_sve(v_expected, z_expected, vl); in fpsimd_write_expected()
1006 int vl = vl_expected(config); in sve_write_expected() local
1009 fill_random(z_expected, __SVE_ZREGS_SIZE(__sve_vq_from_vl(vl))); in sve_write_expected()
1010 fill_random(p_expected, __SVE_PREGS_SIZE(__sve_vq_from_vl(vl))); in sve_write_expected()
1015 fill_random_ffr(ffr_expected, __sve_vq_from_vl(vl)); in sve_write_expected()
1019 fpsimd_to_sve(v_expected, z_expected, vl); in sve_write_expected()
1031 int ret, vl, vq, regset; in sve_write() local
1033 vl = vl_expected(config); in sve_write()
1034 vq = __sve_vq_from_vl(vl); in sve_write()
1048 sve->vl = vl; in sve_write()
1139 za->vl = config->sme_vl_expected; in za_write()
1297 int vl; in probe_vls() local
1302 vl = prctl(set_vl, vq * 16); in probe_vls()
1303 if (vl == -1) in probe_vls()
1307 vl &= PR_SVE_VL_LEN_MASK; in probe_vls()
1309 if (*vl_count && (vl == vls[*vl_count - 1])) in probe_vls()
1312 vq = sve_vq_from_vl(vl); in probe_vls()
1314 vls[*vl_count] = vl; in probe_vls()