PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/include/linux/amba/pl061.h

https://github.com/airy09/android_kernel_sony_apq8064
C Header | 16 lines | 7 code | 4 blank | 5 comment | 0 complexity | 00475a662136e862be82ff8136558085 MD5 | raw file
 1#include <linux/types.h>
 2
 3/* platform data for the PL061 GPIO driver */
 4
 5struct pl061_platform_data {
 6	/* number of the first GPIO */
 7	unsigned	gpio_base;
 8
 9	/* number of the first IRQ.
10	 * If the IRQ functionality in not desired this must be set to 0.
11	 */
12	unsigned	irq_base;
13
14	u8		directions;	/* startup directions, 1: out, 0: in */
15	u8		values;		/* startup values */
16};