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 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef __BMP085_H__ |
| 13 | #define __BMP085_H__ |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 14 | |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 15 | #include <linux/ioctl.h> |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 16 | |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 17 | #define BMP085_NAME "bmp085" |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 18 | |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 19 | #define BMP085_IOCTL_BASE 78 |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 20 | |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 21 | #define BMP085_IOCTL_SET_DELAY _IOW(BMP085_IOCTL_BASE, 0, int) |
| 22 | #define BMP085_IOCTL_GET_DELAY _IOR(BMP085_IOCTL_BASE, 1, int) |
| 23 | #define BMP085_IOCTL_SET_ENABLE _IOW(BMP085_IOCTL_BASE, 2, int) |
| 24 | #define BMP085_IOCTL_GET_ENABLE _IOR(BMP085_IOCTL_BASE, 3, int) |
| 25 | #define BMP085_IOCTL_ACCURACY _IOW(BMP085_IOCTL_BASE, 4, int) |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 26 | |
Colin Cross | 1c7708e | 2010-06-01 17:45:50 -0700 | [diff] [blame] | 27 | #endif |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 28 | |
| 29 | |