2009-03-04 04:28:35 +01:00
|
|
|
/****************************************************************************
|
|
|
|
****************************************************************************
|
|
|
|
***
|
|
|
|
*** 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.
|
|
|
|
***
|
2012-03-08 06:13:49 +01:00
|
|
|
*** 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!
|
|
|
|
***
|
2009-03-04 04:28:35 +01:00
|
|
|
****************************************************************************
|
|
|
|
****************************************************************************/
|
|
|
|
#define PP_IOCTL 'p'
|
|
|
|
#define PPSETMODE _IOW(PP_IOCTL, 0x80, int)
|
|
|
|
#define PPRSTATUS _IOR(PP_IOCTL, 0x81, unsigned char)
|
|
|
|
#define PPWSTATUS OBSOLETE__IOW(PP_IOCTL, 0x82, unsigned char)
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#define PPRCONTROL _IOR(PP_IOCTL, 0x83, unsigned char)
|
|
|
|
#define PPWCONTROL _IOW(PP_IOCTL, 0x84, unsigned char)
|
|
|
|
struct ppdev_frob_struct {
|
|
|
|
unsigned char mask;
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
unsigned char val;
|
|
|
|
};
|
|
|
|
#define PPFCONTROL _IOW(PP_IOCTL, 0x8e, struct ppdev_frob_struct)
|
|
|
|
#define PPRDATA _IOR(PP_IOCTL, 0x85, unsigned char)
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#define PPWDATA _IOW(PP_IOCTL, 0x86, unsigned char)
|
|
|
|
#define PPRECONTROL OBSOLETE__IOR(PP_IOCTL, 0x87, unsigned char)
|
|
|
|
#define PPWECONTROL OBSOLETE__IOW(PP_IOCTL, 0x88, unsigned char)
|
|
|
|
#define PPRFIFO OBSOLETE__IOR(PP_IOCTL, 0x89, unsigned char)
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#define PPWFIFO OBSOLETE__IOW(PP_IOCTL, 0x8a, unsigned char)
|
|
|
|
#define PPCLAIM _IO(PP_IOCTL, 0x8b)
|
|
|
|
#define PPRELEASE _IO(PP_IOCTL, 0x8c)
|
|
|
|
#define PPYIELD _IO(PP_IOCTL, 0x8d)
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#define PPEXCL _IO(PP_IOCTL, 0x8f)
|
|
|
|
#define PPDATADIR _IOW(PP_IOCTL, 0x90, int)
|
|
|
|
#define PPNEGOT _IOW(PP_IOCTL, 0x91, int)
|
|
|
|
#define PPWCTLONIRQ _IOW(PP_IOCTL, 0x92, unsigned char)
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#define PPCLRIRQ _IOR(PP_IOCTL, 0x93, int)
|
|
|
|
#define PPSETPHASE _IOW(PP_IOCTL, 0x94, int)
|
|
|
|
#define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval)
|
|
|
|
#define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval)
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#define PPGETMODES _IOR(PP_IOCTL, 0x97, unsigned int)
|
|
|
|
#define PPGETMODE _IOR(PP_IOCTL, 0x98, int)
|
|
|
|
#define PPGETPHASE _IOR(PP_IOCTL, 0x99, int)
|
|
|
|
#define PPGETFLAGS _IOR(PP_IOCTL, 0x9a, int)
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#define PPSETFLAGS _IOW(PP_IOCTL, 0x9b, int)
|
|
|
|
#define PP_FASTWRITE (1<<2)
|
|
|
|
#define PP_FASTREAD (1<<3)
|
|
|
|
#define PP_W91284PIC (1<<4)
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#define PP_FLAGMASK (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC)
|