Go to the documentation of this file.
7 #ifndef _UAPI_LINUX_LP_H
8 #define _UAPI_LINUX_LP_H
15 #define LP_EXIST 0x0001
16 #define LP_SELEC 0x0002
17 #define LP_BUSY 0x0004
18 #define LP_BUSY_BIT_POS 2
19 #define LP_OFFL 0x0008
20 #define LP_NOPA 0x0010
22 #define LP_ABORT 0x0040
23 #define LP_CAREFUL 0x0080
24 #define LP_ABORTOPEN 0x0100
26 #define LP_TRUST_IRQ_ 0x0200
27 #define LP_NO_REVERSE 0x0400
28 #define LP_DATA_AVAIL 0x0800
37 #define LP_POUTPA 0x20
38 #define LP_PSELECD 0x10
39 #define LP_PERRORP 0x08
49 #define LP_INIT_CHAR 1000
55 #define LP_INIT_WAIT 1
67 #define LP_INIT_TIME 2
72 #define LPABORT 0x0604
74 #define LPSETIRQ 0x0605
76 #define LPGETIRQ 0x0606
79 #define LPCAREFUL 0x0609
82 #define LPABORTOPEN 0x060a
84 #define LPGETSTATUS 0x060b
85 #define LPRESET 0x060c
87 #define LPGETSTATS 0x060d
89 #define LPGETFLAGS 0x060e
90 #define LPSETTIMEOUT 0x060f
96 #define LP_TIMEOUT_INTERRUPT (60 * HZ)
97 #define LP_TIMEOUT_POLLED (10 * HZ)