Lines Matching refs:max_vq
59 uint32_t tmp, vq, max_vq = 0; in arm_cpu_sve_finalize() local
85 max_vq = 32 - clz32(vq_map); in arm_cpu_sve_finalize()
86 vq_mask = MAKE_64BIT_MASK(0, max_vq); in arm_cpu_sve_finalize()
88 if (cpu->sve_max_vq && max_vq > cpu->sve_max_vq) { in arm_cpu_sve_finalize()
89 error_setg(errp, "cannot enable sve%d", max_vq * 128); in arm_cpu_sve_finalize()
92 max_vq * 128, cpu->sve_max_vq, in arm_cpu_sve_finalize()
129 max_vq = vq <= ARM_MAX_VQ ? vq - 1 : ARM_MAX_VQ; in arm_cpu_sve_finalize()
130 vq_mask = max_vq > 0 ? MAKE_64BIT_MASK(0, max_vq) : 0; in arm_cpu_sve_finalize()
143 max_vq = 32 - clz32(vq_map); in arm_cpu_sve_finalize()
144 vq_mask = MAKE_64BIT_MASK(0, max_vq); in arm_cpu_sve_finalize()
153 max_vq = cpu->sve_max_vq; in arm_cpu_sve_finalize()
154 vq_mask = MAKE_64BIT_MASK(0, max_vq); in arm_cpu_sve_finalize()
156 if (vq_init & ~vq_map & (1 << (max_vq - 1))) { in arm_cpu_sve_finalize()
157 error_setg(errp, "cannot disable sve%d", max_vq * 128); in arm_cpu_sve_finalize()
160 max_vq, max_vq * 128); in arm_cpu_sve_finalize()
173 assert(max_vq != 0); in arm_cpu_sve_finalize()
206 max_vq * 128); in arm_cpu_sve_finalize()
217 vq * 128, max_vq * 128); in arm_cpu_sve_finalize()
229 error_setg(errp, "cannot enable sve%d", max_vq * 128); in arm_cpu_sve_finalize()
237 cpu->sve_max_vq = max_vq; in arm_cpu_sve_finalize()