Lines Matching refs:parport
64 The parport subsystem comprises ``parport`` (the core port-sharing
69 The parport interface to the device driver author can be broken down
73 driver and the parport subsystem: acquiring a list of available ports,
79 core parport module provides generic ``defaults`` for some routines.
103 parport_register_driver - register a device driver with parport
111 #include <linux/parport.h>
115 void (*attach) (struct parport *);
116 void (*detach) (struct parport *);
135 The visible parts of the ``struct parport *`` argument given to
138 struct parport
140 struct parport *next; /* next parport in list */
145 int number; /* parport index */
204 static void lp_attach (struct parport *port)
212 static void lp_detach (struct parport *port)
242 parport_unregister_driver - tell parport to forget about this driver
250 #include <linux/parport.h>
254 void (*attach) (struct parport *);
255 void (*detach) (struct parport *);
263 This tells parport not to notify the device driver of new ports or of
299 #include <linux/parport.h>
301 struct parport *parport_enumerate (void);
307 Successive parallel ports can be found using the ``struct parport
308 *next`` element of the ``struct parport *`` that is returned. If ``next``
315 A ``struct parport *`` describing a valid parallel port for the machine,
331 struct parport *port;
365 #include <linux/parport.h>
371 struct pardevice *parport_register_device(struct parport *port,
428 struct parport *port; /* Associated port */
469 static int toaster_detect (struct toaster *private, struct parport *port)
475 /* Couldn't register with parport. */
507 #include <linux/parport.h>
544 #include <linux/parport.h>
590 #include <linux/parport.h>
632 #include <linux/parport.h>
678 #include <linux/parport.h>
680 int parport_wait_peripheral (struct parport *port,
713 #include <linux/parport.h>
715 int parport_poll_peripheral (struct parport *port,
749 #include <linux/parport.h>
751 int parport_wait_event (struct parport *port, signed long timeout)
776 #include <linux/parport.h>
778 int parport_negotiate (struct parport *, int mode);
810 #include <linux/parport.h>
812 ssize_t parport_read (struct parport *, void *buf, size_t len);
840 #include <linux/parport.h>
842 ssize_t parport_write (struct parport *, const void *buf, size_t len);
870 #include <linux/parport.h>
883 of a pointer to a struct parport.
906 #include <linux/parport.h>
930 #include <linux/parport.h>
974 #include <linux/parport.h>
976 int parport_device_coords (int devnum, int *parport, int *mux,
988 Zero on success, in which case the coordinates are (``*parport``, ``*mux``,
1006 #include <linux/parport.h>
1064 #include <linux/parport.h>
1106 #include <linux/parport.h>
1124 Some of the port->ops functions for a parport may take time, owing to
1159 #include <linux/parport.h>
1163 unsigned char (*read_data) (struct parport *port);
1192 #include <linux/parport.h>
1196 void (*write_data) (struct parport *port, unsigned char d);
1221 #include <linux/parport.h>
1225 unsigned char (*read_status) (struct parport *port);
1257 #include <linux/parport.h>
1261 unsigned char (*read_control) (struct parport *port);
1286 #include <linux/parport.h>
1290 void (*write_control) (struct parport *port, unsigned char s);
1323 #include <linux/parport.h>
1327 unsigned char (*frob_control) (struct parport *port,
1359 #include <linux/parport.h>
1363 void (*enable_irq) (struct parport *port);
1390 #include <linux/parport.h>
1394 void (*disable_irq) (struct parport *port);
1419 #include <linux/parport.h>
1423 void (*data_forward) (struct parport *port);
1448 #include <linux/parport.h>
1452 void (*data_reverse) (struct parport *port);
1477 #include <linux/parport.h>
1481 size_t (*epp_write_data) (struct parport *port, const void *buf,
1515 #include <linux/parport.h>
1519 size_t (*epp_read_data) (struct parport *port, void *buf,
1553 #include <linux/parport.h>
1557 size_t (*epp_write_addr) (struct parport *port,
1593 #include <linux/parport.h>
1597 size_t (*epp_read_addr) (struct parport *port, void *buf,
1633 #include <linux/parport.h>
1637 size_t (*ecp_write_data) (struct parport *port,
1667 #include <linux/parport.h>
1671 size_t (*ecp_read_data) (struct parport *port,
1702 #include <linux/parport.h>
1706 size_t (*ecp_write_addr) (struct parport *port,
1741 #include <linux/parport.h>
1745 size_t (*nibble_read_data) (struct parport *port,
1775 #include <linux/parport.h>
1779 size_t (*byte_read_data) (struct parport *port,
1809 #include <linux/parport.h>
1813 size_t (*compat_write_data) (struct parport *port,