Lines Matching defs:vpm_cfg
2023 struct vpm_config vpm_cfg[2];
2027 vpm_cfg[phase].As = 1;
2028 vpm_cfg[phase].Gs = 1;
2029 vpm_cfg[phase].Gd = gs->vpm_output_size;
2030 vpm_cfg[phase].gs_width = gs->simd_width;
2042 vpm_cfg[phase].Vc = 2;
2056 vpm_cfg[phase].Gv = 3;
2062 vpm_cfg[phase].Ve = vpm_cfg[phase].Gv;
2065 A * vpm_cfg[phase].As * Ad +
2066 (vpm_cfg[phase].Vc + vpm_cfg[phase].Ve) * Vd +
2067 vpm_cfg[phase].Gs * vpm_cfg[phase].Gd;
2074 final_vpm_cfg = &vpm_cfg[phase];
2084 vpm_cfg[1] = vpm_cfg[0];
2089 if (vpm_cfg[phase].Gv > 0) {
2090 vpm_cfg[phase].Gv--;
2095 if (vpm_cfg[phase].gs_width > 1) {
2097 vpm_cfg[phase].gs_width >>= 1;
2098 vpm_cfg[phase].Gd = align(vpm_cfg[phase].Gd, 2) / 2;
2099 } while (vpm_cfg[phase].gs_width == 2);
2102 vpm_cfg[phase].Gv = 3;
2111 final_vpm_cfg = &vpm_cfg[0];
2139 struct vpm_config *vpm_cfg)
2149 vpm_cfg->As = 1;
2150 vpm_cfg->Ve = 0;
2151 vpm_cfg->Vc = vs->vcm_cache_size;
2156 if (!compute_vpm_config_gs(devinfo, vs, gs, vpm_cfg))