Home
last modified time | relevance | path

Searched refs:pardev (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/drivers/block/paride/
Dparide.c79 if (pi->claim_cont && !parport_claim(pi->pardev)) { in pi_wake_up()
102 if (!pi->pardev || !parport_claim(pi->pardev)) { in pi_do_claimed()
124 if (pi->pardev) in pi_claim()
126 !parport_claim ((struct pardevice *)pi->pardev)); in pi_claim()
134 if (pi->pardev) parport_release((struct pardevice *)(pi->pardev)); in pi_unclaim()
154 if (pi->pardev) { in pi_unregister_parport()
155 parport_unregister_device((struct pardevice *)(pi->pardev)); in pi_unregister_parport()
156 pi->pardev = NULL; in pi_unregister_parport()
251 pi->pardev = parport_register_device(port, in pi_register_parport()
256 if (!pi->pardev) in pi_register_parport()
[all …]
Dbpck6.c135 ((struct pardevice*)(pi->pardev))->port->modes, in bpck6_test_port()
136 ((struct pardevice *)(pi->pardev))->port->base); in bpck6_test_port()
149 if(((struct pardevice *)(pi->pardev))->port->modes & in bpck6_test_port()
155 else if(((struct pardevice *)(pi->pardev))->port->modes & in bpck6_test_port()
Dparide.h54 void *pardev; /* pointer to pardevice */ member
/linux-2.4.37.9/drivers/net/
Dplip.c220 struct pardevice *pardev; member
243 ((struct net_local *)dev->priv)->pardev->port; in enable_parport_interrupts()
253 ((struct net_local *)dev->priv)->pardev->port; in disable_parport_interrupts()
261 ((struct net_local *)dev->priv)->pardev->port; in write_data()
269 ((struct net_local *)dev->priv)->pardev->port; in read_status()
287 struct pardevice *pardev; in plip_init_dev() local
298 pardev = parport_register_device(pb, dev->name, plip_preempt, in plip_init_dev()
302 if (!pardev) in plip_init_dev()
331 parport_unregister_device(pardev); in plip_init_dev()
343 nl->pardev = pardev; in plip_init_dev()
[all …]
/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dsm.c274 if (sm->hdrv.ptt_out.flags & SP_PAR && sm->pardev && sm->pardev->port) in sm_output_status()
275 parport_write_data(sm->pardev->port, ptt | (dcd << 1)); in sm_output_status()
300 sm->pardev = NULL; in sm_output_open()
310 sm->pardev = parport_register_device(pp, ifname, NULL, NULL, NULL, PARPORT_DEV_EXCL, NULL); in sm_output_open()
311 if (!sm->pardev) { in sm_output_open()
315 if (parport_claim(sm->pardev)) { in sm_output_open()
316 parport_unregister_device(sm->pardev); in sm_output_open()
317 sm->pardev = NULL; in sm_output_open()
355 if (sm->hdrv.ptt_out.flags & SP_PAR && sm->pardev) { in sm_output_close()
356 parport_release(sm->pardev); in sm_output_close()
[all …]
Dsm.h54 struct pardevice *pardev; member
/linux-2.4.37.9/drivers/media/video/
Dw9966.c139 static const char* pardev[] = {[0 ... W9966_MAXCAMS-1] = "auto"}; variable
140 MODULE_PARM(pardev, "0-" __MODULE_STRING(W9966_MAXCAMS) "s");
141 MODULE_PARM_DESC(pardev,"\n\
1100 if (strcmp(pardev[i], "none") == 0 || // Skip if 'none' or if in w9966_attach()
1104 if (strcmp(pardev[i], "auto") == 0 || in w9966_attach()
1105 strcmp(pardev[i], port->name) == 0) { in w9966_attach()
/linux-2.4.37.9/Documentation/video4linux/
Dw9966.txt16 modprobe w9966.o pardev=parport0(or whatever) parmode=0 (0=auto, 1=ecp, 2=epp)