Lines Matching full:ctl2
617 u32 ctl, ctl2, freq;
619 ctl2 = intel_de_read(display, BLC_PWM_CTL2);
620 if (ctl2 & BLM_PWM_ENABLE) {
624 ctl2 &= ~BLM_PWM_ENABLE;
625 intel_de_write(display, BLC_PWM_CTL2, ctl2);
635 ctl2 = BLM_PIPE(pipe);
637 ctl2 |= BLM_COMBINATION_MODE;
639 ctl2 |= BLM_POLARITY_I965;
640 intel_de_write(display, BLC_PWM_CTL2, ctl2);
642 intel_de_write(display, BLC_PWM_CTL2, ctl2 | BLM_PWM_ENABLE);
654 u32 ctl, ctl2;
656 ctl2 = intel_de_read(display, VLV_BLC_PWM_CTL2(pipe));
657 if (ctl2 & BLM_PWM_ENABLE) {
661 ctl2 &= ~BLM_PWM_ENABLE;
662 intel_de_write(display, VLV_BLC_PWM_CTL2(pipe), ctl2);
671 ctl2 = 0;
673 ctl2 |= BLM_POLARITY_I965;
674 intel_de_write(display, VLV_BLC_PWM_CTL2(pipe), ctl2);
676 intel_de_write(display, VLV_BLC_PWM_CTL2(pipe), ctl2 | BLM_PWM_ENABLE);
1366 u32 ctl, ctl2;
1368 ctl2 = intel_de_read(display, BLC_PWM_CTL2);
1369 panel->backlight.combination_mode = ctl2 & BLM_COMBINATION_MODE;
1370 panel->backlight.active_low_pwm = ctl2 & BLM_POLARITY_I965;
1386 panel->backlight.pwm_enabled = ctl2 & BLM_PWM_ENABLE;
1399 u32 ctl, ctl2;
1404 ctl2 = intel_de_read(display, VLV_BLC_PWM_CTL2(pipe));
1405 panel->backlight.active_low_pwm = ctl2 & BLM_POLARITY_I965;
1418 panel->backlight.pwm_enabled = ctl2 & BLM_PWM_ENABLE;