Go to the documentation of this file.
11 #include <linux/wait.h>
16 #define LP_PARPORT_UNSPEC -4
17 #define LP_PARPORT_AUTO -3
18 #define LP_PARPORT_OFF -2
19 #define LP_PARPORT_NONE -1
21 #define LP_F(minor) lp_table[(minor)].flags
22 #define LP_CHAR(minor) lp_table[(minor)].chars
23 #define LP_TIME(minor) lp_table[(minor)].time
24 #define LP_WAIT(minor) lp_table[(minor)].wait
25 #define LP_IRQ(minor) lp_table[(minor)].dev->port->irq
28 #define LP_STAT(minor) lp_table[(minor)].stats
30 #define LP_BUFFER_SIZE PAGE_SIZE
32 #define LP_BASE(x) lp_table[(x)].dev->port->base
40 unsigned int meanwait;
53 unsigned int lastcall;
54 unsigned int runchars;
55 struct lp_stats
stats;
81 #define LP_PINTEN 0x10
82 #define LP_PSELECP 0x08
83 #define LP_PINITP 0x04
84 #define LP_PAUTOLF 0x02
85 #define LP_PSTROBE 0x01