Home
last modified time | relevance | path

Searched refs:lp_table (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/char/
H A Dlp.c315 lp_table[minor].runchars = 0; in lp_write()
382 lp_table[minor].current_mode in lp_write()
384 lp_table[minor].best_mode); in lp_write()
930 if (lp_table[nr].dev == NULL) in lp_register()
932 lp_table[nr].flags |= LP_EXIST; in lp_register()
1030 lp_table[i].dev = NULL; in lp_init()
1031 lp_table[i].flags = 0; in lp_init()
1035 lp_table[i].lp_buffer = NULL; in lp_init()
1037 lp_table[i].lastcall = 0; in lp_init()
1038 lp_table[i].runchars = 0; in lp_init()
[all …]
/openbmc/linux/include/linux/
H A Dlp.h22 #define LP_F(minor) lp_table[(minor)].flags /* flags for busy, etc. */
23 #define LP_CHAR(minor) lp_table[(minor)].chars /* busy timeout */
24 #define LP_TIME(minor) lp_table[(minor)].time /* wait time */
25 #define LP_WAIT(minor) lp_table[(minor)].wait /* strobe wait */
26 #define LP_IRQ(minor) lp_table[(minor)].dev->port->irq /* interrupt # */
29 #define LP_STAT(minor) lp_table[(minor)].stats /* statistics area */
33 #define LP_BASE(x) lp_table[(x)].dev->port->base