diff options
author | Devin Kim <dojip.kim@lge.com> | 2014-05-14 13:55:50 -0700 |
---|---|---|
committer | Prashant Malani <pmalani@google.com> | 2014-07-11 19:45:47 -0700 |
commit | 399f3ae8b7d7b021f66a43723f7273c67292e615 (patch) | |
tree | 894a122c8cc12772e3b939c73fa188d13937e99d | |
parent | ba16a58d171891d0c84e8af438b84eccee6d44f0 (diff) | |
download | msm8x26-399f3ae8b7d7b021f66a43723f7273c67292e615.tar.gz |
msm8x26: update headers for sensors
Change-Id: I7ecf96ee1a0d77c7858ce87eca78024cf48796c0
Signed-off-by: Devin Kim <dojip.kim@lge.com>
-rw-r--r-- | kernel-headers/linux/msm_dsps.h | 30 | ||||
-rw-r--r-- | original-kernel-headers/linux/msm_dsps.h | 16 |
2 files changed, 46 insertions, 0 deletions
diff --git a/kernel-headers/linux/msm_dsps.h b/kernel-headers/linux/msm_dsps.h new file mode 100644 index 0000000..1a4a124 --- /dev/null +++ b/kernel-headers/linux/msm_dsps.h @@ -0,0 +1,30 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _UAPI_DSPS_H_ +#define _UAPI_DSPS_H_ +#include <linux/ioctl.h> +#define DSPS_IOCTL_MAGIC 'd' +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define DSPS_IOCTL_ON _IO(DSPS_IOCTL_MAGIC, 1) +#define DSPS_IOCTL_OFF _IO(DSPS_IOCTL_MAGIC, 2) +#define DSPS_IOCTL_READ_SLOW_TIMER _IOR(DSPS_IOCTL_MAGIC, 3, unsigned int*) +#define DSPS_IOCTL_READ_FAST_TIMER _IOR(DSPS_IOCTL_MAGIC, 4, unsigned int*) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define DSPS_IOCTL_RESET _IO(DSPS_IOCTL_MAGIC, 5) +#endif diff --git a/original-kernel-headers/linux/msm_dsps.h b/original-kernel-headers/linux/msm_dsps.h new file mode 100644 index 0000000..a21927d --- /dev/null +++ b/original-kernel-headers/linux/msm_dsps.h @@ -0,0 +1,16 @@ +#ifndef _UAPI_DSPS_H_ +#define _UAPI_DSPS_H_ + +#include <linux/ioctl.h> + +#define DSPS_IOCTL_MAGIC 'd' + +#define DSPS_IOCTL_ON _IO(DSPS_IOCTL_MAGIC, 1) +#define DSPS_IOCTL_OFF _IO(DSPS_IOCTL_MAGIC, 2) + +#define DSPS_IOCTL_READ_SLOW_TIMER _IOR(DSPS_IOCTL_MAGIC, 3, unsigned int*) +#define DSPS_IOCTL_READ_FAST_TIMER _IOR(DSPS_IOCTL_MAGIC, 4, unsigned int*) + +#define DSPS_IOCTL_RESET _IO(DSPS_IOCTL_MAGIC, 5) + +#endif /* _UAPI_DSPS_H_ */ |