Searched refs:parport_claim (Results 1 - 21 of 21) sorted by relevance

/linux-4.1.27/drivers/block/paride/
H A Dparide.c80 if (pi->claim_cont && !parport_claim(pi->pardev)) { pi_wake_up()
99 if (pi->pardev && parport_claim(pi->pardev)) { pi_schedule_claimed()
125 !parport_claim((struct pardevice *) pi->pardev)); pi_claim()
/linux-4.1.27/include/linux/
H A Dparport.h133 * the port, it should call parport_claim() here.
307 /* parport_claim tries to gain ownership of the port for a particular
311 extern int parport_claim(struct pardevice *dev);
318 /* parport_release reverses a previous parport_claim. This can never
334 * parport_claim(), and the return value is the same as for
335 * parport_claim(). If it fails, the port is left unclaimed and it is
354 return parport_claim(dev); parport_yield()
/linux-4.1.27/drivers/parport/
H A Dshare.c489 * is, parport_claim() is guaranteed to succeed when called from
761 * parport_claim - claim access to a parallel port device
765 * context. If parport_claim() succeeds in claiming access to
772 int parport_claim(struct pardevice *dev) parport_claim() function
876 * This behaves like parport_claim(), but will block if necessary
886 /* Signal to parport_claim() that we can wait even without a parport_claim_or_block()
891 r = parport_claim(dev); parport_claim_or_block()
894 printk(KERN_DEBUG "%s: parport_claim() returned -EAGAIN\n", dev->name); parport_claim_or_block()
983 parport_claim(pd); parport_release()
1016 EXPORT_SYMBOL(parport_claim); variable
/linux-4.1.27/drivers/input/serio/
H A Dparkbd.c161 if (parport_claim(parkbd_dev)) { parkbd_getport()
/linux-4.1.27/drivers/auxdisplay/
H A Dks0108.c149 result = parport_claim(ks0108_pardevice); ks0108_init()
/linux-4.1.27/drivers/net/hamradio/
H A Dbaycom_par.c305 if (!parport_claim(bc->pdev)) par96_wakeup()
342 if (parport_claim(bc->pdev)) { par96_open()
H A Dbaycom_epp.c814 if (!parport_claim(bc->pdev)) epp_wakeup()
863 if (parport_claim(bc->pdev)) { epp_open()
/linux-4.1.27/drivers/staging/media/lirc/
H A Dlirc_parallel.c191 if (parport_claim(ppdevice) != 0) { lirc_claim()
669 if (parport_claim(ppdevice) != 0) lirc_parallel_init()
/linux-4.1.27/drivers/net/plip/
H A Dplip.c964 if (parport_claim(nl->pardev)) plip_tx_packet()
1058 if (parport_claim(nl->pardev)) return -EAGAIN; plip_open()
1181 if (!parport_claim(nl->pardev)) plip_wakeup()
1192 if (!parport_claim(nl->pardev)) { plip_wakeup()
/linux-4.1.27/drivers/spi/
H A Dspi-butterfly.c241 status = parport_claim(pd); butterfly_attach()
H A Dspi-lm70llp.c239 status = parport_claim(pd); spi_lm70llp_attach()
/linux-4.1.27/drivers/input/joystick/
H A Dturbografx.c131 parport_claim(tgfx->pd); tgfx_open()
H A Dwalkera0701.c186 if (parport_claim(w->pardevice)) walkera0701_open()
H A Ddb9.c528 parport_claim(db9->pd); db9_open()
H A Dgamecon.c792 parport_claim(gc->pd); gc_open()
/linux-4.1.27/sound/drivers/
H A Dmts64.c864 if (parport_claim(pardev)) { snd_mts64_probe_port()
990 if (parport_claim(pardev)) { snd_mts64_probe()
H A Dportman2x4.c662 if (parport_claim(pardev)) { snd_portman_probe_port()
789 if (parport_claim(pardev)) { snd_portman_probe()
/linux-4.1.27/drivers/scsi/
H A Dppa.c70 parport_claim(dev->dev); ppa_wakeup()
83 if (parport_claim(dev->dev) == 0) { ppa_pb_claim()
H A Dimm.c79 parport_claim(dev->dev); imm_wakeup()
91 if (parport_claim(dev->dev) == 0) { imm_pb_claim()
/linux-4.1.27/drivers/char/
H A Dlp.c776 if (parport_claim (dev)) lp_console_write()
/linux-4.1.27/drivers/staging/panel/
H A Dpanel.c2212 if (parport_claim(pprt)) { panel_attach()

Completed in 664 milliseconds