Lines Matching defs:gadget

460 static inline void set_gadget_data(struct usb_gadget *gadget, void *data)  in set_gadget_data()
462 static inline void *get_gadget_data(struct usb_gadget *gadget) in get_gadget_data()
468 static inline struct usb_gadget *usb_get_gadget(struct usb_gadget *gadget) in usb_get_gadget()
473 static inline void usb_put_gadget(struct usb_gadget *gadget) in usb_put_gadget()
490 #define gadget_for_each_ep(tmp, gadget) \ argument
622 static inline int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number()
624 static inline int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup()
626 static inline int usb_gadget_set_remote_wakeup(struct usb_gadget *gadget, int set) in usb_gadget_set_remote_wakeup()
628 static inline int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered()
630 static inline int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered()
632 static inline int usb_gadget_vbus_connect(struct usb_gadget *gadget) in usb_gadget_vbus_connect()
634 static inline int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw()
636 static inline int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) in usb_gadget_vbus_disconnect()
638 static inline int usb_gadget_connect(struct usb_gadget *gadget) in usb_gadget_connect()
640 static inline int usb_gadget_disconnect(struct usb_gadget *gadget) in usb_gadget_disconnect()
642 static inline int usb_gadget_deactivate(struct usb_gadget *gadget) in usb_gadget_deactivate()
644 static inline int usb_gadget_activate(struct usb_gadget *gadget) in usb_gadget_activate()
646 static inline int usb_gadget_check_config(struct usb_gadget *gadget) in usb_gadget_check_config()
898 static inline int usb_gadget_map_request(struct usb_gadget *gadget, in usb_gadget_map_request()
903 static inline void usb_gadget_unmap_request(struct usb_gadget *gadget, in usb_gadget_unmap_request()