Lines Matching refs:LP_NO
140 /* if you have more than 8 printers, remember to increase LP_NO */
141 #define LP_NO 8
144 static struct lp_struct lp_table[LP_NO];
145 static int port_num[LP_NO];
504 if (minor >= LP_NO) {
591 if (minor >= LP_NO)
878 static int parport_nr[LP_NO] = { [0 ... LP_NO-1] = LP_PARPORT_UNSPEC };
879 static char *parport[LP_NO];
901 if (parport_ptr < LP_NO)
909 if (parport_ptr < LP_NO)
969 if (lp_count == LP_NO) {
970 printk(KERN_INFO "lp: ignoring parallel port (max. %d)\n",LP_NO);
973 for (i = 0; i < LP_NO; i++)
982 for (i = 0; i < LP_NO; i++) {
1005 for (n = 0; n < LP_NO; n++) {
1029 for (i = 0; i < LP_NO; i++) {
1089 for (n = 0; n < LP_NO && parport[n]; n++) {