Lines Matching refs:gadget

41 #include <linux/usb/gadget.h>
143 * @bind: Before the gadget can register, all of its functions bind() to the
157 * include host resetting or reconfiguring the gadget, and disconnection.
171 * setting up a gadget driver. Those resources include endpoints, which
261 * struct usb_configuration - represents one gadget configuration
279 * Configurations are building blocks for gadget drivers structured around
353 * struct usb_composite_driver - groups configurations into a gadget
362 * @needs_serial: set to 1 if the gadget needs userspace to provide
410 * module_usb_composite_driver() - Helper macro for registering a USB gadget
414 * Helper macro for USB gadget composite drivers which do not do anything
440 * struct usb_composite_dev - represents one composite usb gadget
441 * @gadget: read-only, abstracts the gadget's usb peripheral controller
456 * built by combining a normal (wired) gadget with a wireless one.
457 * This revision of the gadget framework should probably try to make
462 * (a) a second gadget here, discovery mechanism TBD, but likely
463 * needing separate "register/unregister WUSB gadget" calls;
479 struct usb_gadget *gadget;
501 /* the gadget driver won't enable the data pullup
527 extern void composite_disconnect(struct usb_gadget *gadget);
528 extern void composite_reset(struct usb_gadget *gadget);
530 extern int composite_setup(struct usb_gadget *gadget,
532 extern void composite_suspend(struct usb_gadget *gadget);
533 extern void composite_resume(struct usb_gadget *gadget);
638 dev_dbg(&(d)->gadget->dev , fmt , ## args)
640 dev_vdbg(&(d)->gadget->dev , fmt , ## args)
642 dev_err(&(d)->gadget->dev , fmt , ## args)
644 dev_warn(&(d)->gadget->dev , fmt , ## args)
646 dev_info(&(d)->gadget->dev , fmt , ## args)