Lines Matching refs:parport
153 static struct parport *console_registered;
199 static int lp_negotiate(struct parport *port, int mode) in lp_negotiate()
305 struct parport *port = lp_table[minor].dev->port; in lp_write()
424 struct parport *port = lp_table[minor].dev->port; in lp_read()
818 struct parport *port = dev->port; in lp_console_write()
879 static char *parport[LP_NO]; variable
882 module_param_array(parport, charp, NULL, 0);
921 static int lp_register(int nr, struct parport *port) in lp_register()
959 static void lp_attach(struct parport *port) in lp_attach()
993 static void lp_detach(struct parport *port) in lp_detach()
1082 if (parport[0]) { in lp_init_module()
1084 if (!strncmp(parport[0], "auto", 4)) in lp_init_module()
1088 for (n = 0; n < LP_NO && parport[n]; n++) { in lp_init_module()
1089 if (!strncmp(parport[n], "none", 4)) in lp_init_module()
1093 unsigned long r = simple_strtoul(parport[n], &ep, 0); in lp_init_module()
1094 if (ep != parport[n]) in lp_init_module()
1097 printk(KERN_ERR "lp: bad port specifier `%s'\n", parport[n]); in lp_init_module()