Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
ppdev.h File Reference

Go to the source code of this file.

Data Structures

struct  ppdev_frob_struct
 

Macros

#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)
 
#define PPRCONTROL   _IOR(PP_IOCTL, 0x83, unsigned char)
 
#define PPWCONTROL   _IOW(PP_IOCTL, 0x84, unsigned char)
 
#define PPFCONTROL   _IOW(PP_IOCTL, 0x8e, struct ppdev_frob_struct)
 
#define PPRDATA   _IOR(PP_IOCTL, 0x85, unsigned char)
 
#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)
 
#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)
 
#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)
 
#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)
 
#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)
 
#define PPSETFLAGS   _IOW(PP_IOCTL, 0x9b, int)
 
#define PP_FASTWRITE   (1<<2)
 
#define PP_FASTREAD   (1<<3)
 
#define PP_W91284PIC   (1<<4)
 
#define PP_FLAGMASK   (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC)
 

Macro Definition Documentation

#define PP_FASTREAD   (1<<3)

Definition at line 93 of file ppdev.h.

#define PP_FASTWRITE   (1<<2)

Definition at line 92 of file ppdev.h.

#define PP_FLAGMASK   (PP_FASTWRITE | PP_FASTREAD | PP_W91284PIC)

Definition at line 97 of file ppdev.h.

#define PP_IOCTL   'p'

Definition at line 17 of file ppdev.h.

#define PP_W91284PIC   (1<<4)

Definition at line 94 of file ppdev.h.

#define PPCLAIM   _IO(PP_IOCTL, 0x8b)

Definition at line 49 of file ppdev.h.

#define PPCLRIRQ   _IOR(PP_IOCTL, 0x93, int)

Definition at line 71 of file ppdev.h.

#define PPDATADIR   _IOW(PP_IOCTL, 0x90, int)

Definition at line 62 of file ppdev.h.

#define PPEXCL   _IO(PP_IOCTL, 0x8f)

Definition at line 59 of file ppdev.h.

#define PPFCONTROL   _IOW(PP_IOCTL, 0x8e, struct ppdev_frob_struct)

Definition at line 34 of file ppdev.h.

#define PPGETFLAGS   _IOR(PP_IOCTL, 0x9a, int)

Definition at line 88 of file ppdev.h.

#define PPGETMODE   _IOR(PP_IOCTL, 0x98, int)

Definition at line 84 of file ppdev.h.

#define PPGETMODES   _IOR(PP_IOCTL, 0x97, unsigned int)

Definition at line 81 of file ppdev.h.

#define PPGETPHASE   _IOR(PP_IOCTL, 0x99, int)

Definition at line 85 of file ppdev.h.

#define PPGETTIME   _IOR(PP_IOCTL, 0x95, struct timeval)

Definition at line 77 of file ppdev.h.

#define PPNEGOT   _IOW(PP_IOCTL, 0x91, int)

Definition at line 65 of file ppdev.h.

#define PPRCONTROL   _IOR(PP_IOCTL, 0x83, unsigned char)

Definition at line 27 of file ppdev.h.

#define PPRDATA   _IOR(PP_IOCTL, 0x85, unsigned char)

Definition at line 37 of file ppdev.h.

#define PPRECONTROL   OBSOLETE__IOR(PP_IOCTL, 0x87, unsigned char)

Definition at line 41 of file ppdev.h.

#define PPRELEASE   _IO(PP_IOCTL, 0x8c)

Definition at line 52 of file ppdev.h.

#define PPRFIFO   OBSOLETE__IOR(PP_IOCTL, 0x89, unsigned char)

Definition at line 45 of file ppdev.h.

#define PPRSTATUS   _IOR(PP_IOCTL, 0x81, unsigned char)

Definition at line 23 of file ppdev.h.

#define PPSETFLAGS   _IOW(PP_IOCTL, 0x9b, int)

Definition at line 89 of file ppdev.h.

#define PPSETMODE   _IOW(PP_IOCTL, 0x80, int)

Definition at line 20 of file ppdev.h.

#define PPSETPHASE   _IOW(PP_IOCTL, 0x94, int)

Definition at line 74 of file ppdev.h.

#define PPSETTIME   _IOW(PP_IOCTL, 0x96, struct timeval)

Definition at line 78 of file ppdev.h.

#define PPWCONTROL   _IOW(PP_IOCTL, 0x84, unsigned char)

Definition at line 28 of file ppdev.h.

#define PPWCTLONIRQ   _IOW(PP_IOCTL, 0x92, unsigned char)

Definition at line 68 of file ppdev.h.

#define PPWDATA   _IOW(PP_IOCTL, 0x86, unsigned char)

Definition at line 38 of file ppdev.h.

#define PPWECONTROL   OBSOLETE__IOW(PP_IOCTL, 0x88, unsigned char)

Definition at line 42 of file ppdev.h.

#define PPWFIFO   OBSOLETE__IOW(PP_IOCTL, 0x8a, unsigned char)

Definition at line 46 of file ppdev.h.

#define PPWSTATUS   OBSOLETE__IOW(PP_IOCTL, 0x82, unsigned char)

Definition at line 24 of file ppdev.h.

#define PPYIELD   _IO(PP_IOCTL, 0x8d)

Definition at line 56 of file ppdev.h.