Lines Matching refs:max_vl

130 		.max_vl			= SVE_VL_MIN,
538 int max_vl = info->max_vl; in find_supported_vector_length() local
543 if (WARN_ON(!sve_vl_valid(max_vl))) in find_supported_vector_length()
544 max_vl = info->min_vl; in find_supported_vector_length()
546 if (vl > max_vl) in find_supported_vector_length()
547 vl = max_vl; in find_supported_vector_length()
576 vl = info->max_vl; in vec_proc_do_default_vl()
1117 int max_vl = 0; in sve_efi_setup() local
1124 max_vl = max(vl_info[i].max_vl, max_vl); in sve_efi_setup()
1131 if (!sve_vl_valid(max_vl)) in sve_efi_setup()
1135 SVE_SIG_REGS_SIZE(sve_vq_from_vl(max_vl)), SVE_VQ_BYTES); in sve_efi_setup()
1201 info->max_vl = sve_vl_from_vq((zcr & ZCR_ELx_LEN_MASK) + 1); in sve_setup()
1207 if (WARN_ON(info->max_vl != find_supported_vector_length(ARM64_VEC_SVE, in sve_setup()
1208 info->max_vl))) in sve_setup()
1209 info->max_vl = find_supported_vector_length(ARM64_VEC_SVE, in sve_setup()
1210 info->max_vl); in sve_setup()
1231 if (info->max_virtualisable_vl > info->max_vl) in sve_setup()
1232 info->max_virtualisable_vl = info->max_vl; in sve_setup()
1235 info->name, info->max_vl); in sve_setup()
1374 info->max_vl = sve_vl_from_vq((smcr & SMCR_ELx_LEN_MASK) + 1); in sme_setup()
1380 if (WARN_ON(info->max_vl != find_supported_vector_length(ARM64_VEC_SME, in sme_setup()
1381 info->max_vl))) in sme_setup()
1382 info->max_vl = find_supported_vector_length(ARM64_VEC_SME, in sme_setup()
1383 info->max_vl); in sme_setup()
1385 WARN_ON(info->min_vl > info->max_vl); in sme_setup()
1398 info->max_vl); in sme_setup()