Lines Matching defs:dev
105 struct cdev *dev;
231 destroy_dev_sched_cb(softc->dev, sgdevgonecb, periph);
369 error = make_dev_s(&args, &softc->dev, "%s%d",
377 (void)make_dev_alias(softc->dev, "sg%c",
380 (void)make_dev_alias(softc->dev, "sg%c%c",
433 sgopen(struct cdev *dev, int flags, int fmt, struct thread *td)
439 periph = (struct cam_periph *)dev->si_drv1;
469 sgclose(struct cdev *dev, int flag, int fmt, struct thread *td)
475 periph = (struct cam_periph *)dev->si_drv1;
502 sgioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct thread *td)
511 periph = (struct cam_periph *)dev->si_drv1;
676 sgwrite(struct cdev *dev, struct uio *uio, int ioflag)
688 periph = dev->si_drv1;
798 sgread(struct cdev *dev, struct uio *uio, int ioflag)
808 periph = dev->si_drv1;