Lines Matching defs:parport
17 * parport-sharing awareness code by Philip Blundell.
53 static const char version[] = "NET3 PLIP version 2.4-parport gniibe@mri.co.jp\n";
108 #include <linux/parport.h>
229 struct parport *port =
239 struct parport *port =
247 struct parport *port =
255 struct parport *port =
278 PLIP is rather weird, because of the way it interacts with the parport
1245 static int parport[PLIP_MAX] = { [0 ... PLIP_MAX-1] = -1 };
1248 module_param_array(parport, int, NULL, 0);
1250 MODULE_PARM_DESC(parport, "List of parport device numbers to use by plip");
1264 /* plip_attach() is called (by the parport code) when a port is
1266 static void plip_attach (struct parport *port)
1274 if ((parport[0] == -1 && (!timid || !port->devices)) ||
1275 plip_searchfor(parport, port->number)) {
1338 /* plip_detach() is called (by the parport code) when a port is
1340 static void plip_detach (struct parport *port)
1395 if (!strncmp(str, "parport", 7)) {
1398 parport[parport_ptr++] = n;
1407 parport[0] = -2;
1422 if (parport[0] == -2)
1425 if (parport[0] != -1 && timid) {