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()
185 u32 blc_pwm_ctl; in psb_intel_lvds_set_backlight() local188 blc_pwm_ctl = REG_READ(BLC_PWM_CTL); in psb_intel_lvds_set_backlight()189 blc_pwm_ctl &= ~BACKLIGHT_DUTY_CYCLE_MASK; in psb_intel_lvds_set_backlight()191 (blc_pwm_ctl | in psb_intel_lvds_set_backlight()193 dev_priv->regs.saveBLC_PWM_CTL = (blc_pwm_ctl | in psb_intel_lvds_set_backlight()197 blc_pwm_ctl = dev_priv->regs.saveBLC_PWM_CTL & in psb_intel_lvds_set_backlight()199 dev_priv->regs.saveBLC_PWM_CTL = (blc_pwm_ctl | in psb_intel_lvds_set_backlight()
166 u32 blc_pwm_ctl; in cdv_intel_lvds_set_backlight() local169 blc_pwm_ctl = in cdv_intel_lvds_set_backlight()172 (blc_pwm_ctl | in cdv_intel_lvds_set_backlight()176 blc_pwm_ctl = dev_priv->regs.saveBLC_PWM_CTL & in cdv_intel_lvds_set_backlight()178 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()