Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
input
gpio_tilt.h
Go to the documentation of this file.
1
#ifndef _INPUT_GPIO_TILT_H
2
#define _INPUT_GPIO_TILT_H
3
12
struct
gpio_tilt_axis
{
13
int
axis
;
14
int
min
;
15
int
max
;
16
int
fuzz
;
17
int
flat
;
18
};
19
33
struct
gpio_tilt_state
{
34
int
gpios
;
35
int
*
axes
;
36
};
37
56
struct
gpio_tilt_platform_data
{
57
struct
gpio
*
gpios
;
58
int
nr_gpios
;
59
60
struct
gpio_tilt_axis
*
axes
;
61
int
nr_axes
;
62
63
struct
gpio_tilt_state
*
states
;
64
int
nr_states
;
65
66
int
debounce_interval
;
67
68
unsigned
int
poll_interval
;
69
int
(*
enable
)(
struct
device
*
dev
);
70
void
(*
disable
)(
struct
device
*
dev
);
71
};
72
73
#endif
Generated on Thu Jan 10 2013 14:51:38 for Linux Kernel by
1.8.2