BLM_PWM_ENABLE
(cpu_ctl2 & BLM_PWM_ENABLE);
cpu_ctl2 & ~BLM_PWM_ENABLE);
panel->backlight.pwm_enabled = (cpu_ctl2 & BLM_PWM_ENABLE) &&
panel->backlight.pwm_enabled = ctl2 & BLM_PWM_ENABLE;
panel->backlight.pwm_enabled = ctl2 & BLM_PWM_ENABLE;
if (tmp & BLM_PWM_ENABLE) {
intel_de_write(display, BLC_PWM_CPU_CTL2, tmp & ~BLM_PWM_ENABLE);
intel_de_rmw(display, BLC_PWM_CPU_CTL2, BLM_PWM_ENABLE, 0);
intel_de_rmw(display, BLC_PWM_CTL2, BLM_PWM_ENABLE, 0);
intel_de_rmw(display, VLV_BLC_PWM_CTL2(pipe), BLM_PWM_ENABLE, 0);
if (cpu_ctl2 & BLM_PWM_ENABLE) {
cpu_ctl2 &= ~BLM_PWM_ENABLE;
intel_de_write(display, BLC_PWM_CPU_CTL2, cpu_ctl2 | BLM_PWM_ENABLE);
if (ctl2 & BLM_PWM_ENABLE) {
ctl2 &= ~BLM_PWM_ENABLE;
intel_de_write(display, BLC_PWM_CTL2, ctl2 | BLM_PWM_ENABLE);
if (ctl2 & BLM_PWM_ENABLE) {
ctl2 &= ~BLM_PWM_ENABLE;
intel_de_write(display, VLV_BLC_PWM_CTL2(pipe), ctl2 | BLM_PWM_ENABLE);
intel_de_read(display, BLC_PWM_CPU_CTL2) & BLM_PWM_ENABLE,
intel_de_read(display, HSW_BLC_PWM2_CTL) & BLM_PWM_ENABLE,