Lines Matching refs:max_vl

138 		.max_vl			= SVE_VL_MIN,
493 int max_vl = info->max_vl; in find_supported_vector_length() local
498 if (WARN_ON(!sve_vl_valid(max_vl))) in find_supported_vector_length()
499 max_vl = info->min_vl; in find_supported_vector_length()
501 if (vl > max_vl) in find_supported_vector_length()
502 vl = max_vl; in find_supported_vector_length()
531 vl = info->max_vl; in vec_proc_do_default_vl()
1071 int max_vl = 0; in sve_efi_setup() local
1078 max_vl = max(vl_info[i].max_vl, max_vl); in sve_efi_setup()
1085 if (!sve_vl_valid(max_vl)) in sve_efi_setup()
1089 SVE_SIG_REGS_SIZE(sve_vq_from_vl(max_vl)), SVE_VQ_BYTES); in sve_efi_setup()
1155 info->max_vl = sve_vl_from_vq((zcr & ZCR_ELx_LEN_MASK) + 1); in sve_setup()
1161 if (WARN_ON(info->max_vl != find_supported_vector_length(ARM64_VEC_SVE, in sve_setup()
1162 info->max_vl))) in sve_setup()
1163 info->max_vl = find_supported_vector_length(ARM64_VEC_SVE, in sve_setup()
1164 info->max_vl); in sve_setup()
1185 if (info->max_virtualisable_vl > info->max_vl) in sve_setup()
1186 info->max_virtualisable_vl = info->max_vl; in sve_setup()
1189 info->name, info->max_vl); in sve_setup()
1320 info->max_vl = sve_vl_from_vq((smcr & SMCR_ELx_LEN_MASK) + 1); in sme_setup()
1326 if (WARN_ON(info->max_vl != find_supported_vector_length(ARM64_VEC_SME, in sme_setup()
1327 info->max_vl))) in sme_setup()
1328 info->max_vl = find_supported_vector_length(ARM64_VEC_SME, in sme_setup()
1329 info->max_vl); in sme_setup()
1331 WARN_ON(info->min_vl > info->max_vl); in sme_setup()
1344 info->max_vl); in sme_setup()