Home
last modified time | relevance | path

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

/drivers/gpu/drm/gma500/
Doaktrail_device.c59 u32 blc_pwm_ctl; in oaktrail_set_brightness() local
69 blc_pwm_ctl = level * max_pwm_blc / 100; in oaktrail_set_brightness()
74 blc_pwm_ctl = blc_pwm_ctl * dev_priv->blc_adj1; in oaktrail_set_brightness()
75 blc_pwm_ctl = blc_pwm_ctl / 100; in oaktrail_set_brightness()
80 blc_pwm_ctl = blc_pwm_ctl * dev_priv->blc_adj2; in oaktrail_set_brightness()
81 blc_pwm_ctl = blc_pwm_ctl / 100; in oaktrail_set_brightness()
85 REG_WRITE(BLC_PWM_CTL, (max_pwm_blc << 16) | blc_pwm_ctl); in oaktrail_set_brightness()
Dpsb_intel_lvds.c187 u32 blc_pwm_ctl; in psb_intel_lvds_set_backlight() local
190 blc_pwm_ctl = REG_READ(BLC_PWM_CTL); in psb_intel_lvds_set_backlight()
191 blc_pwm_ctl &= ~BACKLIGHT_DUTY_CYCLE_MASK; in psb_intel_lvds_set_backlight()
193 (blc_pwm_ctl | in psb_intel_lvds_set_backlight()
195 dev_priv->regs.saveBLC_PWM_CTL = (blc_pwm_ctl | in psb_intel_lvds_set_backlight()
199 blc_pwm_ctl = dev_priv->regs.saveBLC_PWM_CTL & in psb_intel_lvds_set_backlight()
201 dev_priv->regs.saveBLC_PWM_CTL = (blc_pwm_ctl | in psb_intel_lvds_set_backlight()
Dcdv_intel_lvds.c85 u32 blc_pwm_ctl; in cdv_intel_lvds_set_backlight() local
88 blc_pwm_ctl = in cdv_intel_lvds_set_backlight()
91 (blc_pwm_ctl | in cdv_intel_lvds_set_backlight()
95 blc_pwm_ctl = dev_priv->regs.saveBLC_PWM_CTL & in cdv_intel_lvds_set_backlight()
97 dev_priv->regs.saveBLC_PWM_CTL = (blc_pwm_ctl | in cdv_intel_lvds_set_backlight()
Dcdv_device.c115 u32 blc_pwm_ctl; in cdv_set_brightness() local
134 blc_pwm_ctl = REG_READ(BLC_PWM_CTL) & ~BACKLIGHT_DUTY_CYCLE_MASK; in cdv_set_brightness()
135 REG_WRITE(BLC_PWM_CTL, (blc_pwm_ctl | in cdv_set_brightness()