Lines Matching refs:vl
475 int vl; in sve_count_vls() local
484 vl = prctl(PR_SVE_SET_VL, vq * 16); in sve_count_vls()
485 if (vl == -1) in sve_count_vls()
489 vl &= PR_SVE_VL_LEN_MASK; in sve_count_vls()
491 if (vq != sve_vq_from_vl(vl)) in sve_count_vls()
492 vq = sve_vq_from_vl(vl); in sve_count_vls()
494 sve_vls[sve_vl_count++] = vl; in sve_count_vls()
501 int vl; in sme_count_vls() local
510 vl = prctl(PR_SME_SET_VL, vq * 16); in sme_count_vls()
511 if (vl == -1) in sme_count_vls()
515 vl &= PR_SME_VL_LEN_MASK; in sme_count_vls()
518 if (sve_vq_from_vl(vl) > vq) in sme_count_vls()
521 if (vq != sve_vq_from_vl(vl)) in sme_count_vls()
522 vq = sve_vq_from_vl(vl); in sme_count_vls()
524 sme_vls[sme_vl_count++] = vl; in sme_count_vls()