tag | line | file | source code |
lp_table | 34 | drivers/char/lp.c | struct lp_struct lp_table[] = { |
lp_table | 152 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[0]; |
lp_table | 155 | drivers/char/lp.c | if (++lp >= &lp_table[LP_NO]) |
lp_table | 167 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[minor]; |
lp_table | 179 | drivers/char/lp.c | lp_table[minor].runchars++; |
lp_table | 182 | drivers/char/lp.c | if (lp_table[minor].runchars > LP_STAT(minor).maxrun) |
lp_table | 183 | drivers/char/lp.c | LP_STAT(minor).maxrun = lp_table[minor].runchars; |
lp_table | 208 | drivers/char/lp.c | lp_table[minor].runchars=0; |
lp_table | 244 | drivers/char/lp.c | lp_table[minor].runchars++; |
lp_table | 246 | drivers/char/lp.c | if (lp_table[minor].runchars > LP_STAT(minor).maxrun) |
lp_table | 247 | drivers/char/lp.c | LP_STAT(minor).maxrun = lp_table[minor].runchars; |
lp_table | 286 | drivers/char/lp.c | minor,lp_table[minor].runchars, LP_TIME(minor)); |
lp_table | 288 | drivers/char/lp.c | lp_table[minor].runchars=0; |
lp_table | 301 | drivers/char/lp.c | if (jiffies-lp_table[minor].lastcall > LP_TIME(minor)) |
lp_table | 302 | drivers/char/lp.c | lp_table[minor].runchars = 0; |
lp_table | 303 | drivers/char/lp.c | lp_table[minor].lastcall = jiffies; |
lp_table | 355 | drivers/char/lp.c | lp_table[minor].lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
lp_table | 356 | drivers/char/lp.c | if (!lp_table[minor].lp_buffer) { |
lp_table | 363 | drivers/char/lp.c | kfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE); |
lp_table | 364 | drivers/char/lp.c | lp_table[minor].lp_buffer = NULL; |
lp_table | 382 | drivers/char/lp.c | kfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE); |
lp_table | 383 | drivers/char/lp.c | lp_table[minor].lp_buffer = NULL; |
lp_table | 435 | 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 */ |