Lines Matching defs:lptdev
483 device_t lptdev;
489 lptdev = sc->sc_dev;
490 ppbus = device_get_parent(lptdev);
494 lprintf(("%s: still open %x\n", device_get_nameunit(lptdev),
511 if ((err = lpt_request_ppbus(lptdev, PPB_WAIT|PPB_INTR)) != 0) {
518 lprintf(("%s flags 0x%x\n", device_get_nameunit(lptdev),
546 lpt_release_ppbus(lptdev);
553 if (ppb_sleep(ppbus, lptdev, LPPRI | PCATCH, "lptinit",
555 lpt_release_ppbus(lptdev);
587 lpt_release_ppbus(lptdev);
604 device_t lptdev = sc->sc_dev;
605 device_t ppbus = device_get_parent(lptdev);
612 if ((err = lpt_request_ppbus(lptdev, PPB_WAIT|PPB_INTR)) != 0) {
621 if (ppb_sleep(ppbus, lptdev, LPPRI | PCATCH, "lpclose",
632 lpt_release_ppbus(lptdev);
712 device_t lptdev = sc->sc_dev;
713 device_t ppbus = device_get_parent(lptdev);
765 device_t lptdev = sc->sc_dev;
766 device_t ppbus = device_get_parent(lptdev);
775 if ((err = lpt_request_ppbus(lptdev, PPB_WAIT|PPB_INTR)) != 0) {
824 if ((err = ppb_sleep(ppbus, lptdev,
846 lpt_release_ppbus(lptdev);
862 device_t lptdev = sc->sc_dev;
863 device_t ppbus = device_get_parent(lptdev);
900 wakeup(lptdev);