Blame view
include/linux/pwm_backlight.h
598 Bytes
42796d37d
|
1 2 3 4 5 |
/* * Generic PWM backlight driver data - see drivers/video/backlight/pwm_bl.c */ #ifndef __LINUX_PWM_BACKLIGHT_H #define __LINUX_PWM_BACKLIGHT_H |
ef0a5e80f
|
6 |
#include <linux/backlight.h> |
42796d37d
|
7 8 9 10 |
struct platform_pwm_backlight_data { int pwm_id; unsigned int max_brightness; unsigned int dft_brightness; |
fef7764f8
|
11 |
unsigned int lth_brightness; |
42796d37d
|
12 |
unsigned int pwm_period_ns; |
3b73125af
|
13 |
int (*init)(struct device *dev); |
cfc3899fc
|
14 |
int (*notify)(struct device *dev, int brightness); |
cc7993f64
|
15 |
void (*notify_after)(struct device *dev, int brightness); |
3b73125af
|
16 |
void (*exit)(struct device *dev); |
ef0a5e80f
|
17 |
int (*check_fb)(struct device *dev, struct fb_info *info); |
42796d37d
|
18 19 20 |
}; #endif |