Home
last modified time | relevance | path

Searched refs:parport (Results 1 – 25 of 97) sorted by relevance

1234

/linux/include/linux/
A Dparport.h21 struct parport;
78 void (*enable_irq)(struct parport *);
79 void (*disable_irq)(struct parport *);
140 struct parport *port;
189 struct parport { struct
204 struct parport *physport; argument
251 struct parport *slaves[3]; argument
260 void (*attach) (struct parport *);
261 void (*detach) (struct parport *);
262 void (*match_port)(struct parport *);
[all …]
A Dparport_pc.h43 struct parport *port;
82 static inline void dump_parport_state (char *str, struct parport *p) in dump_parport_state()
146 static __inline__ void parport_pc_data_reverse (struct parport *p) in parport_pc_data_reverse()
151 static __inline__ void parport_pc_data_forward (struct parport *p) in parport_pc_data_forward()
156 static __inline__ void parport_pc_write_control (struct parport *p, in parport_pc_write_control()
217 static __inline__ void parport_pc_disable_irq(struct parport *p) in parport_pc_disable_irq()
222 static __inline__ void parport_pc_enable_irq(struct parport *p) in parport_pc_enable_irq()
227 extern void parport_pc_release_resources(struct parport *p);
229 extern int parport_pc_claim_resources(struct parport *p);
232 extern struct parport *parport_pc_probe_port(unsigned long base,
[all …]
/linux/drivers/parport/
A Dparport_gsc.h79 static inline unsigned char parport_gsc_read_data(struct parport *p) in parport_gsc_read_data()
108 static inline void parport_gsc_data_reverse(struct parport *p) in parport_gsc_data_reverse()
113 static inline void parport_gsc_data_forward(struct parport *p) in parport_gsc_data_forward()
118 static inline void parport_gsc_write_control(struct parport *p, in parport_gsc_write_control()
136 static inline unsigned char parport_gsc_read_control(struct parport *p) in parport_gsc_read_control()
173 static inline unsigned char parport_gsc_read_status(struct parport *p) in parport_gsc_read_status()
178 static inline void parport_gsc_disable_irq(struct parport *p) in parport_gsc_disable_irq()
183 static inline void parport_gsc_enable_irq(struct parport *p) in parport_gsc_enable_irq()
188 extern void parport_gsc_release_resources(struct parport *p);
190 extern int parport_gsc_claim_resources(struct parport *p);
[all …]
A Dparport_atari.c22 static struct parport *this_port;
25 parport_atari_read_data(struct parport *p) in parport_atari_read_data()
38 parport_atari_write_data(struct parport *p, unsigned char data) in parport_atari_write_data()
49 parport_atari_read_control(struct parport *p) in parport_atari_read_control()
77 parport_atari_frob_control(struct parport *p, unsigned char mask, in parport_atari_frob_control()
86 parport_atari_read_status(struct parport *p) in parport_atari_read_status()
108 parport_atari_enable_irq(struct parport *p) in parport_atari_enable_irq()
114 parport_atari_disable_irq(struct parport *p) in parport_atari_disable_irq()
120 parport_atari_data_forward(struct parport *p) in parport_atari_data_forward()
132 parport_atari_data_reverse(struct parport *p) in parport_atari_data_reverse()
[all …]
A Ddaisy.c35 struct parport *port;
45 static int mux_present(struct parport *port);
46 static int num_mux_ports(struct parport *port);
47 static int select_port(struct parport *port);
48 static int assign_addrs(struct parport *port);
69 static struct parport *clone_parport(struct parport *real, int muxport) in clone_parport()
105 int parport_daisy_init(struct parport *port) in parport_daisy_init()
203 void parport_daisy_fini(struct parport *port) in parport_daisy_fini()
245 struct parport *port; in parport_open()
412 static int mux_present(struct parport *port) in mux_present()
[all …]
A Dparport_amiga.c32 static void amiga_write_data(struct parport *p, unsigned char data) in amiga_write_data()
40 static unsigned char amiga_read_data(struct parport *p) in amiga_read_data()
54 static void amiga_write_control(struct parport *p, unsigned char control) in amiga_write_control()
60 static unsigned char amiga_read_control( struct parport *p) in amiga_read_control()
91 static unsigned char amiga_read_status(struct parport *p) in amiga_read_status()
100 static void amiga_enable_irq(struct parport *p) in amiga_enable_irq()
105 static void amiga_disable_irq(struct parport *p) in amiga_disable_irq()
110 static void amiga_data_forward(struct parport *p) in amiga_data_forward()
117 static void amiga_data_reverse(struct parport *p) in amiga_data_reverse()
192 struct parport *p; in amiga_parallel_probe()
[all …]
A Dparport_ip32.c128 static struct parport *this_port;
287 ({ const struct parport *__p = (p); \
495 &mace->perif.ctrl.parport.context_a : in parport_ip32_dma_setup_context()
496 &mace->perif.ctrl.parport.context_b; in parport_ip32_dma_setup_context()
769 struct parport * const p = dev_id; in parport_ip32_interrupt()
1100 struct parport *p, void *buf, in parport_ip32_epp_read()
1139 struct parport *p, const void *buf, in parport_ip32_epp_write()
1268 struct parport * const physport = p->physport; in parport_ip32_fwp_wait_polling()
1309 struct parport * const physport = p->physport; in parport_ip32_fwp_wait_interrupt()
1429 struct parport * const physport = p->physport; in parport_ip32_fifo_write_block_dma()
[all …]
A Dparport_ax88796.c32 struct parport *parport; member
52 parport_ax88796_read_data(struct parport *p) in parport_ax88796_read_data()
68 parport_ax88796_read_control(struct parport *p) in parport_ax88796_read_control()
119 parport_ax88796_read_status(struct parport *p) in parport_ax88796_read_status()
158 parport_ax88796_enable_irq(struct parport *p) in parport_ax88796_enable_irq()
172 parport_ax88796_disable_irq(struct parport *p) in parport_ax88796_disable_irq()
186 parport_ax88796_data_forward(struct parport *p) in parport_ax88796_data_forward()
195 parport_ax88796_data_reverse(struct parport *p) in parport_ax88796_data_reverse()
272 struct parport *pp; in parport_ax88796_probe()
322 dd->parport = pp; in parport_ax88796_probe()
[all …]
A Dshare.c61 static void dead_onearg(struct parport *p){} in dead_onearg()
156 struct parport *port = _port; in driver_check()
183 struct parport *port = _port; in driver_detach()
376 struct parport *parport_get_port(struct parport *port) in parport_get_port()
384 void parport_del_port(struct parport *port) in parport_del_port()
438 struct parport *tmp; in parport_register_port()
479 struct parport *p = list_entry(l, struct parport, full_list); in parport_register_port()
842 struct parport *port; in parport_unregister_device()
917 struct parport *port, *result = NULL; in parport_find_number()
948 struct parport *port, *result = NULL; in parport_find_base()
[all …]
A Dparport_sunbpp.c51 static void parport_sunbpp_disable_irq(struct parport *p) in parport_sunbpp_disable_irq()
61 static void parport_sunbpp_enable_irq(struct parport *p) in parport_sunbpp_enable_irq()
79 static unsigned char parport_sunbpp_read_data(struct parport *p) in parport_sunbpp_read_data()
86 static unsigned char status_sunbpp_to_pc(struct parport *p) in status_sunbpp_to_pc()
109 static unsigned char control_sunbpp_to_pc(struct parport *p) in control_sunbpp_to_pc()
130 static unsigned char parport_sunbpp_read_control(struct parport *p) in parport_sunbpp_read_control()
191 static unsigned char parport_sunbpp_read_status(struct parport *p) in parport_sunbpp_read_status()
196 static void parport_sunbpp_data_forward (struct parport *p) in parport_sunbpp_data_forward()
206 static void parport_sunbpp_data_reverse (struct parport *p) in parport_sunbpp_data_reverse()
276 struct parport *p; in bpp_probe()
[all …]
A Dparport_mfc3.c74 static struct parport *this_port[MAX_MFC] = {NULL, };
80 static void mfc3_write_data(struct parport *p, unsigned char data) in mfc3_write_data()
89 static unsigned char mfc3_read_data(struct parport *p) in mfc3_read_data()
124 static void mfc3_write_control(struct parport *p, unsigned char control) in mfc3_write_control()
130 static unsigned char mfc3_read_control( struct parport *p) in mfc3_read_control()
164 static unsigned char mfc3_read_status(struct parport *p) in mfc3_read_status()
188 static void mfc3_enable_irq(struct parport *p) in mfc3_enable_irq()
193 static void mfc3_disable_irq(struct parport *p) in mfc3_disable_irq()
198 static void mfc3_data_forward(struct parport *p) in mfc3_data_forward()
206 static void mfc3_data_reverse(struct parport *p) in mfc3_data_reverse()
[all …]
A Dprocfs.c39 struct parport *port = (struct parport *)table->extra1; in do_active_device()
119 struct parport *port = (struct parport *)table->extra1; in do_hardware_base_addr()
146 struct parport *port = (struct parport *)table->extra1; in do_hardware_irq()
173 struct parport *port = (struct parport *)table->extra1; in do_hardware_dma()
200 struct parport *port = (struct parport *)table->extra1; in do_hardware_modes()
477 int parport_proc_register(struct parport *port) in parport_proc_register()
512 int parport_proc_unregister(struct parport *port) in parport_proc_unregister()
526 struct parport * port = device->port; in parport_device_proc_register()
591 int parport_proc_register(struct parport *pp) in parport_proc_register()
596 int parport_proc_unregister(struct parport *pp) in parport_proc_unregister()
A Dieee1284.c36 static void parport_ieee1284_wakeup (struct parport *port) in parport_ieee1284_wakeup()
43 struct parport *port = from_timer(port, t, timer); in timeout_waiting_on_port()
64 int parport_wait_event (struct parport *port, signed long timeout) in parport_wait_event()
107 int parport_poll_peripheral(struct parport *port, in parport_poll_peripheral()
156 int parport_wait_peripheral(struct parport *port, in parport_wait_peripheral()
214 static void parport_ieee1284_terminate (struct parport *port) in parport_ieee1284_terminate()
317 int parport_negotiate (struct parport *port, int mode) in parport_negotiate()
536 static int parport_ieee1284_ack_data_avail (struct parport *port) in parport_ieee1284_ack_data_avail()
552 struct parport *port = handle; in parport_ieee1284_interrupt()
591 size_t (*fn) (struct parport *, const void *, size_t, int); in parport_write()
[all …]
A Dparport_gsc.c52 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout()
82 void parport_gsc_save_state(struct parport *p, struct parport_state *s) in parport_gsc_save_state()
87 void parport_gsc_restore_state(struct parport *p, struct parport_state *s) in parport_gsc_restore_state()
134 static int parport_SPP_supported(struct parport *pb) in parport_SPP_supported()
198 static int parport_PS2_supported(struct parport *pb) in parport_PS2_supported()
229 struct parport *parport_gsc_probe_port(unsigned long base, in parport_gsc_probe_port()
235 struct parport tmp; in parport_gsc_probe_port()
236 struct parport *p = &tmp; in parport_gsc_probe_port()
348 struct parport *p; in parport_init_chip()
383 struct parport *p = dev_get_drvdata(&dev->dev); in parport_remove_chip()
A Dparport_pc.c132 static int change_mode(struct parport *p, int m) in change_mode()
201 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout()
1369 static int get_superio_dma(struct parport *p) in get_superio_dma()
1852 static int irq_probe_ECP(struct parport *pb) in irq_probe_ECP()
1880 static int irq_probe_EPP(struct parport *pb) in irq_probe_EPP()
1919 static int irq_probe_SPP(struct parport *pb) in irq_probe_SPP()
2011 struct parport *p; in parport_pc_probe_port()
2776 struct parport *ports[2];
2915 struct parport *pdata; in parport_pc_pnp_probe()
2954 struct parport *pdata = (struct parport *)pnp_get_drvdata(dev); in parport_pc_pnp_remove()
[all …]
A Dieee1284_ops.c35 size_t parport_ieee1284_write_compat (struct parport *port, in parport_ieee1284_write_compat()
144 size_t parport_ieee1284_read_nibble (struct parport *port, in parport_ieee1284_read_nibble()
232 size_t parport_ieee1284_read_byte (struct parport *port, in parport_ieee1284_read_byte()
323 int ecp_forward_to_reverse (struct parport *port) in ecp_forward_to_reverse()
355 int ecp_reverse_to_forward (struct parport *port) in ecp_reverse_to_forward()
388 size_t parport_ieee1284_ecp_write_data (struct parport *port, in parport_ieee1284_ecp_write_data()
474 size_t parport_ieee1284_ecp_read_data (struct parport *port, in parport_ieee1284_ecp_read_data()
618 size_t parport_ieee1284_ecp_write_addr (struct parport *port, in parport_ieee1284_ecp_write_addr()
709 size_t parport_ieee1284_epp_write_data (struct parport *port, in parport_ieee1284_epp_write_data()
753 size_t parport_ieee1284_epp_read_data (struct parport *port, in parport_ieee1284_epp_read_data()
[all …]
A DBUGS-parport1 Currently known (or at least suspected) bugs in parport:
6 o parport_pc_ecp_read_block_pio() is broken. parport will revert to the
9 See <URL:http://people.redhat.com/twaugh/parport/>.
A DMakefile6 parport-objs := share.o ieee1284.o ieee1284_ops.o procfs.o
9 parport-objs += daisy.o probe.o
12 obj-$(CONFIG_PARPORT) += parport.o
/linux/drivers/i2c/busses/
A Di2c-parport.c128 static int parport[MAX_DEVICE] = {0, -1, -1, -1}; variable
129 module_param_array(parport, int, NULL, 0);
130 MODULE_PARM_DESC(parport,
163 static unsigned char port_read_data(struct parport *p) in port_read_data()
168 static unsigned char port_read_status(struct parport *p) in port_read_status()
173 static unsigned char port_read_control(struct parport *p) in port_read_control()
204 static inline int line_get(struct parport *data, in line_get()
264 static void i2c_parport_attach(struct parport *port) in i2c_parport_attach()
281 if (parport[i] == -1) in i2c_parport_attach()
283 if (port->number == parport[i]) in i2c_parport_attach()
[all …]
/linux/Documentation/driver-api/
A Dparport-lowlevel.rst64 The parport subsystem comprises ``parport`` (the core port-sharing
111 #include <linux/parport.h>
138 struct parport
140 struct parport *next; /* next parport in list */
250 #include <linux/parport.h>
299 #include <linux/parport.h>
331 struct parport *port;
365 #include <linux/parport.h>
507 #include <linux/parport.h>
544 #include <linux/parport.h>
[all …]
/linux/drivers/usb/misc/
A Duss720.c49 struct parport *pp;
98 struct parport *pp; in async_complete()
256 static int change_mode(struct parport *pp, int m) in change_mode()
306 static int clear_epp_timeout(struct parport *pp) in clear_epp_timeout()
321 struct parport *pp = (struct parport *)dev_id;
387 static void parport_uss720_disable_irq(struct parport *pp) in parport_uss720_disable_irq()
398 static void parport_uss720_enable_irq(struct parport *pp) in parport_uss720_enable_irq()
409 static void parport_uss720_data_forward (struct parport *pp) in parport_uss720_data_forward()
420 static void parport_uss720_data_reverse (struct parport *pp) in parport_uss720_data_reverse()
677 struct parport *pp; in uss720_probe()
[all …]
/linux/sound/drivers/
A Dmts64.c133 static int mts64_probe(struct parport *p);
134 static u16 mts64_read(struct parport *p);
135 static u8 mts64_read_char(struct parport *p);
200 static int mts64_device_init(struct parport *p) in mts64_device_init()
226 struct parport *p = mts->pardev->port; in mts64_device_open()
240 struct parport *p = mts->pardev->port; in mts64_device_close()
276 static int mts64_probe(struct parport *p) in mts64_probe()
300 static u16 mts64_read(struct parport *p) in mts64_read()
324 static u8 mts64_read_char(struct parport *p) in mts64_read_char()
412 struct parport *p = mts->pardev->port; in mts64_write_midi()
[all …]
/linux/Documentation/admin-guide/
A Dparport.rst4 The ``parport`` code provides parallel-port support under Linux. This
23 If you load the `parport`` code as a module, say::
25 # insmod parport
27 to load the generic ``parport`` code. You then must load the
80 parport=0x3bc parport=0x378,7 parport=0x278,auto,nofifo
84 parport support entirely. Adding ``parport=auto`` to the kernel
94 directory entry for each parallel port for which parport is
98 The ``/proc/sys/dev/parport`` directory tree looks like::
100 parport
215 # insmod lp parport=0,2
[all …]
/linux/drivers/input/joystick/
A Dwalkera0701.c56 struct parport *parport; member
185 parport_enable_irq(w->parport); in walkera0701_open()
193 parport_disable_irq(w->parport); in walkera0701_close()
199 static void walkera0701_attach(struct parport *pp) in walkera0701_attach()
215 w->parport = pp; in walkera0701_attach()
246 w->input_dev->phys = w->parport->name; in walkera0701_attach()
253 w->input_dev->dev.parent = w->parport->dev; in walkera0701_attach()
280 static void walkera0701_detach(struct parport *port) in walkera0701_detach()
284 if (!w->pardevice || w->parport->number != port->number) in walkera0701_detach()
289 w->parport = NULL; in walkera0701_detach()
/linux/drivers/char/
A Dlp.c151 static struct parport *console_registered;
816 struct parport *port = dev->port; in lp_console_write()
877 static char *parport[LP_NO]; variable
880 module_param_array(parport, charp, NULL, 0);
957 static void lp_attach(struct parport *port) in lp_attach()
991 static void lp_detach(struct parport *port) in lp_detach()
1083 if (parport[0]) { in lp_init_module()
1085 if (!strncmp(parport[0], "auto", 4)) in lp_init_module()
1089 for (n = 0; n < LP_NO && parport[n]; n++) { in lp_init_module()
1090 if (!strncmp(parport[n], "none", 4)) in lp_init_module()
[all …]

Completed in 50 milliseconds

1234