Searched refs:BLC_PWM_CTL2 (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/gma500/ |
D | oaktrail_device.c | 69 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()
|
D | cdv_device.c | 70 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()
|
D | cdv_intel_lvds.c | 634 pwm = REG_READ(BLC_PWM_CTL2); in cdv_intel_lvds_init() 640 REG_WRITE(BLC_PWM_CTL2, pwm); in cdv_intel_lvds_init()
|
D | psb_intel_reg.h | 81 #define BLC_PWM_CTL2 0x61250 macro
|
D | cdv_intel_dp.c | 2024 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/ |
D | intel_backlight_regs.h | 27 #define BLC_PWM_CTL2 _MMIO(DISPLAY_MMIO_BASE(dev_priv) + 0x61250) /* 965+ only */ macro
|
D | intel_backlight.c | 385 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()
|