Lines Matching refs:gadget
81 * a single gadget (as opposed to single
118 * MSF includes support for module parameters. If gadget using it
138 * to consult gadget's documentation or source to verify whether it is
159 * "lun_name_format" option!) subdirectory of the gadget's sysfs
210 * In normal operation the main thread is started during the gadget's
213 * the gadget running when the thread is dead. At of this moment, MSF
214 * provides no way to deregister the gadget when thread dies -- maybe
294 #include <linux/usb/gadget.h>
344 struct usb_gadget *gadget;
354 struct usb_ep *ep0; /* Copy of gadget->ep0 */
432 struct usb_gadget *gadget; /* Copy of cdev->gadget */
2356 d = fsg_ep_desc(common->gadget,
2363 d = fsg_ep_desc(common->gadget,
2666 struct usb_gadget *gadget = cdev->gadget;
2676 dev_err(&gadget->dev, "invalid number of LUNs: %u\n", nluns);
2694 common->gadget = gadget;
2695 common->ep0 = gadget->ep0;
2723 curlun->dev.parent = &gadget->dev;
2779 i = usb_gadget_controller_number(gadget);
2784 gadget->name);
2804 !(gadget_is_at91(common->gadget));
2934 struct usb_gadget *gadget = c->cdev->gadget;
2938 fsg->gadget = gadget;
2948 ep = usb_ep_autoconfig(gadget, &fsg_fs_bulk_in_desc);
2954 ep = usb_ep_autoconfig(gadget, &fsg_fs_bulk_out_desc);
2965 if (gadget_is_dualspeed(gadget)) {