Lines Matching refs:parport
33 #include <linux/parport.h>
65 static char *parport[PARPORT_MAX] = {NULL,};
71 module_param_array(parport, charp, NULL, 0);
72 MODULE_PARM_DESC(parport, "'auto' or a list of parallel port numbers. Just like lp.");
76 struct parport *port;
106 static void cpia_parport_enable_irq( struct parport *port ) {
112 static void cpia_parport_disable_irq( struct parport *port ) {
142 * CPiA-specific low-level parport functions for nibble uploads
148 static size_t cpia_read_nibble (struct parport *port,
153 parport_ieee1284_read_nibble() in drivers/parport/ieee1284-ops.c */
257 static size_t cpia_read_nibble_stream(struct parport *port,
496 static int cpia_pp_read(struct parport *port, u8 *buffer, int len)
702 static int cpia_pp_register(struct parport *port)
748 static void cpia_pp_detach (struct parport *port)
780 static void cpia_pp_attach (struct parport *port)
827 LOG ("unable to register with parport\n");
835 if (parport[0]) {
837 if (!strncmp(parport[0], "auto", 4)) {
841 for (n = 0; n < PARPORT_MAX && parport[n]; n++) {
842 if (!strncmp(parport[n], "none", 4)) {
846 unsigned long r = simple_strtoul(parport[n], &ep, 0);
847 if (ep != parport[n]) {
850 LOG("bad port specifier `%s'\n", parport[n]);