Searched refs:pwm_level_max (Results 1 – 3 of 3) sorted by relevance
88 drm_WARN_ON(&dev_priv->drm, panel->backlight.pwm_level_max == 0); in intel_backlight_invert_pwm_level()95 return panel->backlight.pwm_level_max - val + panel->backlight.pwm_level_min; in intel_backlight_invert_pwm_level()117 panel->backlight.max == 0 || panel->backlight.pwm_level_max == 0); in intel_backlight_level_to_pwm()120 panel->backlight.pwm_level_min, panel->backlight.pwm_level_max); in intel_backlight_level_to_pwm()131 panel->backlight.max == 0 || panel->backlight.pwm_level_max == 0); in intel_backlight_level_from_pwm()135 val = panel->backlight.pwm_level_max - (val - panel->backlight.pwm_level_min); in intel_backlight_level_from_pwm()137 return scale(val, panel->backlight.pwm_level_min, panel->backlight.pwm_level_max, in intel_backlight_level_from_pwm()229 drm_WARN_ON(&dev_priv->drm, panel->backlight.pwm_level_max == 0); in i9xx_set_backlight()234 lbpc = level * 0xfe / panel->backlight.pwm_level_max + 1; in i9xx_set_backlight()512 pch_ctl2 = panel->backlight.pwm_level_max << 16; in lpt_enable_backlight()[all …]
352 panel->backlight.pwm_level_max); in intel_dp_aux_vesa_enable_backlight()410 panel->backlight.max = panel->backlight.pwm_level_max; in intel_dp_aux_vesa_setup_backlight()
369 u32 pwm_level_max; member