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
i2c
tsc2007.h
Go to the documentation of this file.
1
#ifndef __LINUX_I2C_TSC2007_H
2
#define __LINUX_I2C_TSC2007_H
3
4
/* linux/i2c/tsc2007.h */
5
6
struct
tsc2007_platform_data
{
7
u16
model
;
/* 2007. */
8
u16
x_plate_ohms
;
/* must be non-zero value */
9
u16
max_rt
;
/* max. resistance above which samples are ignored */
10
unsigned
long
poll_delay
;
/* delay (in ms) after pen-down event
11
before polling starts */
12
unsigned
long
poll_period
;
/* time (in ms) between samples */
13
int
fuzzx
;
/* fuzz factor for X, Y and pressure axes */
14
int
fuzzy
;
15
int
fuzzz
;
16
17
int
(*
get_pendown_state
)(
void
);
18
void
(*
clear_penirq
)(
void
);
/* If needed, clear 2nd level
19
interrupt source */
20
int
(*
init_platform_hw
)(
void
);
21
void
(*
exit_platform_hw
)(
void
);
22
};
23
24
#endif
Generated on Thu Jan 10 2013 14:51:32 for Linux Kernel by
1.8.2