![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef __LINUX_I2C_TSC2007_H 0003 #define __LINUX_I2C_TSC2007_H 0004 0005 /* linux/platform_data/tsc2007.h */ 0006 0007 struct tsc2007_platform_data { 0008 u16 model; /* 2007. */ 0009 u16 x_plate_ohms; /* must be non-zero value */ 0010 u16 max_rt; /* max. resistance above which samples are ignored */ 0011 unsigned long poll_period; /* time (in ms) between samples */ 0012 int fuzzx; /* fuzz factor for X, Y and pressure axes */ 0013 int fuzzy; 0014 int fuzzz; 0015 0016 int (*get_pendown_state)(struct device *); 0017 /* If needed, clear 2nd level interrupt source */ 0018 void (*clear_penirq)(void); 0019 int (*init_platform_hw)(void); 0020 void (*exit_platform_hw)(void); 0021 }; 0022 0023 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |