Lines Matching defs:gadget

55 	struct usb_gadget		*gadget;  member
485 int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number()
510 int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup()
537 int usb_gadget_set_remote_wakeup(struct usb_gadget *gadget, int set) in usb_gadget_set_remote_wakeup()
564 int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered()
592 int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered()
623 int usb_gadget_vbus_connect(struct usb_gadget *gadget) in usb_gadget_vbus_connect()
653 int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw()
684 int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) in usb_gadget_vbus_disconnect()
702 static int usb_gadget_connect_locked(struct usb_gadget *gadget) in usb_gadget_connect_locked()
743 int usb_gadget_connect(struct usb_gadget *gadget) in usb_gadget_connect()
755 static int usb_gadget_disconnect_locked(struct usb_gadget *gadget) in usb_gadget_disconnect_locked()
805 int usb_gadget_disconnect(struct usb_gadget *gadget) in usb_gadget_disconnect()
831 int usb_gadget_deactivate(struct usb_gadget *gadget) in usb_gadget_deactivate()
871 int usb_gadget_activate(struct usb_gadget *gadget) in usb_gadget_activate()
941 int usb_gadget_map_request(struct usb_gadget *gadget, in usb_gadget_map_request()
967 void usb_gadget_unmap_request(struct usb_gadget *gadget, in usb_gadget_unmap_request()
1021 int usb_gadget_ep_match_desc(struct usb_gadget *gadget, in usb_gadget_ep_match_desc()
1099 int usb_gadget_check_config(struct usb_gadget *gadget) in usb_gadget_check_config()
1111 struct usb_gadget *gadget = work_to_gadget(work); in usb_gadget_state_work() local
1118 void usb_gadget_set_state(struct usb_gadget *gadget, in usb_gadget_set_state()
1163 void usb_udc_vbus_handler(struct usb_gadget *gadget, bool status) in usb_udc_vbus_handler()
1183 void usb_gadget_udc_reset(struct usb_gadget *gadget, in usb_gadget_udc_reset()
1261 struct usb_gadget *gadget = udc->gadget; in usb_gadget_udc_set_speed() local
1287 struct usb_gadget *gadget = udc->gadget; in usb_gadget_enable_async_callbacks() local
1316 struct usb_gadget *gadget = udc->gadget; in usb_gadget_disable_async_callbacks() local
1352 void usb_initialize_gadget(struct device *parent, struct usb_gadget *gadget, in usb_initialize_gadget()
1375 int usb_add_gadget(struct usb_gadget *gadget) in usb_add_gadget()
1454 int usb_add_gadget_udc_release(struct device *parent, struct usb_gadget *gadget, in usb_add_gadget_udc_release()
1505 int usb_add_gadget_udc(struct device *parent, struct usb_gadget *gadget) in usb_add_gadget_udc()
1518 void usb_del_gadget(struct usb_gadget *gadget) in usb_del_gadget()
1546 void usb_del_gadget_udc(struct usb_gadget *gadget) in usb_del_gadget_udc()
1557 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in gadget_match_driver() local
1577 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in gadget_bind_driver() local
1632 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in gadget_unbind_driver() local
1765 struct usb_gadget *gadget = udc->gadget; in state_show() local