Lines Matching defs:vpm_cfg
2171 struct vpm_config vpm_cfg[2];
2175 vpm_cfg[phase].As = 1;
2176 vpm_cfg[phase].Gs = 1;
2177 vpm_cfg[phase].Gd = gs->vpm_output_size;
2178 vpm_cfg[phase].gs_width = gs->simd_width;
2190 vpm_cfg[phase].Vc = 2;
2204 vpm_cfg[phase].Gv = 3;
2210 vpm_cfg[phase].Ve = vpm_cfg[phase].Gv;
2213 A * vpm_cfg[phase].As * Ad +
2214 (vpm_cfg[phase].Vc + vpm_cfg[phase].Ve) * Vd +
2215 vpm_cfg[phase].Gs * vpm_cfg[phase].Gd;
2222 final_vpm_cfg = &vpm_cfg[phase];
2232 vpm_cfg[1] = vpm_cfg[0];
2237 if (vpm_cfg[phase].Gv > 0) {
2238 vpm_cfg[phase].Gv--;
2243 if (vpm_cfg[phase].gs_width > 1) {
2245 vpm_cfg[phase].gs_width >>= 1;
2246 vpm_cfg[phase].Gd = align(vpm_cfg[phase].Gd, 2) / 2;
2247 } while (vpm_cfg[phase].gs_width == 2);
2250 vpm_cfg[phase].Gv = 3;
2259 final_vpm_cfg = &vpm_cfg[0];
2287 struct vpm_config *vpm_cfg)
2297 vpm_cfg->As = 1;
2298 vpm_cfg->Ve = 0;
2299 vpm_cfg->Vc = vs->vcm_cache_size;
2304 if (!compute_vpm_config_gs(devinfo, vs, gs, vpm_cfg))