Blame view

include/linux/pwm_backlight.h 598 Bytes
42796d37d   eric miao   [ARM] pxa: add ge...
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   Robert Morell   pwm_backlight: ad...
6
  #include <linux/backlight.h>
42796d37d   eric miao   [ARM] pxa: add ge...
7
8
9
10
  struct platform_pwm_backlight_data {
  	int pwm_id;
  	unsigned int max_brightness;
  	unsigned int dft_brightness;
fef7764f8   Arun Murthy   backlight: add lo...
11
  	unsigned int lth_brightness;
42796d37d   eric miao   [ARM] pxa: add ge...
12
  	unsigned int pwm_period_ns;
3b73125af   Philipp Zabel   [ARM] 5044/1: pwm...
13
  	int (*init)(struct device *dev);
cfc3899fc   Ben Dooks   backlight: Pass d...
14
  	int (*notify)(struct device *dev, int brightness);
cc7993f64   Dilan Lee   backlight: add a ...
15
  	void (*notify_after)(struct device *dev, int brightness);
3b73125af   Philipp Zabel   [ARM] 5044/1: pwm...
16
  	void (*exit)(struct device *dev);
ef0a5e80f   Robert Morell   pwm_backlight: ad...
17
  	int (*check_fb)(struct device *dev, struct fb_info *info);
42796d37d   eric miao   [ARM] pxa: add ge...
18
19
20
  };
  
  #endif