Lines Matching refs:phase
176 int phase;
181 for (phase = 0; phase < PSC_STORED_PHASES; phase++) {
182 coef[phase][0] = 0;
183 coef[phase][PSC_NUM_TAPS - 1] = 0;
223 /* override phase 0 with identity filter if specified */
230 for (phase = 0; phase < PSC_STORED_PHASES; phase++) {
235 sum += coef[phase][i];
237 ll_temp = coef[phase][i];
241 coef[phase][i] = (int)ll_temp;
251 * @use_5_taps: 0 for 7 taps per phase, 1 for 5 taps
542 /* save chroma start phase */
572 int i, phase;
587 /* reverse both phase and tap orderings */
588 for (phase = (PSC_NUM_PHASES >> 1) - 1;
589 i < PSC_NUM_PHASES; i++, phase--) {
590 dcss_scaler_write(ch, ((coef[phase][5] & 0xfff) << 16 |
591 (coef[phase][4] & 0xfff) << 4 |
592 (coef[phase][3] & 0xf00) >> 8),
594 dcss_scaler_write(ch, ((coef[phase][3] & 0x0ff) << 20 |
595 (coef[phase][2] & 0xfff) << 8 |
596 (coef[phase][1] & 0xff0) >> 4),
598 dcss_scaler_write(ch, ((coef[phase][1] & 0x00f) << 24),
607 int i, phase;
624 /* reverse both phase and tap orderings */
625 for (phase = (PSC_NUM_PHASES >> 1) - 1;
626 i < PSC_NUM_PHASES; i++, phase--) {
627 dcss_scaler_write(ch, ((coef[phase][6] & 0xfff) << 16 |
628 (coef[phase][5] & 0xfff) << 4 |
629 (coef[phase][4] & 0xf00) >> 8),
631 dcss_scaler_write(ch, ((coef[phase][4] & 0x0ff) << 20 |
632 (coef[phase][3] & 0xfff) << 8 |
633 (coef[phase][2] & 0xff0) >> 4),
635 dcss_scaler_write(ch, ((coef[phase][2] & 0x00f) << 24 |
636 (coef[phase][1] & 0xfff) << 12 |
637 (coef[phase][0] & 0xfff)),