blob: 0a0f8cd2f80959f7a460b5b6862624df9ee61210 [file] [log] [blame]
Colin Crossb5088762010-06-09 15:51:43 -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 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef __L3G4200D_H__
13#define __L3G4200D_H__
Ben Cheng4b29af02012-03-07 16:14:53 -080014
Colin Crossb5088762010-06-09 15:51:43 -070015#include <linux/ioctl.h>
Ben Cheng4b29af02012-03-07 16:14:53 -080016
Colin Crossb5088762010-06-09 15:51:43 -070017#define L3G4200D_NAME "l3g4200d"
Ben Cheng4b29af02012-03-07 16:14:53 -080018
Colin Crossb5088762010-06-09 15:51:43 -070019#define L3G4200D_IOCTL_BASE 77
Ben Cheng4b29af02012-03-07 16:14:53 -080020
Colin Crossb5088762010-06-09 15:51:43 -070021#define L3G4200D_IOCTL_SET_DELAY _IOW(L3G4200D_IOCTL_BASE, 0, int)
22#define L3G4200D_IOCTL_GET_DELAY _IOR(L3G4200D_IOCTL_BASE, 1, int)
23#define L3G4200D_IOCTL_SET_ENABLE _IOW(L3G4200D_IOCTL_BASE, 2, int)
24#define L3G4200D_IOCTL_GET_ENABLE _IOR(L3G4200D_IOCTL_BASE, 3, int)
Ben Cheng4b29af02012-03-07 16:14:53 -080025
Colin Crossb5088762010-06-09 15:51:43 -070026#endif
Ben Cheng4b29af02012-03-07 16:14:53 -080027