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