blob: eb17df0acee455b1d33dd148c2ee7a99bc02a85c [file] [log] [blame]
Colin Cross1c7708e2010-06-01 17:45:50 -07001/****************************************************************************
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 Cheng654325d2012-03-07 21:13:49 -080010 *** 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 Cross1c7708e2010-06-01 17:45:50 -070017 ****************************************************************************
18 ****************************************************************************/
19#ifndef __KXTF9_H__
20#define __KXTF9_H__
Colin Cross1c7708e2010-06-01 17:45:50 -070021#include <linux/ioctl.h>
Colin Cross1c7708e2010-06-01 17:45:50 -070022#define KXTF9_IOCTL_BASE 77
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070024#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 Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070029#define KXTF9_IOCTL_SET_G_RANGE _IOW(KXTF9_IOCTL_BASE, 4, int)
Colin Cross1c7708e2010-06-01 17:45:50 -070030#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 Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070034#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 Cross1c7708e2010-06-01 17:45:50 -070037#define RES_12BIT 0x40
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070039#define KXTF9_G_2G 0x00
40#define KXTF9_G_4G 0x08
41#define KXTF9_G_8G 0x10
42#define TPE 0x01
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070044#define WUFE 0x02
45#define TDTE 0x04
Colin Cross1c7708e2010-06-01 17:45:50 -070046#define OTP1_6 0x00
47#define OTP6_3 0x20
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070049#define OTP12_5 0x40
50#define OTP50 0x60
51#define OWUF25 0x00
52#define OWUF50 0x01
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070054#define OWUF100 0x02
55#define OWUF200 0x03
56#define OTDT50 0x00
57#define OTDT100 0x04
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070059#define OTDT200 0x08
60#define OTDT400 0x0C
Colin Cross1c7708e2010-06-01 17:45:50 -070061#define IEN 0x20
62#define IEA 0x10
Ben Cheng654325d2012-03-07 21:13:49 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070064#define IEL 0x08
65#define IEU 0x04
Colin Cross1c7708e2010-06-01 17:45:50 -070066#define ODR800 0x06
67#define ODR400 0x05
Ben Cheng654325d2012-03-07 21:13:49 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070069#define ODR200 0x04
70#define ODR100 0x03
71#define ODR50 0x02
72#define ODR25 0x01
Ben Cheng654325d2012-03-07 21:13:49 -080073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Colin Cross1c7708e2010-06-01 17:45:50 -070074#define ODR12_5 0x00
Colin Cross1c7708e2010-06-01 17:45:50 -070075#define SENSITIVITY_REGS 0x07
Colin Cross1c7708e2010-06-01 17:45:50 -070076#endif