Lines Matching refs:LP_NO
140 #define LP_NO 8 macro
143 static struct lp_struct lp_table[LP_NO];
497 if (minor >= LP_NO) { in lp_open()
584 if (minor >= LP_NO) in lp_do_ioctl()
866 static int parport_nr[LP_NO] = { [0 ... LP_NO-1] = LP_PARPORT_UNSPEC };
867 static char *parport[LP_NO];
889 if (parport_ptr < LP_NO) in lp_setup()
897 if (parport_ptr < LP_NO) in lp_setup()
952 if (lp_count == LP_NO) { in lp_attach()
953 printk(KERN_INFO "lp: ignoring parallel port (max. %d)\n",LP_NO); in lp_attach()
961 for (i = 0; i < LP_NO; i++) { in lp_attach()
996 for (i = 0; i < LP_NO; i++) { in lp_init()
1057 for (n = 0; n < LP_NO && parport[n]; n++) { in lp_init_module()
1088 for (offset = 0; offset < LP_NO; offset++) { in lp_cleanup_module()