Lines Matching +full:pd +full:- +full:samsung
1 // SPDX-License-Identifier: GPL-2.0+
5 * Author: Donghwa Lee <dh09.lee@samsung.com>
23 int brightness = pwm->brightness; in exynos_pwm_backlight_update_status()
24 int max = pwm->max_brightness; in exynos_pwm_backlight_update_status()
27 pwm_config(pwm->pwm_id, 0, pwm->period); in exynos_pwm_backlight_update_status()
28 pwm_disable(pwm->pwm_id); in exynos_pwm_backlight_update_status()
30 pwm_config(pwm->pwm_id, in exynos_pwm_backlight_update_status()
31 brightness * pwm->period / max, pwm->period); in exynos_pwm_backlight_update_status()
32 pwm_enable(pwm->pwm_id); in exynos_pwm_backlight_update_status()
37 int exynos_pwm_backlight_init(struct pwm_backlight_data *pd) in exynos_pwm_backlight_init() argument
39 pwm = pd; in exynos_pwm_backlight_init()