Lines Matching refs:SVE_VQ_MAX
507 bit = find_next_bit(info->vq_map, SVE_VQ_MAX, in find_supported_vector_length()
962 DECLARE_BITMAP(map, SVE_VQ_MAX)) in vec_probe_vqs() argument
966 bitmap_zero(map, SVE_VQ_MAX); in vec_probe_vqs()
968 for (vq = SVE_VQ_MAX; vq >= SVE_VQ_MIN; --vq) { in vec_probe_vqs()
1000 bitmap_copy(info->vq_partial_map, info->vq_map, SVE_VQ_MAX); in vec_init_vq_map()
1011 DECLARE_BITMAP(tmp_map, SVE_VQ_MAX); in vec_update_vq_map()
1014 bitmap_and(info->vq_map, info->vq_map, tmp_map, SVE_VQ_MAX); in vec_update_vq_map()
1016 SVE_VQ_MAX); in vec_update_vq_map()
1026 DECLARE_BITMAP(tmp_map, SVE_VQ_MAX); in vec_verify_vq_map()
1031 bitmap_complement(tmp_map, tmp_map, SVE_VQ_MAX); in vec_verify_vq_map()
1032 if (bitmap_intersects(tmp_map, info->vq_map, SVE_VQ_MAX)) { in vec_verify_vq_map()
1048 bitmap_complement(tmp_map, tmp_map, SVE_VQ_MAX); in vec_verify_vq_map()
1050 bitmap_andnot(tmp_map, tmp_map, info->vq_map, SVE_VQ_MAX); in vec_verify_vq_map()
1053 b = find_last_bit(tmp_map, SVE_VQ_MAX); in vec_verify_vq_map()
1054 if (b >= SVE_VQ_MAX) in vec_verify_vq_map()
1141 DECLARE_BITMAP(tmp_map, SVE_VQ_MAX); in sve_setup()
1174 SVE_VQ_MAX); in sve_setup()
1176 b = find_last_bit(tmp_map, SVE_VQ_MAX); in sve_setup()
1177 if (b >= SVE_VQ_MAX) in sve_setup()
1179 info->max_virtualisable_vl = SVE_VQ_MAX; in sve_setup()
1180 else if (WARN_ON(b == SVE_VQ_MAX - 1)) in sve_setup()
1315 WARN_ON(bitmap_empty(info->vq_map, SVE_VQ_MAX)); in sme_setup()
1317 min_bit = find_last_bit(info->vq_map, SVE_VQ_MAX); in sme_setup()