Lines Matching refs:parport
62 The parport subsystem comprises 'parport' (the core port-sharing
67 The parport interface to the device driver author can be broken down
71 driver and the parport subsystem: acquiring a list of available ports,
77 core parport module provides generic 'defaults' for some routines.
101 parport_register_driver - register a device driver with parport
106 #include <linux/parport.h>
110 void (*attach) (struct parport *);
111 void (*detach) (struct parport *);
129 The visible parts of the 'struct parport *' argument given to
132 struct parport
134 struct parport *next; /* next parport in list */
139 int number; /* parport index */
191 static void lp_attach (struct parport *port)
199 static void lp_detach (struct parport *port)
225 parport_unregister_driver - tell parport to forget about this driver
230 #include <linux/parport.h>
234 void (*attach) (struct parport *);
235 void (*detach) (struct parport *);
242 This tells parport not to notify the device driver of new ports or of
269 #include <linux/parport.h>
271 struct parport *parport_enumerate (void);
276 Successive parallel ports can be found using the 'struct parport
277 *next' element of the 'struct parport *' that is returned. If 'next'
283 A 'struct parport *' describing a valid parallel port for the machine,
295 struct parport *port;
322 #include <linux/parport.h>
328 struct pardevice *parport_register_device(struct parport *port,
381 struct parport *port; /* Associated port */
417 static int toaster_detect (struct toaster *private, struct parport *port)
423 /* Couldn't register with parport. */
450 #include <linux/parport.h>
478 #include <linux/parport.h>
514 #include <linux/parport.h>
546 #include <linux/parport.h>
581 #include <linux/parport.h>
583 int parport_wait_peripheral (struct parport *port,
606 #include <linux/parport.h>
608 int parport_poll_peripheral (struct parport *port,
632 #include <linux/parport.h>
634 int parport_wait_event (struct parport *port, signed long timeout)
652 #include <linux/parport.h>
654 int parport_negotiate (struct parport *, int mode);
676 #include <linux/parport.h>
678 ssize_t parport_read (struct parport *, void *buf, size_t len);
698 #include <linux/parport.h>
700 ssize_t parport_write (struct parport *, const void *buf, size_t len);
720 #include <linux/parport.h>
732 of a pointer to a struct parport.
748 #include <linux/parport.h>
765 #include <linux/parport.h>
800 #include <linux/parport.h>
802 int parport_device_coords (int devnum, int *parport, int *mux,
812 Zero on success, in which case the coordinates are (*parport, *mux,
824 #include <linux/parport.h>
873 #include <linux/parport.h>
906 #include <linux/parport.h>
921 Some of the port->ops functions for a parport may take time, owing to
949 #include <linux/parport.h>
953 unsigned char (*read_data) (struct parport *port);
975 #include <linux/parport.h>
979 void (*write_data) (struct parport *port, unsigned char d);
997 #include <linux/parport.h>
1001 unsigned char (*read_status) (struct parport *port);
1026 #include <linux/parport.h>
1030 unsigned char (*read_control) (struct parport *port);
1048 #include <linux/parport.h>
1052 void (*write_control) (struct parport *port, unsigned char s);
1077 #include <linux/parport.h>
1081 unsigned char (*frob_control) (struct parport *port,
1106 #include <linux/parport.h>
1110 void (*enable_irq) (struct parport *port);
1130 #include <linux/parport.h>
1134 void (*disable_irq) (struct parport *port);
1152 #include <linux/parport.h>
1156 void (*data_forward) (struct parport *port);
1174 #include <linux/parport.h>
1178 void (*data_reverse) (struct parport *port);
1196 #include <linux/parport.h>
1200 size_t (*epp_write_data) (struct parport *port, const void *buf,
1225 #include <linux/parport.h>
1229 size_t (*epp_read_data) (struct parport *port, void *buf,
1254 #include <linux/parport.h>
1258 size_t (*epp_write_addr) (struct parport *port,
1285 #include <linux/parport.h>
1289 size_t (*epp_read_addr) (struct parport *port, void *buf,
1316 #include <linux/parport.h>
1320 size_t (*ecp_write_data) (struct parport *port,
1342 #include <linux/parport.h>
1346 size_t (*ecp_read_data) (struct parport *port,
1369 #include <linux/parport.h>
1373 size_t (*ecp_write_addr) (struct parport *port,
1399 #include <linux/parport.h>
1403 size_t (*nibble_read_data) (struct parport *port,
1425 #include <linux/parport.h>
1429 size_t (*byte_read_data) (struct parport *port,
1451 #include <linux/parport.h>
1455 size_t (*compat_write_data) (struct parport *port,