tag | line | file | source code |
lp_table | 38 | 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 | 159 | drivers/char/lp.c | struct lp_struct *lp_end = &lp_table[LP_NO]; |
lp_table | 175 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[minor]; |
lp_table | 360 | drivers/char/lp.c | lp_table[minor].lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL); |
lp_table | 361 | drivers/char/lp.c | if (!lp_table[minor].lp_buffer) { |
lp_table | 368 | drivers/char/lp.c | kfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE); |
lp_table | 369 | drivers/char/lp.c | lp_table[minor].lp_buffer = NULL; |
lp_table | 387 | drivers/char/lp.c | kfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE); |
lp_table | 388 | drivers/char/lp.c | lp_table[minor].lp_buffer = NULL; |
lp_table | 448 | drivers/char/lp.c | struct lp_struct *lp = &lp_table[minor]; |
lp_table | 79 | include/linux/lp.h | #define LP_B(minor) lp_table[(minor)].base /* IO address */ |
lp_table | 80 | include/linux/lp.h | #define LP_F(minor) lp_table[(minor)].flags /* flags for busy, etc. */ |
lp_table | 82 | include/linux/lp.h | #define LP_C(minor) (lp_table[(minor)].base + 2) /* control port */ |
lp_table | 83 | include/linux/lp.h | #define LP_CHAR(minor) lp_table[(minor)].chars /* busy timeout */ |
lp_table | 84 | include/linux/lp.h | #define LP_TIME(minor) lp_table[(minor)].time /* wait time */ |
lp_table | 85 | include/linux/lp.h | #define LP_WAIT(minor) lp_table[(minor)].wait /* strobe wait */ |
lp_table | 86 | include/linux/lp.h | #define LP_IRQ(minor) lp_table[(minor)].irq /* interrupt # */ |