Searched refs:pch_ctl1 (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_panel.c | 779 u32 pch_ctl1, pch_ctl2; bdw_enable_backlight() local 781 pch_ctl1 = I915_READ(BLC_PWM_PCH_CTL1); bdw_enable_backlight() 782 if (pch_ctl1 & BLM_PCH_PWM_ENABLE) { bdw_enable_backlight() 784 pch_ctl1 &= ~BLM_PCH_PWM_ENABLE; bdw_enable_backlight() 785 I915_WRITE(BLC_PWM_PCH_CTL1, pch_ctl1); bdw_enable_backlight() 791 pch_ctl1 = 0; bdw_enable_backlight() 793 pch_ctl1 |= BLM_PCH_POLARITY; bdw_enable_backlight() 797 pch_ctl1 |= BLM_PCH_OVERRIDE_ENABLE; bdw_enable_backlight() 799 I915_WRITE(BLC_PWM_PCH_CTL1, pch_ctl1); bdw_enable_backlight() 801 I915_WRITE(BLC_PWM_PCH_CTL1, pch_ctl1 | BLM_PCH_PWM_ENABLE); bdw_enable_backlight() 815 u32 cpu_ctl2, pch_ctl1, pch_ctl2; pch_enable_backlight() local 824 pch_ctl1 = I915_READ(BLC_PWM_PCH_CTL1); pch_enable_backlight() 825 if (pch_ctl1 & BLM_PCH_PWM_ENABLE) { pch_enable_backlight() 827 pch_ctl1 &= ~BLM_PCH_PWM_ENABLE; pch_enable_backlight() 828 I915_WRITE(BLC_PWM_PCH_CTL1, pch_ctl1); pch_enable_backlight() 845 pch_ctl1 = 0; pch_enable_backlight() 847 pch_ctl1 |= BLM_PCH_POLARITY; pch_enable_backlight() 849 I915_WRITE(BLC_PWM_PCH_CTL1, pch_ctl1); pch_enable_backlight() 851 I915_WRITE(BLC_PWM_PCH_CTL1, pch_ctl1 | BLM_PCH_PWM_ENABLE); pch_enable_backlight() 1158 u32 pch_ctl1, pch_ctl2, val; bdw_setup_backlight() local 1160 pch_ctl1 = I915_READ(BLC_PWM_PCH_CTL1); bdw_setup_backlight() 1161 panel->backlight.active_low_pwm = pch_ctl1 & BLM_PCH_POLARITY; bdw_setup_backlight() 1173 panel->backlight.enabled = (pch_ctl1 & BLM_PCH_PWM_ENABLE) && bdw_setup_backlight() 1184 u32 cpu_ctl2, pch_ctl1, pch_ctl2, val; pch_setup_backlight() local 1186 pch_ctl1 = I915_READ(BLC_PWM_PCH_CTL1); pch_setup_backlight() 1187 panel->backlight.active_low_pwm = pch_ctl1 & BLM_PCH_POLARITY; pch_setup_backlight() 1201 (pch_ctl1 & BLM_PCH_PWM_ENABLE) && panel->backlight.level != 0; pch_setup_backlight()
|
Completed in 82 milliseconds