Lines Matching defs:driver

92 /* This structure describes the internal state of the driver */
129 /* The internal version of the class driver */
147 /* Device driver structure definition */
208 static int cdcacm_bind(FAR struct usbdevclass_driver_s *driver,
210 static int cdcacm_unbind(FAR struct usbdevclass_driver_s *driver,
212 static int cdcacm_setup(FAR struct usbdevclass_driver_s *driver,
218 static void cdcacm_disconnect(FAR struct usbdevclass_driver_s *driver,
1033 * Invoked when the driver is bound to a USB device driver
1037 static int cdcacm_bind(FAR struct usbdevclass_driver_s *driver,
1049 if (driver == NULL || dev == NULL)
1055 priv = ((struct cdcacm_driver_s *)driver)->dev;
1073 /* Register a character driver inode the pseudo file system */
1224 (void)cdcacm_unbind(driver, dev);
1232 * Invoked when the driver is unbound from a USB device driver
1236 static int cdcacm_unbind(FAR struct usbdevclass_driver_s *driver,
1244 if (driver == NULL || dev == NULL)
1252 priv = ((FAR struct cdcacm_driver_s *)driver)->dev;
1260 cdcacm_disconnect(driver, dev);
1314 /* Unregister driver */
1370 static int cdcacm_setup(FAR struct usbdevclass_driver_s *driver,
1385 if (driver == NULL || dev == NULL || ctrl == NULL)
1392 priv = ((struct cdcacm_driver_s *)driver)->dev;
1733 static void cdcacm_disconnect(FAR struct usbdevclass_driver_s *driver,
1739 if (driver == NULL)
1741 usb_err("driver pointer is NULL!\r\n");
1745 priv = ((FAR struct cdcacm_driver_s *)driver)->dev;
1815 /* Initialize the USB serial driver structure */
1827 /* Initialize the USB class driver structure */
1841 * Un-initialize the USB storage class driver. This function is used
1842 * internally by the USB composite driver to uninitialize the CDC/ACM
1843 * driver. This same interface is available (with an untyped input
1844 * parameter) when the CDC/ACM driver is used standalone.
1848 * CDC/ACM driver is an internal part of a composite device, or a standalone
1849 * USB driver:
1927 /* Ask the serial driver to fill in the constants we didn't