Searched refs:parport (Results 26 - 50 of 50) sorted by relevance

12

/linux-master/drivers/parport/
H A Dieee1284_ops.c2 /* IEEE-1284 operations for parport.
19 #include <linux/parport.h>
35 size_t parport_ieee1284_write_compat (struct parport *port,
144 size_t parport_ieee1284_read_nibble (struct parport *port,
232 size_t parport_ieee1284_read_byte (struct parport *port,
323 int ecp_forward_to_reverse (struct parport *port)
355 int ecp_reverse_to_forward (struct parport *port)
388 size_t parport_ieee1284_ecp_write_data (struct parport *port,
474 size_t parport_ieee1284_ecp_read_data (struct parport *port,
618 size_t parport_ieee1284_ecp_write_addr (struct parport *por
[all...]
H A Dprobe.c10 #include <linux/parport.h>
37 static void pretty_print(struct parport *port, int device)
53 static void parse_data(struct parport *port, int device, char *str)
132 static ssize_t parport_read_device_id (struct parport *port, char *buffer,
H A Dparport_serial.c16 #include <linux/parport.h>
614 struct parport *port[PARPORT_MAX];
651 struct parport *port;
755 /* FIXME: What about parport? */
766 /* FIXME: What about parport? */
/linux-master/drivers/pps/generators/
H A Dpps_gen_parport.c21 #include <linux/parport.h>
40 struct pardevice *pardev; /* parport device */
59 struct parport *port;
143 struct parport *port = dev->pardev->port;
177 static void parport_attach(struct parport *port)
221 static void parport_detach(struct parport *port)
/linux-master/drivers/char/
H A Dlp.c16 * Support for parport by Philip Blundell <philb@gnu.org>
38 * appropriate low-level driver; all I/O is done through the parport
59 * # insmod lp.o parport=1,none,2
61 * # insmod lp.o parport=auto
75 * The new driver, by default, binds lp devices to parport devices as it
133 #include <linux/parport.h>
153 static struct parport *console_registered;
158 /* Bits used to manage claiming the parport device */
169 /* Claim the parport or block trying unless we've already claimed it */
177 /* Claim the parport o
879 static char *parport[LP_NO]; variable
[all...]
H A Dppdev.c5 * This is the code behind /dev/parport* -- it allows a user-space
6 * application to use the parport subsystem.
60 #include <linux/parport.h>
110 struct parport *port = pp->pdev->port;
122 struct parport *pport;
152 size_t (*fn)(struct parport *, void *, size_t, int);
202 struct parport *pport;
285 struct parport *port;
356 struct parport *port;
717 /* parport release
[all...]
/linux-master/drivers/spi/
H A Dspi-butterfly.c3 * parport-to-butterfly adapter
12 #include <linux/parport.h>
53 struct parport *port;
176 static void butterfly_attach(struct parport *p)
213 * parport hookup
288 static void butterfly_detach(struct parport *p)
293 * the parport to the "struct butterfly" associated with it?
H A Dspi-lm70llp.c15 #include <linux/parport.h>
26 * port to bitbang an SPI-parport bridge. Accordingly, this is an SPI
37 * Also see Documentation/spi/spi-lm70llp.rst. The SPI<->parport code here is
56 * Note that parport pin 13 actually gets inverted by the transistor
57 * arrangement which lets either the parport or the LM70 drive the
72 struct parport *port;
92 * still be what we wrote before. Plus, going through parport builds in
156 * switches it to low reflecting this on the parport (pin 13), and vice-versa.
188 static void spi_lm70llp_attach(struct parport *p)
296 static void spi_lm70llp_detach(struct parport *
[all...]
/linux-master/drivers/usb/serial/
H A Dmos7720.c33 #include <linux/parport.h>
78 /* initial values for parport regs */
89 struct parport *pp; /* back to containing struct */
100 /* lock guards against dereferencing NULL ptr in parport ops callbacks */
271 static int parport_prologue(struct parport *pp)
306 static inline void parport_epilogue(struct parport *pp)
334 static void parport_mos7715_write_data(struct parport *pp, unsigned char d)
345 static unsigned char parport_mos7715_read_data(struct parport *pp)
357 static void parport_mos7715_write_control(struct parport *pp, unsigned char d)
370 static unsigned char parport_mos7715_read_control(struct parport *p
[all...]
/linux-master/drivers/net/plip/
H A Dplip.c17 * 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 }; variable
1248 module_param_array(parport, in
[all...]
/linux-master/arch/sparc/include/asm/
H A Dparport_64.h2 /* parport.h: sparc64 specific parport initialization and dma.
44 struct parport *port;
117 struct parport *p;
152 strcpy(sparc_ebus_dmas[slot].info.name, "parport");
201 struct parport *p = dev_get_drvdata(&op->dev);
/linux-master/drivers/net/hamradio/
H A Dbaycom_par.c47 * 0.7 10.08.1999 Check if parport can do SPP and is safe to access during interrupt contexts
49 * removed direct parport access, uses parport driver methods
69 #include <linux/parport.h>
183 struct parport *pp = bc->pdev->port;
207 struct parport *pp = bc->pdev->port;
299 struct parport *pp;
306 printk(KERN_ERR "baycom_par: parport at 0x%lx unknown\n", dev->base_addr);
310 printk(KERN_ERR "baycom_par: parport at 0x%lx has no irq\n", pp->base);
315 printk(KERN_ERR "baycom_par: parport a
[all...]
H A Dbaycom_epp.c19 * 0.4 26.07.1999 Adapted to new lowlevel parport driver interface
22 * 0.6 10.08.1999 Check if parport can do SPP and is safe to access during interrupt contexts
36 #include <linux/parport.h>
422 struct parport *pp = bc->pdev->port;
554 struct parport *pp = bc->pdev->port;
635 struct parport *pp;
818 struct parport *pp = parport_find_base(dev->base_addr);
826 printk(KERN_ERR "%s: parport at 0x%lx unknown\n", bc_drvname, dev->base_addr);
831 printk(KERN_ERR "%s: parport at 0x%lx has no irq\n", bc_drvname, pp->base);
837 printk(KERN_ERR "%s: parport a
[all...]
/linux-master/sound/drivers/
H A Dportman2x4.c29 #include <linux/parport.h>
421 static int portman_probe(struct parport *p)
587 * parport stuff
625 static void snd_portman_attach(struct parport *p)
633 /* Temporary assignment to forward the parport */
653 static void snd_portman_detach(struct parport *p)
693 struct parport *p;
735 /* claim parport */
737 snd_printd("Cannot claim parport 0x%lx\n", pardev->port->base);
/linux-master/drivers/input/joystick/
H A Ddb9.c17 #include <linux/parport.h>
35 MODULE_PARM_DESC(dev, "Describes first attached device (<parport#>,<type>)");
37 MODULE_PARM_DESC(dev2, "Describes second attached device (<parport#>,<type>)");
39 MODULE_PARM_DESC(dev3, "Describes third attached device (<parport#>,<type>)");
128 static void db9_saturn_write_sub(struct parport *port, int type, unsigned char data, int powered, int pwr_sub)
151 static unsigned char db9_saturn_read_sub(struct parport *port, int type)
171 static unsigned char db9_saturn_read_analog(struct parport *port, int type, int powered)
188 static unsigned char db9_saturn_read_packet(struct parport *port, unsigned char *data, int type, int powered)
322 static int db9_saturn(int mode, struct parport *port, struct input_dev *devs[])
355 struct parport *por
[all...]
H A Dturbografx.c14 #include <linux/parport.h>
36 MODULE_PARM_DESC(map, "Describes first set of devices (<parport#>,<js1>,<js2>,..<js7>");
86 data2 = parport_read_control(tgfx->pd->port) ^ 0x04; /* CAVEAT parport */
141 static void tgfx_attach(struct parport *pp)
159 pr_debug("Not using parport%d.\n", pp->number);
171 pr_err("parport busy already - lp.o loaded?\n");
250 static void tgfx_detach(struct parport *port)
H A Dgamecon.c20 #include <linux/parport.h>
40 MODULE_PARM_DESC(map, "Describes first set of devices (<parport#>,<pad1>,<pad2>,..<pad5>)");
133 struct parport *port = gc->pd->port;
146 struct parport *port = gc->pd->port;
549 struct parport *port = gc->pd->port;
919 static void gc_attach(struct parport *pp)
937 pr_debug("Not using parport%d.\n", pp->number);
949 pr_err("parport busy already - lp.o loaded?\n");
992 static void gc_detach(struct parport *port)
/linux-master/drivers/auxdisplay/
H A Dpanel.c52 #include <linux/parport.h>
409 static int parport = DEFAULT_PARPORT; variable
410 module_param(parport, int, 0000);
411 MODULE_PARM_DESC(parport, "Parallel port index (0=lpt1, 1=lpt2, ...)");
1348 /* no need for the parport anymore */
1520 static void panel_attach(struct parport *port)
1619 if (port->number != parport)
1623 pr_err("%s: port->number=%d parport=%d, already registered!\n",
1624 __func__, port->number, parport);
1634 pr_err("%s: port->number=%d parport
[all...]
/linux-master/arch/mips/include/asm/ip32/
H A Dmace.h232 struct mace_parport parport; member in struct:mace_isactrl
/linux-master/drivers/scsi/
H A Dppa.c16 #include <linux/parport.h>
713 case 0: /* Phase 0 - Waiting for parport */
717 * for parport to call us
722 return 1; /* wait until ppa_wakeup claims parport */
873 case 0: /* Do not have access to parport */
1035 static int __ppa_attach(struct parport *pb)
1074 printk(KERN_ERR "ppa%d: failed to claim parport because "
1130 static void ppa_attach(struct parport *pb)
1135 static void ppa_detach(struct parport *pb)
H A Dimm.c16 #include <linux/parport.h>
230 * A fair chunk of this is based on the Linux parport implementation
805 case 0: /* Phase 0 - Waiting for parport */
809 * for parport to call us
814 return 1; /* wait until imm_wakeup claims parport */
980 case 0: /* Do not have access to parport */
1149 static int __imm_attach(struct parport *pb)
1192 printk(KERN_ERR "imm%d: failed to claim parport because "
1254 static void imm_attach(struct parport *pb)
1259 static void imm_detach(struct parport *p
[all...]
/linux-master/drivers/
H A DMakefile72 obj-$(CONFIG_PARPORT) += parport/
/linux-master/drivers/parisc/
H A Dsuperio.c67 #include <linux/parport.h>
/linux-master/drivers/ata/pata_parport/
H A Dbpck6.c16 #include <linux/parport.h>
399 /* look at the parport device to see what modes we can use */
/linux-master/drivers/i2c/busses/
H A DMakefile139 obj-$(CONFIG_I2C_PARPORT) += i2c-parport.o

Completed in 414 milliseconds

12