/Linux-v5.4/include/linux/ |
D | parport.h | 22 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 …]
|
D | lp.h | 47 struct pardevice *dev;
|
/Linux-v5.4/drivers/input/joystick/ |
D | walkera0701.c | 57 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 …]
|
D | turbografx.c | 61 struct pardevice *pd; 148 struct pardevice *pd; in tgfx_attach()
|
/Linux-v5.4/drivers/block/paride/ |
D | bpck6.c | 130 ((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()
|
D | paride.c | 126 !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/ |
D | share.c | 62 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 …]
|
D | procfs.c | 41 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()
|
D | daisy.c | 213 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()
|
D | parport_gsc.h | 193 extern void parport_gsc_init_state(struct pardevice *, struct parport_state *s);
|
D | parport_atari.c | 93 parport_atari_init_state(struct pardevice *d, struct parport_state *s) in parport_atari_init_state()
|
D | parport_amiga.c | 130 static void amiga_init_state(struct pardevice *dev, struct parport_state *s) in amiga_init_state()
|
D | ieee1284_ops.c | 49 struct pardevice *dev = port->physport->cad; in parport_ieee1284_write_compat() 497 struct pardevice *dev = port->cad; in parport_ieee1284_ecp_read_data()
|
D | probe.c | 260 struct pardevice *dev = parport_open (devnum, "Device ID probe"); in parport_device_id()
|
/Linux-v5.4/sound/drivers/ |
D | portman2x4.c | 72 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()
|
D | mts64.c | 53 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/ |
D | parport-lowlevel.rst | 371 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/ |
D | pps_parport.c | 42 struct pardevice *pardev; /* parport device */ 193 struct pardevice *pardev = port->cad; in parport_detach()
|
/Linux-v5.4/drivers/spi/ |
D | spi-lm70llp.c | 73 struct pardevice *pd; 190 struct pardevice *pd; in spi_lm70llp_attach()
|
D | spi-butterfly.c | 54 struct pardevice *pd; 178 struct pardevice *pd; in butterfly_attach()
|
/Linux-v5.4/drivers/auxdisplay/ |
D | ks0108.c | 43 static struct pardevice *ks0108_pardevice;
|
/Linux-v5.4/drivers/char/ |
D | ppdev.c | 74 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/ |
D | parkbd.c | 70 static struct pardevice *parkbd_dev;
|
/Linux-v5.4/drivers/net/hamradio/ |
D | baycom_par.c | 115 struct pardevice *pdev; 492 static int baycom_par_probe(struct pardevice *par_dev) in baycom_par_probe()
|
/Linux-v5.4/drivers/pps/generators/ |
D | pps_gen_parport.c | 42 struct pardevice *pardev; /* parport device */
|