Home
last modified time | relevance | path

Searched refs:pardevice (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.1.9/include/linux/
Dparport.h22 struct pardevice;
86 void (*init_state)(struct pardevice *, struct parport_state *);
138 struct pardevice { struct
147 struct pardevice *next; argument
148 struct pardevice *prev; argument
157 struct pardevice *waitprev; argument
158 struct pardevice *waitnext; argument
162 #define to_pardevice(n) container_of(n, struct pardevice, dev) argument
219 struct pardevice *devices;
220 struct pardevice *cad; /* port owner */
[all …]
Dlp.h47 struct pardevice *dev;
/linux-6.1.9/drivers/input/joystick/
Dwalkera0701.c57 struct pardevice *pardevice; member
117 static inline int read_ack(struct pardevice *p) in read_ack()
173 w->ack = read_ack(w->pardevice); in timer_handler()
182 if (parport_claim(w->pardevice)) in walkera0701_open()
196 parport_release(w->pardevice); in walkera0701_close()
222 w->pardevice = parport_register_dev_model(pp, "walkera0701", in walkera0701_attach()
225 if (!w->pardevice) { in walkera0701_attach()
230 if (parport_negotiate(w->pardevice->port, IEEE1284_MODE_COMPAT)) { in walkera0701_attach()
277 parport_unregister_device(w->pardevice); in walkera0701_attach()
284 if (!w->pardevice || w->parport->number != port->number) in walkera0701_detach()
[all …]
Dturbografx.c58 struct pardevice *pd;
145 struct pardevice *pd; in tgfx_attach()
/linux-6.1.9/drivers/block/paride/
Dbpck6.c130 ((struct pardevice*)(pi->pardev))->port->modes, in bpck6_test_port()
131 ((struct pardevice *)(pi->pardev))->port->base); in bpck6_test_port()
139 if(((struct pardevice *)(pi->pardev))->port->modes & in bpck6_test_port()
145 else if(((struct pardevice *)(pi->pardev))->port->modes & in bpck6_test_port()
Dparide.c126 !parport_claim((struct pardevice *) pi->pardev)); in pi_claim()
133 parport_release((struct pardevice *) (pi->pardev)); in pi_unclaim()
155 parport_unregister_device((struct pardevice *) (pi->pardev)); in pi_unregister_parport()
439 static int pi_probe(struct pardevice *par_dev) in pi_probe()
/linux-6.1.9/drivers/parport/
Dshare.c62 static void dead_initstate(struct pardevice *d, struct parport_state *s) { } in dead_initstate()
123 struct pardevice *par_dev = to_pardevice(dev); in parport_probe()
624 struct pardevice *par_dev = to_pardevice(dev); in free_pardevice()
692 struct pardevice *
696 struct pardevice *par_dev; in parport_register_dev_model()
840 void parport_unregister_device(struct pardevice *dev) in parport_unregister_device()
977 int parport_claim(struct pardevice *dev) in parport_claim()
979 struct pardevice *oldcad; in parport_claim()
1091 int parport_claim_or_block(struct pardevice *dev) in parport_claim_or_block()
1156 void parport_release(struct pardevice *dev) in parport_release()
[all …]
Dprocfs.c41 struct pardevice *dev; in do_active_device()
523 int parport_device_proc_register(struct pardevice *device) in parport_device_proc_register()
551 int parport_device_proc_unregister(struct pardevice *device) in parport_device_proc_unregister()
601 int parport_device_proc_register(struct pardevice *device) in parport_device_proc_register()
606 int parport_device_proc_unregister(struct pardevice *device) in parport_device_proc_unregister()
Ddaisy.c85 static int daisy_drv_probe(struct pardevice *par_dev) in daisy_drv_probe()
241 struct pardevice *parport_open(int devnum, const char *name) in parport_open()
246 struct pardevice *dev; in parport_open()
295 void parport_close(struct pardevice *dev) in parport_close()
Dparport_gsc.h192 extern void parport_gsc_init_state(struct pardevice *, struct parport_state *s);
Dparport_atari.c93 parport_atari_init_state(struct pardevice *d, struct parport_state *s) in parport_atari_init_state()
Dparport_amiga.c124 static void amiga_init_state(struct pardevice *dev, struct parport_state *s) in amiga_init_state()
Dieee1284_ops.c43 struct pardevice *dev = port->physport->cad; in parport_ieee1284_write_compat()
480 struct pardevice *dev = port->cad; in parport_ieee1284_ecp_read_data()
Dprobe.c251 struct pardevice *dev = parport_open(devnum, daisy_dev_name); in parport_device_id()
/linux-6.1.9/sound/drivers/
Dportman2x4.c71 struct pardevice *pardev;
84 struct pardevice *pardev, in portman_create()
668 static int snd_portman_dev_probe(struct pardevice *pardev) in snd_portman_dev_probe()
690 struct pardevice *pardev = pm->pardev; in snd_portman_card_private_free()
702 struct pardevice *pardev; in snd_portman_probe()
Dmts64.c52 struct pardevice *pardev;
70 struct pardevice *pardev, in snd_mts64_create()
872 static int snd_mts64_dev_probe(struct pardevice *pardev) in snd_mts64_dev_probe()
894 struct pardevice *pardev = mts->pardev; in snd_mts64_card_private_free()
906 struct pardevice *pardev; in snd_mts64_probe()
/linux-6.1.9/Documentation/driver-api/
Dparport-lowlevel.rst371 struct pardevice *parport_register_device(struct parport *port,
425 The visible parts of the returned ``struct pardevice`` are::
427 struct pardevice {
436 A ``struct pardevice *``: a handle to the registered parallel port
462 struct pardevice *dev = private->dev;
509 void parport_unregister_device (struct pardevice *dev);
546 int parport_claim (struct pardevice *dev);
547 int parport_claim_or_block (struct pardevice *dev);
592 void parport_release (struct pardevice *dev);
606 static size_t write (struct pardevice *dev, const void *buf,
[all …]
/linux-6.1.9/drivers/pps/clients/
Dpps_parport.c40 struct pardevice *pardev; /* parport device */
197 struct pardevice *pardev = port->cad; in parport_detach()
/linux-6.1.9/drivers/spi/
Dspi-lm70llp.c73 struct pardevice *pd;
190 struct pardevice *pd; in spi_lm70llp_attach()
Dspi-butterfly.c54 struct pardevice *pd;
178 struct pardevice *pd; in butterfly_attach()
/linux-6.1.9/drivers/auxdisplay/
Dks0108.c40 static struct pardevice *ks0108_pardevice;
/linux-6.1.9/drivers/char/
Dppdev.c74 struct pardevice *pdev;
286 struct pardevice *pdev = NULL; in register_device()
336 static int pp_set_timeout(struct pardevice *pdev, long tv_sec, int tv_usec) in pp_set_timeout()
817 static int pp_probe(struct pardevice *par_dev) in pp_probe()
/linux-6.1.9/drivers/input/serio/
Dparkbd.c70 static struct pardevice *parkbd_dev;
/linux-6.1.9/drivers/net/hamradio/
Dbaycom_par.c115 struct pardevice *pdev;
492 static int baycom_par_probe(struct pardevice *par_dev) in baycom_par_probe()
/linux-6.1.9/drivers/pps/generators/
Dpps_gen_parport.c40 struct pardevice *pardev; /* parport device */

12