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