Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dparport.h20 struct parport;
66 void (*write_data)(struct parport *, unsigned char);
67 unsigned char (*read_data)(struct parport *);
69 void (*write_control)(struct parport *, unsigned char);
70 unsigned char (*read_control)(struct parport *);
71 unsigned char (*frob_control)(struct parport *, unsigned char mask,
74 unsigned char (*read_status)(struct parport *);
77 void (*enable_irq)(struct parport *);
78 void (*disable_irq)(struct parport *);
81 void (*data_forward) (struct parport *);
[all …]
Dparport_pc.h42 struct parport *port;
62 static __inline__ void parport_pc_write_data(struct parport *p, unsigned char d) in parport_pc_write_data()
70 static __inline__ unsigned char parport_pc_read_data(struct parport *p) in parport_pc_read_data()
81 static inline void dump_parport_state (char *str, struct parport *p) in dump_parport_state()
127 static __inline__ unsigned char __parport_pc_frob_control (struct parport *p, in __parport_pc_frob_control()
145 static __inline__ void parport_pc_data_reverse (struct parport *p) in parport_pc_data_reverse()
150 static __inline__ void parport_pc_data_forward (struct parport *p) in parport_pc_data_forward()
155 static __inline__ void parport_pc_write_control (struct parport *p, in parport_pc_write_control()
173 static __inline__ unsigned char parport_pc_read_control(struct parport *p) in parport_pc_read_control()
183 static __inline__ unsigned char parport_pc_frob_control (struct parport *p, in parport_pc_frob_control()
[all …]
/linux-4.1.27/drivers/parport/
Dparport_gsc.h85 static inline void parport_gsc_write_data(struct parport *p, unsigned char d) in parport_gsc_write_data()
93 static inline unsigned char parport_gsc_read_data(struct parport *p) in parport_gsc_read_data()
105 static inline unsigned char __parport_gsc_frob_control(struct parport *p, in __parport_gsc_frob_control()
123 static inline void parport_gsc_data_reverse(struct parport *p) in parport_gsc_data_reverse()
128 static inline void parport_gsc_data_forward(struct parport *p) in parport_gsc_data_forward()
133 static inline void parport_gsc_write_control(struct parport *p, in parport_gsc_write_control()
151 static inline unsigned char parport_gsc_read_control(struct parport *p) in parport_gsc_read_control()
161 static inline unsigned char parport_gsc_frob_control(struct parport *p, in parport_gsc_frob_control()
188 static inline unsigned char parport_gsc_read_status(struct parport *p) in parport_gsc_read_status()
193 static inline void parport_gsc_disable_irq(struct parport *p) in parport_gsc_disable_irq()
[all …]
Dparport_atari.c21 static struct parport *this_port = NULL;
24 parport_atari_read_data(struct parport *p) in parport_atari_read_data()
37 parport_atari_write_data(struct parport *p, unsigned char data) in parport_atari_write_data()
48 parport_atari_read_control(struct parport *p) in parport_atari_read_control()
62 parport_atari_write_control(struct parport *p, unsigned char control) in parport_atari_write_control()
76 parport_atari_frob_control(struct parport *p, unsigned char mask, in parport_atari_frob_control()
85 parport_atari_read_status(struct parport *p) in parport_atari_read_status()
97 parport_atari_save_state(struct parport *p, struct parport_state *s) in parport_atari_save_state()
102 parport_atari_restore_state(struct parport *p, struct parport_state *s) in parport_atari_restore_state()
107 parport_atari_enable_irq(struct parport *p) in parport_atari_enable_irq()
[all …]
Ddaisy.c41 struct parport *port;
50 static int mux_present(struct parport *port);
51 static int num_mux_ports(struct parport *port);
52 static int select_port(struct parport *port);
53 static int assign_addrs(struct parport *port);
56 static void add_dev(int devnum, struct parport *port, int daisy) in add_dev()
74 static struct parport *clone_parport(struct parport *real, int muxport) in clone_parport()
76 struct parport *extra = parport_register_port(real->base, in clone_parport()
92 int parport_daisy_init(struct parport *port) in parport_daisy_init()
117 struct parport *extra = clone_parport(port, i); in parport_daisy_init()
[all …]
Dparport_amiga.c37 static void amiga_write_data(struct parport *p, unsigned char data) in amiga_write_data()
45 static unsigned char amiga_read_data(struct parport *p) in amiga_read_data()
59 static void amiga_write_control(struct parport *p, unsigned char control) in amiga_write_control()
65 static unsigned char amiga_read_control( struct parport *p) in amiga_read_control()
71 static unsigned char amiga_frob_control( struct parport *p, unsigned char mask, unsigned char val) in amiga_frob_control()
96 static unsigned char amiga_read_status(struct parport *p) in amiga_read_status()
105 static void amiga_enable_irq(struct parport *p) in amiga_enable_irq()
110 static void amiga_disable_irq(struct parport *p) in amiga_disable_irq()
115 static void amiga_data_forward(struct parport *p) in amiga_data_forward()
122 static void amiga_data_reverse(struct parport *p) in amiga_data_reverse()
[all …]
Dshare.c56 static void dead_write_lines (struct parport *p, unsigned char b){} in dead_write_lines()
57 static unsigned char dead_read_lines (struct parport *p) { return 0; } in dead_read_lines()
58 static unsigned char dead_frob_lines (struct parport *p, unsigned char b, in dead_frob_lines()
60 static void dead_onearg (struct parport *p){} in dead_onearg()
62 static void dead_state (struct parport *p, struct parport_state *s) { } in dead_state()
63 static size_t dead_write (struct parport *p, const void *b, size_t l, int f) in dead_write()
65 static size_t dead_read (struct parport *p, void *b, size_t l, int f) in dead_read()
104 static void attach_driver_chain(struct parport *port) in attach_driver_chain()
113 static void detach_driver_chain(struct parport *port) in detach_driver_chain()
156 struct parport *port; in parport_register_driver()
[all …]
Dparport_ax88796.c36 struct parport *parport; member
50 static inline struct ax_drvdata *pp_to_drv(struct parport *p) in pp_to_drv()
56 parport_ax88796_read_data(struct parport *p) in parport_ax88796_read_data()
64 parport_ax88796_write_data(struct parport *p, unsigned char data) in parport_ax88796_write_data()
72 parport_ax88796_read_control(struct parport *p) in parport_ax88796_read_control()
94 parport_ax88796_write_control(struct parport *p, unsigned char control) in parport_ax88796_write_control()
123 parport_ax88796_read_status(struct parport *p) in parport_ax88796_read_status()
148 parport_ax88796_frob_control(struct parport *p, unsigned char mask, in parport_ax88796_frob_control()
162 parport_ax88796_enable_irq(struct parport *p) in parport_ax88796_enable_irq()
176 parport_ax88796_disable_irq(struct parport *p) in parport_ax88796_disable_irq()
[all …]
Dparport_ip32.c141 static struct parport *this_port = NULL;
300 ({ const struct parport *__p = (p); \
331 static void parport_ip32_dump_state(struct parport *p, char *str, in parport_ip32_dump_state()
507 &mace->perif.ctrl.parport.context_a : in parport_ip32_dma_setup_context()
508 &mace->perif.ctrl.parport.context_b; in parport_ip32_dma_setup_context()
592 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_start()
612 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_start()
621 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_start()
657 ctrl = readq(&mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_stop()
659 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_stop()
[all …]
Dparport_sunbpp.c50 static void parport_sunbpp_disable_irq(struct parport *p) in parport_sunbpp_disable_irq()
60 static void parport_sunbpp_enable_irq(struct parport *p) in parport_sunbpp_enable_irq()
70 static void parport_sunbpp_write_data(struct parport *p, unsigned char d) in parport_sunbpp_write_data()
78 static unsigned char parport_sunbpp_read_data(struct parport *p) in parport_sunbpp_read_data()
85 static unsigned char status_sunbpp_to_pc(struct parport *p) in status_sunbpp_to_pc()
108 static unsigned char control_sunbpp_to_pc(struct parport *p) in control_sunbpp_to_pc()
129 static unsigned char parport_sunbpp_read_control(struct parport *p) in parport_sunbpp_read_control()
134 static unsigned char parport_sunbpp_frob_control(struct parport *p, in parport_sunbpp_frob_control()
180 static void parport_sunbpp_write_control(struct parport *p, unsigned char d) in parport_sunbpp_write_control()
190 static unsigned char parport_sunbpp_read_status(struct parport *p) in parport_sunbpp_read_status()
[all …]
Dparport_mfc3.c78 static struct parport *this_port[MAX_MFC] = {NULL, };
84 static void mfc3_write_data(struct parport *p, unsigned char data) in mfc3_write_data()
93 static unsigned char mfc3_read_data(struct parport *p) in mfc3_read_data()
128 static void mfc3_write_control(struct parport *p, unsigned char control) in mfc3_write_control()
134 static unsigned char mfc3_read_control( struct parport *p) in mfc3_read_control()
140 static unsigned char mfc3_frob_control( struct parport *p, unsigned char mask, unsigned char val) in mfc3_frob_control()
168 static unsigned char mfc3_read_status(struct parport *p) in mfc3_read_status()
192 static void mfc3_enable_irq(struct parport *p) in mfc3_enable_irq()
197 static void mfc3_disable_irq(struct parport *p) in mfc3_disable_irq()
202 static void mfc3_data_forward(struct parport *p) in mfc3_data_forward()
[all …]
Dprocfs.c37 struct parport *port = (struct parport *)table->extra1; in do_active_device()
117 struct parport *port = (struct parport *)table->extra1; in do_hardware_base_addr()
145 struct parport *port = (struct parport *)table->extra1; in do_hardware_irq()
173 struct parport *port = (struct parport *)table->extra1; in do_hardware_dma()
201 struct parport *port = (struct parport *)table->extra1; in do_hardware_modes()
474 int parport_proc_register(struct parport *port) in parport_proc_register()
509 int parport_proc_unregister(struct parport *port) in parport_proc_unregister()
523 struct parport * port = device->port; in parport_device_proc_register()
577 int parport_proc_register(struct parport *pp) in parport_proc_register()
582 int parport_proc_unregister(struct parport *pp) in parport_proc_unregister()
Dparport_gsc.c58 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout()
88 void parport_gsc_save_state(struct parport *p, struct parport_state *s) in parport_gsc_save_state()
93 void parport_gsc_restore_state(struct parport *p, struct parport_state *s) in parport_gsc_restore_state()
140 static int parport_SPP_supported(struct parport *pb) in parport_SPP_supported()
204 static int parport_PS2_supported(struct parport *pb) in parport_PS2_supported()
235 struct parport *parport_gsc_probe_port(unsigned long base, in parport_gsc_probe_port()
241 struct parport tmp; in parport_gsc_probe_port()
242 struct parport *p = &tmp; in parport_gsc_probe_port()
351 struct parport *p; in parport_init_chip()
386 struct parport *p = dev_get_drvdata(&dev->dev); in parport_remove_chip()
Dieee1284.c42 static void parport_ieee1284_wakeup (struct parport *port) in parport_ieee1284_wakeup()
47 static struct parport *port_from_cookie[PARPORT_MAX];
69 int parport_wait_event (struct parport *port, signed long timeout) in parport_wait_event()
120 int parport_poll_peripheral(struct parport *port, in parport_poll_peripheral()
169 int parport_wait_peripheral(struct parport *port, in parport_wait_peripheral()
227 static void parport_ieee1284_terminate (struct parport *port) in parport_ieee1284_terminate()
334 int parport_negotiate (struct parport *port, int mode) in parport_negotiate()
560 static int parport_ieee1284_ack_data_avail (struct parport *port) in parport_ieee1284_ack_data_avail()
576 struct parport *port = handle; in parport_ieee1284_interrupt()
607 ssize_t parport_write (struct parport *port, const void *buffer, size_t len) in parport_write()
[all …]
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/>.
Dparport_pc.c112 static void frob_econtrol(struct parport *pb, unsigned char m, in frob_econtrol()
126 static inline void frob_set_mode(struct parport *p, int mode) in frob_set_mode()
138 static int change_mode(struct parport *p, int m) in change_mode()
207 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout()
245 static void parport_pc_save_state(struct parport *p, struct parport_state *s) in parport_pc_save_state()
253 static void parport_pc_restore_state(struct parport *p, in parport_pc_restore_state()
265 static size_t parport_pc_epp_read_data(struct parport *port, void *buf, in parport_pc_epp_read_data()
331 static size_t parport_pc_epp_write_data(struct parport *port, const void *buf, in parport_pc_epp_write_data()
359 static size_t parport_pc_epp_read_addr(struct parport *port, void *buf, in parport_pc_epp_read_addr()
384 static size_t parport_pc_epp_write_addr(struct parport *port, in parport_pc_epp_write_addr()
[all …]
DMakefile5 parport-objs := share.o ieee1284.o ieee1284_ops.o procfs.o
8 parport-objs += daisy.o probe.o
11 obj-$(CONFIG_PARPORT) += parport.o
Dieee1284_ops.c40 size_t parport_ieee1284_write_compat (struct parport *port, in parport_ieee1284_write_compat()
149 size_t parport_ieee1284_read_nibble (struct parport *port, in parport_ieee1284_read_nibble()
240 size_t parport_ieee1284_read_byte (struct parport *port, in parport_ieee1284_read_byte()
334 int ecp_forward_to_reverse (struct parport *port) in ecp_forward_to_reverse()
368 int ecp_reverse_to_forward (struct parport *port) in ecp_reverse_to_forward()
403 size_t parport_ieee1284_ecp_write_data (struct parport *port, in parport_ieee1284_ecp_write_data()
490 size_t parport_ieee1284_ecp_read_data (struct parport *port, in parport_ieee1284_ecp_read_data()
638 size_t parport_ieee1284_ecp_write_addr (struct parport *port, in parport_ieee1284_ecp_write_addr()
730 size_t parport_ieee1284_epp_write_data (struct parport *port, in parport_ieee1284_epp_write_data()
774 size_t parport_ieee1284_epp_read_data (struct parport *port, in parport_ieee1284_epp_read_data()
[all …]
Dparport_cs.c76 struct parport *port;
122 struct parport *p; in parport_config()
172 struct parport *p = info->port; in parport_cs_release()
DTODO-parport3 0. Fix the bugs (see BUGS-parport).
20 See <URL:http://people.redhat.com/twaugh/parport/>.
DKconfig23 <file:Documentation/parport.txt> and
24 <file:drivers/parport/BUGS-parport>.
33 the module will be called parport.
36 look at <file:Documentation/parport.txt>.
74 FIFO. See <file:Documentation/parport.txt> to find out how to
160 appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
Dprobe.c36 static void pretty_print(struct parport *port, int device) in pretty_print()
52 static void parse_data(struct parport *port, int device, char *str) in parse_data()
135 static ssize_t parport_read_device_id (struct parport *port, char *buffer, in parport_read_device_id()
Dparport_serial.c518 struct parport *port[PARPORT_MAX];
557 struct parport *port; in parport_register()
/linux-4.1.27/drivers/i2c/busses/
Di2c-parport.c52 static void port_write_data(struct parport *p, unsigned char d) in port_write_data()
57 static void port_write_control(struct parport *p, unsigned char d) in port_write_control()
62 static unsigned char port_read_data(struct parport *p) in port_read_data()
67 static unsigned char port_read_status(struct parport *p) in port_read_status()
72 static unsigned char port_read_control(struct parport *p) in port_read_control()
77 static void (* const port_write[])(struct parport *, unsigned char) = {
83 static unsigned char (* const port_read[])(struct parport *) = {
91 static inline void line_set(struct parport *data, int state, in line_set()
103 static inline int line_get(struct parport *data, in line_get()
116 line_set((struct parport *) data, state, &adapter_parm[type].setscl); in parport_setscl()
[all …]
DMakefile98 obj-$(CONFIG_I2C_PARPORT) += i2c-parport.o
99 obj-$(CONFIG_I2C_PARPORT_LIGHT) += i2c-parport-light.o
DKconfig978 Documentation/i2c/busses/i2c-parport for details.
980 Another driver exists, named i2c-parport-light, which doesn't depend
981 on the parport driver. This is meant for embedded systems. Don't say
985 will be called i2c-parport.
997 This driver is a light version of i2c-parport. It doesn't depend
998 on the parport driver, and uses direct I/O access instead. This
1000 the clean but heavy parport handling is not an option. The
1004 Don't say Y here if you said Y or M to i2c-parport. Saying M to
1009 will be called i2c-parport-light.
/linux-4.1.27/Documentation/
Dparport-lowlevel.txt62 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
[all …]
Dparport.txt1 The `parport' code provides parallel-port support under Linux. This
5 You can pass parameters to the parport code to override its automatic
12 The parport code is split into two parts: generic (which deals with
20 If you load the parport code as a module, say
22 # insmod parport
24 to load the generic parport code. You then must load the
29 to tell the parport code that you want three PC-style ports, one at
67 The probe information is available from files in /proc/sys/dev/parport/.
73 If you compile the parport code into the kernel, then you can use
77 parport=0x3bc parport=0x378,7 parport=0x278,auto,nofifo
[all …]
D00-INDEX348 parport.txt
350 parport-lowlevel.txt
Dkernel-parameters.txt800 See also Documentation/input/joystick-parport.txt
1189 See also Documentation/input/joystick-parport.txt
1905 that lp device, or a parport name such as
2610 Format: <parport#>
2615 parport= [HW,PPT] Specify parallel ports. 0 disables.
2864 Format: { parport<nr> | timid | 0 }
2865 See also Documentation/parport.txt.
3721 See also Documentation/input/joystick-parport.txt
Ddevices.txt258 they are redirected through the parport multiplex layer.
/linux-4.1.27/drivers/input/joystick/
Dwalkera0701.c60 struct parport *parport; member
189 parport_enable_irq(w->parport); in walkera0701_open()
197 parport_disable_irq(w->parport); in walkera0701_close()
203 static int walkera0701_connect(struct walkera_dev *w, int parport) in walkera0701_connect() argument
207 w->parport = parport_find_number(parport); in walkera0701_connect()
208 if (!w->parport) { in walkera0701_connect()
209 pr_err("parport %d does not exist\n", parport); in walkera0701_connect()
213 if (w->parport->irq == -1) { in walkera0701_connect()
215 parport); in walkera0701_connect()
220 w->pardevice = parport_register_device(w->parport, "walkera0701", in walkera0701_connect()
[all …]
Ddb9.c146 static void db9_saturn_write_sub(struct parport *port, int type, unsigned char data, int powered, i… in db9_saturn_write_sub()
169 static unsigned char db9_saturn_read_sub(struct parport *port, int type) in db9_saturn_read_sub()
189 static unsigned char db9_saturn_read_analog(struct parport *port, int type, int powered) in db9_saturn_read_analog()
206 static unsigned char db9_saturn_read_packet(struct parport *port, unsigned char *data, int type, in… in db9_saturn_read_packet()
336 static int db9_saturn(int mode, struct parport *port, struct input_dev *devs[]) in db9_saturn()
369 struct parport *port = db9->pd->port; in db9_timer()
520 struct parport *port = db9->pd->port; in db9_open()
544 struct parport *port = db9->pd->port; in db9_close()
556 static struct db9 __init *db9_probe(int parport, int mode) in db9_probe() argument
560 struct parport *pp; in db9_probe()
[all …]
Dturbografx.c159 static struct tgfx __init *tgfx_probe(int parport, int *n_buttons, int n_devs) in tgfx_probe() argument
163 struct parport *pp; in tgfx_probe()
168 pp = parport_find_number(parport); in tgfx_probe()
Dgamecon.c151 struct parport *port = gc->pd->port; in gc_n64_send_command()
164 struct parport *port = gc->pd->port; in gc_n64_send_stop_bit()
567 struct parport *port = gc->pd->port; in gc_psx_command()
929 static struct gc __init *gc_probe(int parport, int *pads, int n_pads) in gc_probe() argument
932 struct parport *pp; in gc_probe()
938 pp = parport_find_number(parport); in gc_probe()
940 pr_err("no such parport %d\n", parport); in gc_probe()
DKconfig216 <file:Documentation/input/joystick-parport.txt>.
231 <file:Documentation/input/joystick-parport.txt>.
243 please read <file:Documentation/input/joystick-parport.txt>.
314 HM37, HM60 and want to use it via parport as a joystick. More
/linux-4.1.27/drivers/usb/misc/
Duss720.c65 struct parport *pp;
114 struct parport *pp; in async_complete()
211 static int get_1284_register(struct parport *pp, unsigned char reg, unsigned char *val, gfp_t mem_f… in get_1284_register()
247 static int set_1284_register(struct parport *pp, unsigned char reg, unsigned char val, gfp_t mem_fl… in set_1284_register()
275 static int change_mode(struct parport *pp, int m) in change_mode()
325 static int clear_epp_timeout(struct parport *pp) in clear_epp_timeout()
340 struct parport *pp = (struct parport *)dev_id;
353 static void parport_uss720_write_data(struct parport *pp, unsigned char d) in parport_uss720_write_data()
358 static unsigned char parport_uss720_read_data(struct parport *pp) in parport_uss720_read_data()
367 static void parport_uss720_write_control(struct parport *pp, unsigned char d) in parport_uss720_write_control()
[all …]
/linux-4.1.27/sound/drivers/
Dmts64.c143 static void mts64_enable_readout(struct parport *p);
144 static void mts64_disable_readout(struct parport *p);
145 static int mts64_device_ready(struct parport *p);
146 static int mts64_device_init(struct parport *p);
150 static int mts64_probe(struct parport *p);
151 static u16 mts64_read(struct parport *p);
152 static u8 mts64_read_char(struct parport *p);
153 static void mts64_smpte_start(struct parport *p,
157 static void mts64_smpte_stop(struct parport *p);
158 static void mts64_write_command(struct parport *p, u8 c);
[all …]
Dportman2x4.c447 static int portman_probe(struct parport *p) in portman_probe()
651 static int snd_portman_probe_port(struct parport *p) in snd_portman_probe_port()
675 static void snd_portman_attach(struct parport *p) in snd_portman_attach()
703 static void snd_portman_detach(struct parport *p) in snd_portman_detach()
734 struct parport *p; in snd_portman_probe()
/linux-4.1.27/Documentation/i2c/busses/
Di2c-parport-light1 Kernel driver i2c-parport-light
5 This driver is a light version of i2c-parport. It doesn't depend
6 on the parport driver, and uses direct I/O access instead. This might be
8 parport handling is not an option. The drawback is a reduced portability
11 Please see i2c-parport for documentation.
15 * type: type of adapter (see i2c-parport or modinfo)
Di2c-parport1 Kernel driver i2c-parport
11 * video/i2c-parport (NOT the same as this one, dedicated to home brew
85 the i2c-parport module might be a good safety since data line state
/linux-4.1.27/drivers/char/
Dlp.c149 static struct parport *console_registered;
195 static int lp_negotiate(struct parport * port, int mode) in lp_negotiate()
298 struct parport *port = lp_table[minor].dev->port; in lp_write()
417 struct parport *port = lp_table[minor].dev->port; in lp_read()
773 struct parport *port = dev->port; in lp_console_write()
832 static char *parport[LP_NO]; variable
835 module_param_array(parport, charp, NULL, 0);
870 static int lp_register(int nr, struct parport *port) in lp_register()
903 static void lp_attach (struct parport *port) in lp_attach()
933 static void lp_detach (struct parport *port) in lp_detach()
[all …]
Dppdev.c103 struct parport *port = pp->pdev->port; in pp_enable_irq()
114 struct parport *pport; in pp_read()
145 size_t (*fn)(struct parport *, void *, size_t, int); in pp_read()
198 struct parport *pport; in pp_write()
282 struct parport *port; in register_device()
329 struct parport * port; in pp_do_ioctl()
751 static void pp_attach(struct parport *port) in pp_attach()
757 static void pp_detach(struct parport *port) in pp_detach()
DKconfig109 <file:Documentation/parport.txt>. The module will be called lp.
118 macro in lp.c and the PARPORT_MAX macro in parport.h.
141 Saying Y to this adds support for /dev/parport device nodes. This
/linux-4.1.27/drivers/pps/clients/
Dpps_parport.c61 static inline int signal_is_set(struct parport *port) in signal_is_set()
71 struct parport *port = dev->pardev->port; in parport_irq()
137 static void parport_attach(struct parport *port) in parport_attach()
192 static void parport_detach(struct parport *port) in parport_detach()
/linux-4.1.27/drivers/pps/generators/
Dpps_gen_parport.c75 struct parport *port; in hrtimer_event()
159 struct parport *port = dev->pardev->port; in calibrate_port()
193 static void parport_attach(struct parport *port) in parport_attach()
227 static void parport_detach(struct parport *port) in parport_detach()
DKconfig13 parport abstraction layer and hrtimers to precisely control the signal.
/linux-4.1.27/Documentation/scsi/
Dppa.txt10 http://web.archive.org/web/*/http://www.torque.net/parport/
13 linux-parport@torque.net
/linux-4.1.27/drivers/net/plip/
Dplip.c231 struct parport *port = in enable_parport_interrupts()
241 struct parport *port = in disable_parport_interrupts()
249 struct parport *port = in write_data()
257 struct parport *port = in read_status()
1225 static int parport[PLIP_MAX] = { [0 ... PLIP_MAX-1] = -1 }; variable
1228 module_param_array(parport, int, NULL, 0);
1230 MODULE_PARM_DESC(parport, "List of parport device numbers to use by plip");
1246 static void plip_attach (struct parport *port) in plip_attach()
1253 if ((parport[0] == -1 && (!timid || !port->devices)) || in plip_attach()
1254 plip_searchfor(parport, port->number)) { in plip_attach()
[all …]
/linux-4.1.27/Documentation/input/
Dwalkera0701.txt20 Cable: (walkera TX to parport)
25 / |_| \ pin 2 (signal) NPN parport
39 access to parport, modules like lp must be unloaded before loading
43 (usually irq7) parport must increase if TX is on.
49 Driver use interrupt from parport ACK input bit to measure pulse length
Djoystick-parport.txt1 Linux Joystick parport drivers v2.0
16 The joystick parport drivers are used for joysticks and gamepads not
52 some data pin. For most gamepad and parport implementations only one pin is
311 http://www2.burg-halle.de/~schwenke/parport.html
439 Where 'port' the number of the parport interface (eg. 0 for parport0).
479 Where 'port' is the number of the parport interface (eg. 0 for parport0).
510 Where 'port' is the number of the parport interface (eg. 0 for parport0).
Damijoy.txt1 Amiga 4-joystick parport extension
Djoystick.txt435 See joystick-parport.txt for more info.
/linux-4.1.27/drivers/spi/
Dspi-lm70llp.c81 struct parport *port;
193 static void spi_lm70llp_attach(struct parport *p) in spi_lm70llp_attach()
301 static void spi_lm70llp_detach(struct parport *p) in spi_lm70llp_detach()
Dspi-butterfly.c67 struct parport *port;
193 static void butterfly_attach(struct parport *p) in butterfly_attach()
305 static void butterfly_detach(struct parport *p) in butterfly_detach()
/linux-4.1.27/Documentation/DocBook/
D.device-drivers.xml.cmd2 …lude/linux/uio_driver.h include/linux/parport.h drivers/parport/ieee1284.c drivers/parport/share.c…
/linux-4.1.27/arch/sparc/include/asm/
Dparport.h40 struct parport *port;
113 struct parport *p; in ecpp_probe()
197 struct parport *p = dev_get_drvdata(&op->dev); in ecpp_remove()
/linux-4.1.27/drivers/usb/serial/
Dmos7720.c102 struct parport *pp; /* back to containing struct */
443 static int parport_prologue(struct parport *pp) in parport_prologue()
474 static inline void parport_epilogue(struct parport *pp) in parport_epilogue()
482 static void parport_mos7715_write_data(struct parport *pp, unsigned char d) in parport_mos7715_write_data()
493 static unsigned char parport_mos7715_read_data(struct parport *pp) in parport_mos7715_read_data()
505 static void parport_mos7715_write_control(struct parport *pp, unsigned char d) in parport_mos7715_write_control()
518 static unsigned char parport_mos7715_read_control(struct parport *pp) in parport_mos7715_read_control()
534 static unsigned char parport_mos7715_frob_control(struct parport *pp, in parport_mos7715_frob_control()
552 static unsigned char parport_mos7715_read_status(struct parport *pp) in parport_mos7715_read_status()
568 static void parport_mos7715_enable_irq(struct parport *pp) in parport_mos7715_enable_irq()
[all …]
DKconfig462 the parport subsystem as a low-level driver.
/linux-4.1.27/Documentation/spi/
Dspi-lm70llp1 spi_lm70llp : LM70-LLP parport-to-SPI adapter
49 using an arrangement that lets either the parport or the LM70 pull the
66 the collector to zero, which is reflected on pin 13 of the DB25 parport
Dbutterfly1 spi_butterfly - parport-to-butterfly adapter driver
27 connector pins (used also on non-Butterfly AVR boards). On the parport
57 of spare parport pins to wire this one up, such as:
/linux-4.1.27/drivers/net/hamradio/
Dbaycom_par.c199 struct parport *pp = bc->pdev->port; in par96_tx()
223 struct parport *pp = bc->pdev->port; in par96_rx()
314 struct parport *pp; in par96_open()
363 struct parport *pp; in par96_close()
Dbaycom_epp.c433 struct parport *pp = bc->pdev->port; in transmit()
564 struct parport *pp = bc->pdev->port; in receive()
651 struct parport *pp; in epp_bh()
832 struct parport *pp = parport_find_base(dev->base_addr); in epp_open()
947 struct parport *pp = bc->pdev->port; in epp_close()
/linux-4.1.27/drivers/staging/panel/
Dpanel.c485 static int parport = DEFAULT_PARPORT; variable
486 module_param(parport, int, 0000);
487 MODULE_PARM_DESC(parport, "Parallel port index (0=lpt1, 1=lpt2, ...)");
2191 static void panel_attach(struct parport *port) in panel_attach()
2193 if (port->number != parport) in panel_attach()
2198 __func__, port->number, parport); in panel_attach()
2208 __func__, port->number, parport); in panel_attach()
2214 parport); in panel_attach()
2243 static void panel_detach(struct parport *port) in panel_detach()
2245 if (port->number != parport) in panel_detach()
[all …]
/linux-4.1.27/arch/mips/include/asm/
DKbuild11 generic-y += parport.h
/linux-4.1.27/drivers/auxdisplay/
Dks0108.c54 static struct parport *ks0108_parport;
DKconfig28 parport, you will be able to compile this as a module (M)
49 If you don't know what I'm talking about, load the parport module,
/linux-4.1.27/arch/arm/include/asm/
DKbuild18 generic-y += parport.h
/linux-4.1.27/arch/tile/include/asm/
DKbuild25 generic-y += parport.h
/linux-4.1.27/arch/sh/include/asm/
DKbuild22 generic-y += parport.h
/linux-4.1.27/drivers/input/serio/
Dparkbd.c146 struct parport *pp; in parkbd_getport()
/linux-4.1.27/arch/arc/include/asm/
DKbuild29 generic-y += parport.h
/linux-4.1.27/arch/unicore32/include/asm/
DKbuild33 generic-y += parport.h
/linux-4.1.27/drivers/
DMakefile65 obj-$(CONFIG_PARPORT) += parport/
DKconfig15 source "drivers/parport/Kconfig"
/linux-4.1.27/drivers/scsi/
Dppa.c989 static int __ppa_attach(struct parport *pb) in __ppa_attach()
1093 static void ppa_attach(struct parport *pb) in ppa_attach()
1098 static void ppa_detach(struct parport *pb) in ppa_detach()
Dimm.c1124 static int __imm_attach(struct parport *pb) in __imm_attach()
1228 static void imm_attach(struct parport *pb) in imm_attach()
1233 static void imm_detach(struct parport *pb) in imm_detach()
DKconfig947 bool "ppa/imm option - Assume slow parport control register"
/linux-4.1.27/Documentation/blockdev/
Dparide.txt393 by e-mail to grant@torque.net, or join the linux-parport mailing list
398 You can join the linux-parport mailing list by sending a mail message
400 linux-parport-request@torque.net
412 You might also find some useful information on the linux-parport
415 http://web.archive.org/web/*/http://www.torque.net/parport/
/linux-4.1.27/arch/mips/include/asm/ip32/
Dmace.h232 struct mace_parport parport; member
/linux-4.1.27/drivers/block/paride/
Dparide.c249 struct parport *port; in pi_register_parport()
/linux-4.1.27/drivers/usb/
DKconfig114 tristate "USS720 parport driver"
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_parallel.c89 static struct parport *pport;
/linux-4.1.27/arch/m68k/q40/
DREADME40 parport/*
/linux-4.1.27/Documentation/networking/
Dbaycom.txt153 The parallel port drivers (baycom_par, baycom_epp) now use the parport subsystem
/linux-4.1.27/Documentation/pps/
Dpps.txt226 current parport PPS generator implementation (pps_gen_parport module) is
/linux-4.1.27/include/uapi/linux/
DKbuild311 header-y += parport.h
/linux-4.1.27/Documentation/filesystems/
Dproc.txt28 1.6 Parallel port info in /proc/parport
1200 1.6 Parallel port info in /proc/parport
1203 The directory /proc/parport contains information about the parallel ports of
1210 Table 1-10: Files in /proc/parport
1218 irq IRQ that parport is using for that port. This is in a separate
/linux-4.1.27/Documentation/ioctl/
Dioctl-number.txt255 'p' 80-9F linux/ppdev.h user-space parport
/linux-4.1.27/
DCREDITS128 D: Author of pscan that helps to fix lp/parport bugs
248 D: Various parport/ppdev hacks and fixes
263 D: Some new sysctl entries for the parport driver.
DMAINTAINERS4772 F: Documentation/i2c/busses/i2c-parport
4773 F: Documentation/i2c/busses/i2c-parport-light
4774 F: drivers/i2c/busses/i2c-parport.c
4775 F: drivers/i2c/busses/i2c-parport-light.c
7396 L: linux-parport@lists.infradead.org (subscribers-only)
7398 F: drivers/parport/
7399 F: include/linux/parport*.h
7416 L: linux-parport@lists.infradead.org (subscribers-only)
7436 F: drivers/parport/parport_gsc.*
/linux-4.1.27/Documentation/sound/alsa/
DALSA-Configuration.txt1409 Requires parport (CONFIG_PARPORT).