tag | line | file | source code |
lp_table | 40 | drivers/char/lp.c | struct lp_struct lp_table[] = { |
lp_table | 158 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[0]; |
lp_table | 161 | drivers/char/lp.c | if (++lp >= &lp_table[LP_NO]) |
lp_table | 173 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[minor]; |
lp_table | 185 | drivers/char/lp.c | lp_table[minor].runchars++; |
lp_table | 188 | drivers/char/lp.c | if (lp_table[minor].runchars > LP_STAT(minor).maxrun) |
lp_table | 189 | drivers/char/lp.c | LP_STAT(minor).maxrun = lp_table[minor].runchars; |
lp_table | 214 | drivers/char/lp.c | lp_table[minor].runchars=0; |
lp_table | 250 | drivers/char/lp.c | lp_table[minor].runchars++; |
lp_table | 252 | drivers/char/lp.c | if (lp_table[minor].runchars > LP_STAT(minor).maxrun) |
lp_table | 253 | drivers/char/lp.c | LP_STAT(minor).maxrun = lp_table[minor].runchars; |
lp_table | 292 | drivers/char/lp.c | minor,lp_table[minor].runchars, LP_TIME(minor)); |
lp_table | 294 | drivers/char/lp.c | lp_table[minor].runchars=0; |
lp_table | 307 | drivers/char/lp.c | if (jiffies-lp_table[minor].lastcall > LP_TIME(minor)) |
lp_table | 308 | drivers/char/lp.c | lp_table[minor].runchars = 0; |
lp_table | 309 | drivers/char/lp.c | lp_table[minor].lastcall = jiffies; |
lp_table | 361 | drivers/char/lp.c | lp_table[minor].lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
lp_table | 362 | drivers/char/lp.c | if (!lp_table[minor].lp_buffer) { |
lp_table | 369 | drivers/char/lp.c | kfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE); |
lp_table | 370 | drivers/char/lp.c | lp_table[minor].lp_buffer = NULL; |
lp_table | 388 | drivers/char/lp.c | kfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE); |
lp_table | 389 | drivers/char/lp.c | lp_table[minor].lp_buffer = NULL; |
lp_table | 441 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[minor]; |
lp_table | 80 | include/linux/lp.h | #define LP_B(minor) lp_table[(minor)].base /* IO address */ |
lp_table | 81 | include/linux/lp.h | #define LP_F(minor) lp_table[(minor)].flags /* flags for busy, etc. */ |
lp_table | 83 | include/linux/lp.h | #define LP_C(minor) (lp_table[(minor)].base + 2) /* control port */ |
lp_table | 84 | include/linux/lp.h | #define LP_CHAR(minor) lp_table[(minor)].chars /* busy timeout */ |
lp_table | 85 | include/linux/lp.h | #define LP_TIME(minor) lp_table[(minor)].time /* wait time */ |
lp_table | 86 | include/linux/lp.h | #define LP_WAIT(minor) lp_table[(minor)].wait /* strobe wait */ |
lp_table | 87 | include/linux/lp.h | #define LP_IRQ(minor) lp_table[(minor)].irq /* interrupt # */ |
lp_table | 89 | include/linux/lp.h | #define LP_STAT(minor) lp_table[(minor)].stats /* statistics area */ |