Searched refs:pwm_level_max (Results 1 – 3 of 3) sorted by relevance
89 drm_WARN_ON(&i915->drm, panel->backlight.pwm_level_max == 0); in intel_backlight_invert_pwm_level()96 return panel->backlight.pwm_level_max - val + panel->backlight.pwm_level_min; in intel_backlight_invert_pwm_level()119 panel->backlight.max == 0 || panel->backlight.pwm_level_max == 0); in intel_backlight_level_to_pwm()122 panel->backlight.pwm_level_min, panel->backlight.pwm_level_max); in intel_backlight_level_to_pwm()133 panel->backlight.max == 0 || panel->backlight.pwm_level_max == 0); in intel_backlight_level_from_pwm()137 val = panel->backlight.pwm_level_max - (val - panel->backlight.pwm_level_min); in intel_backlight_level_from_pwm()139 return scale(val, panel->backlight.pwm_level_min, panel->backlight.pwm_level_max, in intel_backlight_level_from_pwm()231 drm_WARN_ON(&i915->drm, panel->backlight.pwm_level_max == 0); in i9xx_set_backlight()236 lbpc = level * 0xfe / panel->backlight.pwm_level_max + 1; in i9xx_set_backlight()489 pch_ctl2 = panel->backlight.pwm_level_max << 16; in lpt_enable_backlight()[all …]
369 panel->backlight.pwm_level_max); in intel_dp_aux_vesa_enable_backlight()434 panel->backlight.max = panel->backlight.pwm_level_max; in intel_dp_aux_vesa_setup_backlight()
384 u32 pwm_level_max; member