Home
last modified time | relevance | path

Searched refs:pch_ctl1 (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_backlight.c470 u32 pch_ctl1, pch_ctl2; in lpt_enable_backlight() local
472 pch_ctl1 = intel_de_read(i915, BLC_PWM_PCH_CTL1); in lpt_enable_backlight()
473 if (pch_ctl1 & BLM_PCH_PWM_ENABLE) { in lpt_enable_backlight()
476 pch_ctl1 &= ~BLM_PCH_PWM_ENABLE; in lpt_enable_backlight()
477 intel_de_write(i915, BLC_PWM_PCH_CTL1, pch_ctl1); in lpt_enable_backlight()
492 pch_ctl1 = 0; in lpt_enable_backlight()
494 pch_ctl1 |= BLM_PCH_POLARITY; in lpt_enable_backlight()
498 pch_ctl1 |= BLM_PCH_OVERRIDE_ENABLE; in lpt_enable_backlight()
500 intel_de_write(i915, BLC_PWM_PCH_CTL1, pch_ctl1); in lpt_enable_backlight()
502 intel_de_write(i915, BLC_PWM_PCH_CTL1, pch_ctl1 | BLM_PCH_PWM_ENABLE); in lpt_enable_backlight()
[all …]