PageRenderTime 24ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/include/linux/spi/corgi_lcd.h

https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t
C Header | 20 lines | 15 code | 5 blank | 0 comment | 0 complexity | 499f503f65c9194fc7665b1ea47e2c2f MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1#ifndef __LINUX_SPI_CORGI_LCD_H
 2#define __LINUX_SPI_CORGI_LCD_H
 3
 4#define CORGI_LCD_MODE_QVGA	1
 5#define CORGI_LCD_MODE_VGA	2
 6
 7struct corgi_lcd_platform_data {
 8	int	init_mode;
 9	int	max_intensity;
10	int	default_intensity;
11	int	limit_mask;
12
13	int	gpio_backlight_on;	/* -1 if n/a */
14	int	gpio_backlight_cont;	/* -1 if n/a */
15
16	void (*notify)(int intensity);
17	void (*kick_battery)(void);
18};
19
20#endif /* __LINUX_SPI_CORGI_LCD_H */