Lines Matching refs:LP_NO
140 /* if you have more than 8 printers, remember to increase LP_NO */
141 #define LP_NO 8
143 static struct lp_struct lp_table[LP_NO];
497 if (minor >= LP_NO) {
584 if (minor >= LP_NO)
827 static int parport_nr[LP_NO] = { [0 ... LP_NO-1] = LP_PARPORT_UNSPEC };
828 static char *parport[LP_NO];
850 if (parport_ptr < LP_NO)
909 if (lp_count == LP_NO) {
910 printk(KERN_INFO "lp: ignoring parallel port (max. %d)\n",LP_NO);
918 for (i = 0; i < LP_NO; i++) {
953 for (i = 0; i < LP_NO; i++) {
1014 for (n = 0; n < LP_NO && parport[n]; n++) {
1045 for (offset = 0; offset < LP_NO; offset++) {