Lines Matching refs:LP_NO
141 #define LP_NO 8 macro
144 static struct lp_struct lp_table[LP_NO];
145 static int port_num[LP_NO];
502 if (minor >= LP_NO) { in lp_open()
589 if (minor >= LP_NO) in lp_do_ioctl()
876 static int parport_nr[LP_NO] = { [0 ... LP_NO-1] = LP_PARPORT_UNSPEC };
877 static char *parport[LP_NO];
899 if (parport_ptr < LP_NO) in lp_setup()
907 if (parport_ptr < LP_NO) in lp_setup()
967 if (lp_count == LP_NO) { in lp_attach()
968 printk(KERN_INFO "lp: ignoring parallel port (max. %d)\n",LP_NO); in lp_attach()
971 for (i = 0; i < LP_NO; i++) in lp_attach()
980 for (i = 0; i < LP_NO; i++) { in lp_attach()
1003 for (n = 0; n < LP_NO; n++) { in lp_detach()
1027 for (i = 0; i < LP_NO; i++) { in lp_init()
1089 for (n = 0; n < LP_NO && parport[n]; n++) { in lp_init_module()