Lines Matching defs:phase
178 int phase;
183 for (phase = 0; phase < PSC_STORED_PHASES; phase++) {
184 coef[phase][0] = 0;
185 coef[phase][PSC_NUM_TAPS - 1] = 0;
225 /* override phase 0 with identity filter if specified */
232 for (phase = 0; phase < PSC_STORED_PHASES; phase++) {
237 sum += coef[phase][i];
239 ll_temp = coef[phase][i];
243 coef[phase][i] = (int)ll_temp;
264 * @use_5_taps: 0 for 7 taps per phase, 1 for 5 taps
559 /* save chroma start phase */
589 int i, phase;
604 /* reverse both phase and tap orderings */
605 for (phase = (PSC_NUM_PHASES >> 1) - 1;
606 i < PSC_NUM_PHASES; i++, phase--) {
607 dcss_scaler_write(ch, ((coef[phase][5] & 0xfff) << 16 |
608 (coef[phase][4] & 0xfff) << 4 |
609 (coef[phase][3] & 0xf00) >> 8),
611 dcss_scaler_write(ch, ((coef[phase][3] & 0x0ff) << 20 |
612 (coef[phase][2] & 0xfff) << 8 |
613 (coef[phase][1] & 0xff0) >> 4),
615 dcss_scaler_write(ch, ((coef[phase][1] & 0x00f) << 24),
624 int i, phase;
641 /* reverse both phase and tap orderings */
642 for (phase = (PSC_NUM_PHASES >> 1) - 1;
643 i < PSC_NUM_PHASES; i++, phase--) {
644 dcss_scaler_write(ch, ((coef[phase][6] & 0xfff) << 16 |
645 (coef[phase][5] & 0xfff) << 4 |
646 (coef[phase][4] & 0xf00) >> 8),
648 dcss_scaler_write(ch, ((coef[phase][4] & 0x0ff) << 20 |
649 (coef[phase][3] & 0xfff) << 8 |
650 (coef[phase][2] & 0xff0) >> 4),
652 dcss_scaler_write(ch, ((coef[phase][2] & 0x00f) << 24 |
653 (coef[phase][1] & 0xfff) << 12 |
654 (coef[phase][0] & 0xfff)),