Lines Matching refs:dev
456 static int ctl_open(struct cdev *dev, int flags, int fmt, struct thread *td);
457 static int ctl_close(struct cdev *dev, int flags, int fmt, struct thread *td);
462 static int ctl_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
1861 error = make_dev_s(&args, &softc->dev, "cam/ctl");
1875 destroy_dev(softc->dev);
1990 destroy_dev(softc->dev);
2044 ctl_open(struct cdev *dev, int flags, int fmt, struct thread *td)
2050 ctl_close(struct cdev *dev, int flags, int fmt, struct thread *td)
2620 ctl_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
2623 struct ctl_softc *softc = dev->si_drv1;
2632 retval = ctl_ioctl_io(dev, cmd, addr, flag, td);
3042 retval = backend->ioctl(dev, cmd, addr, flag, td);
3233 retval = fe->ioctl(dev, cmd, addr, flag, td);
3259 retval = fe->ioctl(dev, cmd, addr, flag, td);
3550 retval = backend->ioctl(dev, cmd, addr, flag, td);
6418 /* Make sure the page is supported for this dev type */
6449 /* Make sure the page is supported for this dev type */
6616 /* Make sure the page is supported for this dev type */