Searched refs:blc_pwm_ctl (Results 1 – 4 of 4) sorted by relevance
59 u32 blc_pwm_ctl; in oaktrail_set_brightness() local69 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()
187 u32 blc_pwm_ctl; in psb_intel_lvds_set_backlight() local190 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()
85 u32 blc_pwm_ctl; in cdv_intel_lvds_set_backlight() local88 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()
115 u32 blc_pwm_ctl; in cdv_set_brightness() local134 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()