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

Go to the source code of this file.

Macros

#define LP_EXIST   0x0001
 
#define LP_SELEC   0x0002
 
#define LP_BUSY   0x0004
 
#define LP_BUSY_BIT_POS   2
 
#define LP_OFFL   0x0008
 
#define LP_NOPA   0x0010
 
#define LP_ERR   0x0020
 
#define LP_ABORT   0x0040
 
#define LP_CAREFUL   0x0080 /* obsoleted -arca */
 
#define LP_ABORTOPEN   0x0100
 
#define LP_TRUST_IRQ_   0x0200 /* obsolete */
 
#define LP_NO_REVERSE   0x0400 /* No reverse mode available. */
 
#define LP_DATA_AVAIL   0x0800 /* Data is available. */
 
#define LP_PBUSY   0x80 /* inverted input, active high */
 
#define LP_PACK   0x40 /* unchanged input, active low */
 
#define LP_POUTPA   0x20 /* unchanged input, active high */
 
#define LP_PSELECD   0x10 /* unchanged input, active high */
 
#define LP_PERRORP   0x08 /* unchanged input, active low */
 
#define LP_INIT_CHAR   1000
 
#define LP_INIT_WAIT   1
 
#define LP_INIT_TIME   2
 
#define LPCHAR   0x0601 /* corresponds to LP_INIT_CHAR */
 
#define LPTIME   0x0602 /* corresponds to LP_INIT_TIME */
 
#define LPABORT
 
#define LPSETIRQ
 
#define LPGETIRQ   0x0606 /* get the current IRQ number */
 
#define LPWAIT   0x0608 /* corresponds to LP_INIT_WAIT */
 
#define LPCAREFUL
 
#define LPABORTOPEN
 
#define LPGETSTATUS   0x060b /* return LP_S(minor) */
 
#define LPRESET   0x060c /* reset printer */
 
#define LPGETFLAGS   0x060e /* get status flags */
 
#define LPSETTIMEOUT   0x060f /* set parport timeout */
 
#define LP_TIMEOUT_INTERRUPT   (60 * HZ)
 
#define LP_TIMEOUT_POLLED   (10 * HZ)
 

Macro Definition Documentation

#define LP_ABORT   0x0040

Definition at line 22 of file lp.h.

#define LP_ABORTOPEN   0x0100

Definition at line 24 of file lp.h.

#define LP_BUSY   0x0004

Definition at line 17 of file lp.h.

#define LP_BUSY_BIT_POS   2

Definition at line 18 of file lp.h.

#define LP_CAREFUL   0x0080 /* obsoleted -arca */

Definition at line 23 of file lp.h.

#define LP_DATA_AVAIL   0x0800 /* Data is available. */

Definition at line 28 of file lp.h.

#define LP_ERR   0x0020

Definition at line 21 of file lp.h.

#define LP_EXIST   0x0001

Definition at line 15 of file lp.h.

#define LP_INIT_CHAR   1000

Definition at line 49 of file lp.h.

#define LP_INIT_TIME   2

Definition at line 67 of file lp.h.

#define LP_INIT_WAIT   1

Definition at line 55 of file lp.h.

#define LP_NO_REVERSE   0x0400 /* No reverse mode available. */

Definition at line 27 of file lp.h.

#define LP_NOPA   0x0010

Definition at line 20 of file lp.h.

#define LP_OFFL   0x0008

Definition at line 19 of file lp.h.

#define LP_PACK   0x40 /* unchanged input, active low */

Definition at line 36 of file lp.h.

#define LP_PBUSY   0x80 /* inverted input, active high */

Definition at line 35 of file lp.h.

#define LP_PERRORP   0x08 /* unchanged input, active low */

Definition at line 39 of file lp.h.

#define LP_POUTPA   0x20 /* unchanged input, active high */

Definition at line 37 of file lp.h.

#define LP_PSELECD   0x10 /* unchanged input, active high */

Definition at line 38 of file lp.h.

#define LP_SELEC   0x0002

Definition at line 16 of file lp.h.

#define LP_TIMEOUT_INTERRUPT   (60 * HZ)

Definition at line 91 of file lp.h.

#define LP_TIMEOUT_POLLED   (10 * HZ)

Definition at line 92 of file lp.h.

#define LP_TRUST_IRQ_   0x0200 /* obsolete */

Definition at line 26 of file lp.h.

#define LPABORT
Value:
0x0604 /* call with TRUE arg to abort on error,
FALSE to retry. Default is retry. */

Definition at line 72 of file lp.h.

#define LPABORTOPEN
Value:
0x060a /* call with TRUE arg to abort open() on error,
FALSE to ignore error. Default is ignore. */

Definition at line 78 of file lp.h.

#define LPCAREFUL
Value:
0x0609 /* call with TRUE arg to require out-of-paper, off-
line, and error indicators good on all writes,
FALSE to ignore them. Default is ignore. */

Definition at line 77 of file lp.h.

#define LPCHAR   0x0601 /* corresponds to LP_INIT_CHAR */

Definition at line 70 of file lp.h.

#define LPGETFLAGS   0x060e /* get status flags */

Definition at line 84 of file lp.h.

#define LPGETIRQ   0x0606 /* get the current IRQ number */

Definition at line 74 of file lp.h.

#define LPGETSTATUS   0x060b /* return LP_S(minor) */

Definition at line 79 of file lp.h.

#define LPRESET   0x060c /* reset printer */

Definition at line 80 of file lp.h.

#define LPSETIRQ
Value:
0x0605 /* call with new IRQ number,
or 0 for polling (no IRQ) */

Definition at line 73 of file lp.h.

#define LPSETTIMEOUT   0x060f /* set parport timeout */

Definition at line 85 of file lp.h.

#define LPTIME   0x0602 /* corresponds to LP_INIT_TIME */

Definition at line 71 of file lp.h.

#define LPWAIT   0x0608 /* corresponds to LP_INIT_WAIT */

Definition at line 75 of file lp.h.