tag | line | file | source code |
lp_table | 35 | drivers/char/lp.c | struct lp_struct lp_table[] = { |
lp_table | 153 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[0]; |
lp_table | 156 | drivers/char/lp.c | if (++lp >= &lp_table[LP_NO]) |
lp_table | 168 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[minor]; |
lp_table | 180 | drivers/char/lp.c | lp_table[minor].runchars++; |
lp_table | 183 | drivers/char/lp.c | if (lp_table[minor].runchars > LP_STAT(minor).maxrun) |
lp_table | 184 | drivers/char/lp.c | LP_STAT(minor).maxrun = lp_table[minor].runchars; |
lp_table | 209 | drivers/char/lp.c | lp_table[minor].runchars=0; |
lp_table | 245 | drivers/char/lp.c | lp_table[minor].runchars++; |
lp_table | 247 | drivers/char/lp.c | if (lp_table[minor].runchars > LP_STAT(minor).maxrun) |
lp_table | 248 | drivers/char/lp.c | LP_STAT(minor).maxrun = lp_table[minor].runchars; |
lp_table | 287 | drivers/char/lp.c | minor,lp_table[minor].runchars, LP_TIME(minor)); |
lp_table | 289 | drivers/char/lp.c | lp_table[minor].runchars=0; |
lp_table | 302 | drivers/char/lp.c | if (jiffies-lp_table[minor].lastcall > LP_TIME(minor)) |
lp_table | 303 | drivers/char/lp.c | lp_table[minor].runchars = 0; |
lp_table | 304 | drivers/char/lp.c | lp_table[minor].lastcall = jiffies; |
lp_table | 356 | drivers/char/lp.c | lp_table[minor].lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
lp_table | 357 | drivers/char/lp.c | if (!lp_table[minor].lp_buffer) { |
lp_table | 364 | drivers/char/lp.c | kfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE); |
lp_table | 365 | drivers/char/lp.c | lp_table[minor].lp_buffer = NULL; |
lp_table | 383 | drivers/char/lp.c | kfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE); |
lp_table | 384 | drivers/char/lp.c | lp_table[minor].lp_buffer = NULL; |
lp_table | 436 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[minor]; |
lp_table | 81 | include/linux/lp.h | #define LP_B(minor) lp_table[(minor)].base /* IO address */ |
lp_table | 82 | include/linux/lp.h | #define LP_F(minor) lp_table[(minor)].flags /* flags for busy, etc. */ |
lp_table | 84 | include/linux/lp.h | #define LP_C(minor) (lp_table[(minor)].base + 2) /* control port */ |
lp_table | 85 | include/linux/lp.h | #define LP_CHAR(minor) lp_table[(minor)].chars /* busy timeout */ |
lp_table | 86 | include/linux/lp.h | #define LP_TIME(minor) lp_table[(minor)].time /* wait time */ |
lp_table | 87 | include/linux/lp.h | #define LP_WAIT(minor) lp_table[(minor)].wait /* strobe wait */ |
lp_table | 88 | include/linux/lp.h | #define LP_IRQ(minor) lp_table[(minor)].irq /* interrupt # */ |
lp_table | 90 | include/linux/lp.h | #define LP_STAT(minor) lp_table[(minor)].stats /* statistics area */ |