Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/gma500/
Doaktrail_device.c69 REG_WRITE(BLC_PWM_CTL2, (0x80000000 | REG_READ(BLC_PWM_CTL2))); in oaktrail_set_brightness()
100 REG_WRITE(BLC_PWM_CTL2, (0x80000000 | REG_READ(BLC_PWM_CTL2))); in oaktrail_backlight_init()
179 regs->saveBLC_PWM_CTL2 = PSB_RVDC32(BLC_PWM_CTL2); in oaktrail_save_display_registers()
303 PSB_WVDC32(regs->saveBLC_PWM_CTL2, BLC_PWM_CTL2); in oaktrail_restore_display_registers()
Dcdv_device.c70 return REG_READ(BLC_PWM_CTL2) & PWM_LEGACY_MODE; in cdv_backlight_combination_mode()
255 regs->saveBLC_PWM_CTL2 = REG_READ(BLC_PWM_CTL2); in cdv_save_display_registers()
327 REG_WRITE(BLC_PWM_CTL2, regs->saveBLC_PWM_CTL2); in cdv_restore_display_registers()
Dcdv_intel_lvds.c634 pwm = REG_READ(BLC_PWM_CTL2); in cdv_intel_lvds_init()
640 REG_WRITE(BLC_PWM_CTL2, pwm); in cdv_intel_lvds_init()
Dpsb_intel_reg.h81 #define BLC_PWM_CTL2 0x61250 macro
Dcdv_intel_dp.c2024 pwm_ctrl = REG_READ(BLC_PWM_CTL2); in cdv_intel_dp_init()
2026 REG_WRITE(BLC_PWM_CTL2, pwm_ctrl); in cdv_intel_dp_init()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_backlight_regs.h27 #define BLC_PWM_CTL2 _MMIO(DISPLAY_MMIO_BASE(dev_priv) + 0x61250) /* 965+ only */ macro
Dintel_backlight.c385 tmp = intel_de_read(dev_priv, BLC_PWM_CTL2); in i965_disable_backlight()
386 intel_de_write(dev_priv, BLC_PWM_CTL2, tmp & ~BLM_PWM_ENABLE); in i965_disable_backlight()
627 ctl2 = intel_de_read(dev_priv, BLC_PWM_CTL2); in i965_enable_backlight()
631 intel_de_write(dev_priv, BLC_PWM_CTL2, ctl2); in i965_enable_backlight()
646 intel_de_write(dev_priv, BLC_PWM_CTL2, ctl2); in i965_enable_backlight()
647 intel_de_posting_read(dev_priv, BLC_PWM_CTL2); in i965_enable_backlight()
648 intel_de_write(dev_priv, BLC_PWM_CTL2, ctl2 | BLM_PWM_ENABLE); in i965_enable_backlight()
1366 ctl2 = intel_de_read(dev_priv, BLC_PWM_CTL2); in i965_setup_backlight()