Lines Matching refs:phase
2018 * the first phase tries to fit the program into the total available
2019 * VPM memory. If we succeed at that, then the second phase attempts
2025 uint32_t phase = 0;
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];
2083 if (phase == 0 && vpm_sectors <= vpm_size) {
2085 phase = 1;
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;
2107 * are at phase 1 we have at least a valid configuration, so we
2110 if (phase == 1)