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 *** 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 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #define PP_IOCTL 'p' 20 #define PPSETMODE _IOW(PP_IOCTL, 0x80, int) 21 #define PPRSTATUS _IOR(PP_IOCTL, 0x81, unsigned char) 22 #define PPWSTATUS OBSOLETE__IOW(PP_IOCTL, 0x82, unsigned char) 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define PPRCONTROL _IOR(PP_IOCTL, 0x83, unsigned char) 25 #define PPWCONTROL _IOW(PP_IOCTL, 0x84, unsigned char) 26 struct ppdev_frob_struct { 27 unsigned char mask; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 unsigned char val; 30 }; 31 #define PPFCONTROL _IOW(PP_IOCTL, 0x8e, struct ppdev_frob_struct) 32 #define PPRDATA _IOR(PP_IOCTL, 0x85, unsigned char) 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define PPWDATA _IOW(PP_IOCTL, 0x86, unsigned char) 35 #define PPRECONTROL OBSOLETE__IOR(PP_IOCTL, 0x87, unsigned char) 36 #define PPWECONTROL OBSOLETE__IOW(PP_IOCTL, 0x88, unsigned char) 37 #define PPRFIFO OBSOLETE__IOR(PP_IOCTL, 0x89, unsigned char) 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define PPWFIFO OBSOLETE__IOW(PP_IOCTL, 0x8a, unsigned char) 40 #define PPCLAIM _IO(PP_IOCTL, 0x8b) 41 #define PPRELEASE _IO(PP_IOCTL, 0x8c) 42 #define PPYIELD _IO(PP_IOCTL, 0x8d) 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define PPEXCL _IO(PP_IOCTL, 0x8f) 45 #define PPDATADIR _IOW(PP_IOCTL, 0x90, int) 46 #define PPNEGOT _IOW(PP_IOCTL, 0x91, int) 47 #define PPWCTLONIRQ _IOW(PP_IOCTL, 0x92, unsigned char) 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #define PPCLRIRQ _IOR(PP_IOCTL, 0x93, int) 50 #define PPSETPHASE _IOW(PP_IOCTL, 0x94, int) 51 #define PPGETTIME _IOR(PP_IOCTL, 0x95, struct timeval) 52 #define PPSETTIME _IOW(PP_IOCTL, 0x96, struct timeval) 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 #define PPGETMODES _IOR(PP_IOCTL, 0x97, unsigned int) 55 #define PPGETMODE _IOR(PP_IOCTL, 0x98, int) 56 #define PPGETPHASE _IOR(PP_IOCTL, 0x99, int) 57 #define PPGETFLAGS _IOR(PP_IOCTL, 0x9a, int) 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 #define PPSETFLAGS _IOW(PP_IOCTL, 0x9b, int) 60 #define PP_FASTWRITE (1 << 2) 61 #define PP_FASTREAD (1 << 3) 62 #define PP_W91284PIC (1 << 4) 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 #define PP_FLAGMASK (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC) 65