最終更新:2024-11-29 (金) 18:13:31 (8d)
usb_composite_driver
Top / usb_composite_driver
groups configurations into a gadget
定義
struct usb_composite_driver { const char *name; const struct usb_device_descriptor *dev; struct usb_gadget_strings **strings; enum usb_device_speed max_speed; unsigned needs_serial:1; int (*bind)(struct usb_composite_dev *cdev); int (*unbind)(struct usb_composite_dev *); void (*disconnect)(struct usb_composite_dev *); /* global suspend hooks */ void (*suspend)(struct usb_composite_dev *); void (*resume)(struct usb_composite_dev *); struct usb_gadget_driver gadget_driver; };
メンバ
- usb_composite_driver.name?
- usb_device_descriptor usb_composite_driver.dev?
- usb_gadget_strings? usb_composite_driver.strings?
- usb_device_speed? usb_composite_driver.max_speed
- usb_composite_driver.needs_serial?
- usb_composite_driver.bind
- usb_composite_driver.unbind?
- usb_composite_driver.disconnect?
- usb_composite_driver.suspend?
- usb_composite_driver.resume?
- usb_gadget_driver usb_composite_driver.gadget_driver?
使われどころ
- usb_composite_driver
- printer_driver?
- msg_driver?
- hidg_driver
- gserial_driver
- audio_driver?
- midi_driver?
- composite?
- acm_ms_driver?
- multi_driver?
- cdc_driver?
- zero_driver
- eth_driver?
- webcam_driver?