Lines Matching refs:parport
151 static struct parport *console_registered;
197 static int lp_negotiate(struct parport *port, int mode) in lp_negotiate()
303 struct parport *port = lp_table[minor].dev->port; in lp_write()
422 struct parport *port = lp_table[minor].dev->port; in lp_read()
816 struct parport *port = dev->port; in lp_console_write()
877 static char *parport[LP_NO]; variable
880 module_param_array(parport, charp, NULL, 0);
919 static int lp_register(int nr, struct parport *port) in lp_register()
957 static void lp_attach(struct parport *port) in lp_attach()
991 static void lp_detach(struct parport *port) in lp_detach()
1083 if (parport[0]) { in lp_init_module()
1085 if (!strncmp(parport[0], "auto", 4)) in lp_init_module()
1089 for (n = 0; n < LP_NO && parport[n]; n++) { in lp_init_module()
1090 if (!strncmp(parport[n], "none", 4)) in lp_init_module()
1094 unsigned long r = simple_strtoul(parport[n], &ep, 0); in lp_init_module()
1095 if (ep != parport[n]) in lp_init_module()
1098 printk(KERN_ERR "lp: bad port specifier `%s'\n", parport[n]); in lp_init_module()