Lines Matching refs:driver
71 /* Configure endpoint, making it usable. The class driver may deallocate or re-use
152 * bound to the USB driver, and (2) after a USB reset.
164 /* Invoked when the driver is bound to a USB device driver. */
168 /* Invoked when the driver is unbound from a USB device driver */
316 void *priv; /* For use by class driver */
368 int (*bind)(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
369 int (*unbind)(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
370 int (*setup)(struct usbdevclass_driver_s *driver, struct usbdev_s *dev,
372 void (*disconnect)(struct usbdevclass_driver_s *driver,
374 void (*suspend)(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
375 void (*resume)(struct usbdevclass_driver_s *driver, struct usbdev_s *dev);
381 uint8_t speed; /* Highest speed that the driver handles */
405 * Register a USB device class driver. The class driver's bind() method will be
406 * called to bind it to a USB device driver.
410 int usbdev_register(struct usbdevclass_driver_s *driver);
416 * Un-register usbdev class driver.If the USB device is connected to a USB host,
417 * it will first disconnect(). The driver is also requested to unbind() and clean
422 int usbdev_unregister(struct usbdevclass_driver_s *driver);
428 * The USB class driver allocates packet I/O buffers for data transfer by
429 * calling the driver allocbuffer() and freebuffer() methods. Those
434 * then the driver implementations of the allocbuffer() and freebuffer()