Lines Matching defs:usb_gadget
412 struct usb_gadget { struct
416 const struct usb_gadget_ops *ops; argument
417 struct usb_ep *ep0;
418 struct list_head ep_list; /* of usb_ep */
419 enum usb_device_speed speed;
420 enum usb_device_speed max_speed;
423 enum usb_ssp_rate ssp_rate;
424 enum usb_ssp_rate max_ssp_rate;
426 enum usb_device_state state;
427 const char *name;
428 struct device dev;
429 unsigned isoch_delay;
430 unsigned out_epnum;
431 unsigned in_epnum;
432 unsigned mA;
433 struct usb_otg_caps *otg_caps;
457 #define work_to_gadget(w) (container_of((w), struct usb_gadget, work)) argument