Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef __KXTF9_H__ |
| 20 | #define __KXTF9_H__ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 21 | #include <linux/ioctl.h> |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 22 | #define KXTF9_IOCTL_BASE 77 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 24 | #define KXTF9_IOCTL_SET_DELAY _IOW(KXTF9_IOCTL_BASE, 0, int) |
| 25 | #define KXTF9_IOCTL_GET_DELAY _IOR(KXTF9_IOCTL_BASE, 1, int) |
| 26 | #define KXTF9_IOCTL_SET_ENABLE _IOW(KXTF9_IOCTL_BASE, 2, int) |
| 27 | #define KXTF9_IOCTL_GET_ENABLE _IOR(KXTF9_IOCTL_BASE, 3, int) |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 29 | #define KXTF9_IOCTL_SET_G_RANGE _IOW(KXTF9_IOCTL_BASE, 4, int) |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 30 | #define KXTF9_IOCTL_SET_TILT_ENABLE _IOW(KXTF9_IOCTL_BASE, 5, int) |
| 31 | #define KXTF9_IOCTL_SET_TAP_ENABLE _IOW(KXTF9_IOCTL_BASE, 6, int) |
| 32 | #define KXTF9_IOCTL_SET_WAKE_ENABLE _IOW(KXTF9_IOCTL_BASE, 7, int) |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 34 | #define KXTF9_IOCTL_SET_PM_MODE _IOW(KXTF9_IOCTL_BASE, 8, int) |
| 35 | #define KXTF9_IOCTL_SELF_TEST _IOW(KXTF9_IOCTL_BASE, 9, int) |
| 36 | #define KXTF9_IOCTL_SET_SENSITIVITY _IOW(KXTF9_IOCTL_BASE, 10, int) |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 37 | #define RES_12BIT 0x40 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 39 | #define KXTF9_G_2G 0x00 |
| 40 | #define KXTF9_G_4G 0x08 |
| 41 | #define KXTF9_G_8G 0x10 |
| 42 | #define TPE 0x01 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 44 | #define WUFE 0x02 |
| 45 | #define TDTE 0x04 |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 46 | #define OTP1_6 0x00 |
| 47 | #define OTP6_3 0x20 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 49 | #define OTP12_5 0x40 |
| 50 | #define OTP50 0x60 |
| 51 | #define OWUF25 0x00 |
| 52 | #define OWUF50 0x01 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 54 | #define OWUF100 0x02 |
| 55 | #define OWUF200 0x03 |
| 56 | #define OTDT50 0x00 |
| 57 | #define OTDT100 0x04 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 59 | #define OTDT200 0x08 |
| 60 | #define OTDT400 0x0C |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 61 | #define IEN 0x20 |
| 62 | #define IEA 0x10 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 64 | #define IEL 0x08 |
| 65 | #define IEU 0x04 |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 66 | #define ODR800 0x06 |
| 67 | #define ODR400 0x05 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 69 | #define ODR200 0x04 |
| 70 | #define ODR100 0x03 |
| 71 | #define ODR50 0x02 |
| 72 | #define ODR25 0x01 |
Ben Cheng | 654325d | 2012-03-07 21:13:49 -0800 | [diff] [blame^] | 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 74 | #define ODR12_5 0x00 |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 75 | #define SENSITIVITY_REGS 0x07 |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 76 | #endif |