Lines Matching defs:dev

1 /* $FreeBSD: stable/11/sys/dev/usb/usb_dev.c 363665 2020-07-29 14:33:31Z markj $ */
27 * usb_dev.c - An abstraction layer for creating devices under /dev/...
55 #include <dev/usb/usb.h>
56 #include <dev/usb/usb_ioctl.h>
57 #include <dev/usb/usbdi.h>
58 #include <dev/usb/usbdi_util.h>
62 #include <dev/usb/usb_core.h>
63 #include <dev/usb/usb_dev.h>
64 #include <dev/usb/usb_mbuf.h>
65 #include <dev/usb/usb_process.h>
66 #include <dev/usb/usb_device.h>
67 #include <dev/usb/usb_debug.h>
68 #include <dev/usb/usb_busdma.h>
69 #include <dev/usb/usb_generic.h>
70 #include <dev/usb/usb_dynamic.h>
71 #include <dev/usb/usb_util.h>
73 #include <dev/usb/usb_controller.h>
74 #include <dev/usb/usb_bus.h>
88 static SYSCTL_NODE(_hw_usb, OID_AUTO, dev, CTLFLAG_RW, 0, "USB device");
135 /* character device structure used for devices (/dev/ugenX.Y and /dev/uXXX) */
150 /* character device structure used for /dev/usb */
220 DPRINTFN(2, "no dev ref\n");
872 usb_open(struct cdev *dev, int fflags, int devtype, struct thread *td)
874 struct usb_fs_privdata* pd = (struct usb_fs_privdata*)dev->si_drv1;
879 DPRINTFN(2, "%s fflags=0x%08x\n", devtoname(dev), fflags);
983 * Create /dev/usb - this is needed for usbconfig(8), which
1057 usb_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int fflag, struct thread* td)
1250 usb_kqfilter(struct cdev* dev, struct knote *kn)
1300 usb_poll(struct cdev* dev, int events, struct thread* td)
1405 usb_read(struct cdev *dev, struct uio *uio, int ioflag)
1528 usb_write(struct cdev *dev, struct uio *uio, int ioflag)
1669 usb_static_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
1944 f_sc->dev = usb_make_dev(udev, devname, -1,
2011 usb_destroy_dev(f_sc->dev);
2013 f_sc->dev = NULL;