Lines Matching refs:dev_id
422 lptopen(dev_t dev_id, int flags, int fmt, struct lwp *l)
431 dev = device_lookup(&lpt_cd, LPTUNIT(dev_id));
454 if ((lpt->sc_flags & LPT_PRIME) && !LPTCTL(dev_id)) {
516 lptclose(dev_t dev_id, int flags, int fmt, struct lwp *l)
518 device_t dev = device_lookup(&lpt_cd, LPTUNIT(dev_id));
537 lptread(dev_t dev_id, struct uio *uio, int ioflag)
541 device_t dev = device_lookup(&lpt_cd, LPTUNIT(dev_id));
579 lptwrite(dev_t dev_id, struct uio * uio, int ioflag)
583 device_t dev = device_lookup(&lpt_cd, LPTUNIT(dev_id));
622 lptioctl(dev_t dev_id, u_long cmd, void *data, int flags, struct lwp *l)
624 device_t dev = device_lookup(&lpt_cd, LPTUNIT(dev_id));