Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/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.c61 struct pardevice *pd;
148 struct pardevice *pd; in tgfx_attach()
/Linux-v5.4/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-v5.4/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()
693 struct pardevice *
699 struct pardevice *tmp; in parport_register_device()
740 tmp = kmalloc(sizeof(struct pardevice), GFP_KERNEL); in parport_register_device()
819 struct pardevice *par_dev = to_pardevice(dev); in free_pardevice()
825 struct pardevice *
829 struct pardevice *par_dev; in parport_register_dev_model()
973 void parport_unregister_device(struct pardevice *dev) in parport_unregister_device()
1113 int parport_claim(struct pardevice *dev) in parport_claim()
[all …]
Dprocfs.c41 struct pardevice *dev; in do_active_device()
522 int parport_device_proc_register(struct pardevice *device) in parport_device_proc_register()
550 int parport_device_proc_unregister(struct pardevice *device) in parport_device_proc_unregister()
600 int parport_device_proc_register(struct pardevice *device) in parport_device_proc_register()
605 int parport_device_proc_unregister(struct pardevice *device) in parport_device_proc_unregister()
Ddaisy.c213 struct pardevice *parport_open(int devnum, const char *name) in parport_open()
217 struct pardevice *dev; in parport_open()
265 void parport_close(struct pardevice *dev) in parport_close()
Dparport_gsc.h193 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.c130 static void amiga_init_state(struct pardevice *dev, struct parport_state *s) in amiga_init_state()
Dieee1284_ops.c49 struct pardevice *dev = port->physport->cad; in parport_ieee1284_write_compat()
497 struct pardevice *dev = port->cad; in parport_ieee1284_ecp_read_data()
Dprobe.c260 struct pardevice *dev = parport_open (devnum, "Device ID probe"); in parport_device_id()
/Linux-v5.4/sound/drivers/
Dportman2x4.c72 struct pardevice *pardev;
85 struct pardevice *pardev, in portman_create()
669 static int snd_portman_dev_probe(struct pardevice *pardev) in snd_portman_dev_probe()
691 struct pardevice *pardev = pm->pardev; in snd_portman_card_private_free()
703 struct pardevice *pardev; in snd_portman_probe()
Dmts64.c53 struct pardevice *pardev;
71 struct pardevice *pardev, in snd_mts64_create()
870 static int snd_mts64_dev_probe(struct pardevice *pardev) in snd_mts64_dev_probe()
892 struct pardevice *pardev = mts->pardev; in snd_mts64_card_private_free()
904 struct pardevice *pardev; in snd_mts64_probe()
/Linux-v5.4/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-v5.4/drivers/pps/clients/
Dpps_parport.c42 struct pardevice *pardev; /* parport device */
193 struct pardevice *pardev = port->cad; in parport_detach()
/Linux-v5.4/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-v5.4/drivers/auxdisplay/
Dks0108.c43 static struct pardevice *ks0108_pardevice;
/Linux-v5.4/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()
823 static int pp_probe(struct pardevice *par_dev) in pp_probe()
/Linux-v5.4/drivers/input/serio/
Dparkbd.c70 static struct pardevice *parkbd_dev;
/Linux-v5.4/drivers/net/hamradio/
Dbaycom_par.c115 struct pardevice *pdev;
492 static int baycom_par_probe(struct pardevice *par_dev) in baycom_par_probe()
/Linux-v5.4/drivers/pps/generators/
Dpps_gen_parport.c42 struct pardevice *pardev; /* parport device */

12