Lines Matching refs:port
3 /* PLIP: A parallel port "network" driver for Linux. */
4 /* This driver is for parallel port with 5-bit cable (LapLink (R) cable). */
20 * Modifications to use the parallel port API
37 * inspired by Russ Nelson's parallel port packet driver.
58 "parallel.asm" parallel port packet driver.
60 The "Crynwr" parallel port standard specifies the following protocol:
229 struct parport *port =
230 ((struct net_local *)netdev_priv(dev))->pardev->port;
231 port->ops->enable_irq (port);
239 struct parport *port =
240 ((struct net_local *)netdev_priv(dev))->pardev->port;
241 port->ops->disable_irq (port);
247 struct parport *port =
248 ((struct net_local *)netdev_priv(dev))->pardev->port;
250 port->ops->write_data (port, data);
255 struct parport *port =
256 ((struct net_local *)netdev_priv(dev))->pardev->port;
258 return port->ops->read_status (port);
280 is called, and that function makes up a "struct net_device" for each port, and
917 /* Handle the parallel port interrupts. */
1063 This routine gets exclusive access to the parallel port by allocating
1072 /* Grab the port */
1080 /* Clear the data port. */
1205 /* Don't need the port when the interface is down */
1210 /* Clear the data port. */
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)) {
1288 dev->irq = port->irq;
1289 dev->base_addr = port->base;
1290 if (port->irq == -1) {
1292 "which is fairly inefficient!\n", port->name);
1304 nl->pardev = parport_register_dev_model(port, dev->name,
1321 printk(KERN_INFO "%s: Parallel port at %#3lx, "
1325 printk(KERN_INFO "%s: Parallel port at %#3lx, "
1338 /* plip_detach() is called (by the parport code) when a port is
1340 static void plip_detach (struct parport *port)