Home
last modified time | relevance | path

Searched defs:gadget (Results 1 – 25 of 28) sorted by relevance

12

/external/u-boot/drivers/usb/gadget/udc/
Dudc-core.c37 struct usb_gadget *gadget; member
48 int usb_gadget_map_request(struct usb_gadget *gadget, in usb_gadget_map_request()
61 void usb_gadget_unmap_request(struct usb_gadget *gadget, in usb_gadget_unmap_request()
90 void usb_gadget_set_state(struct usb_gadget *gadget, in usb_gadget_set_state()
108 void usb_gadget_udc_reset(struct usb_gadget *gadget, in usb_gadget_udc_reset()
175 int usb_add_gadget_udc_release(struct device *parent, struct usb_gadget *gadget, in usb_add_gadget_udc_release()
216 int usb_add_gadget_udc(struct device *parent, struct usb_gadget *gadget) in usb_add_gadget_udc()
242 void usb_del_gadget_udc(struct usb_gadget *gadget) in usb_del_gadget_udc()
/external/u-boot/drivers/usb/gadget/
Depautoconf.c47 struct usb_gadget *gadget, in ep_matches()
174 find_ep(struct usb_gadget *gadget, const char *name) in find_ep()
216 struct usb_gadget *gadget, in usb_ep_autoconfig()
304 void usb_ep_autoconfig_reset(struct usb_gadget *gadget) in usb_ep_autoconfig_reset()
Df_dfu.c247 static int handle_dnload(struct usb_gadget *gadget, u16 len) in handle_dnload()
265 struct usb_gadget *gadget, in state_app_idle()
292 struct usb_gadget *gadget, in state_app_detach()
315 struct usb_gadget *gadget, in state_dfu_idle()
375 struct usb_gadget *gadget, in state_dfu_dnload_sync()
398 struct usb_gadget *gadget, in state_dfu_dnbusy()
418 struct usb_gadget *gadget, in state_dfu_dnload_idle()
452 struct usb_gadget *gadget, in state_dfu_manifest_sync()
479 struct usb_gadget *gadget, in state_dfu_manifest()
505 struct usb_gadget *gadget, in state_dfu_upload_idle()
[all …]
Dcomposite.c216 struct usb_gadget *gadget = cdev->gadget; in config_desc() local
248 struct usb_gadget *gadget = cdev->gadget; in count_configs() local
308 struct usb_gadget *gadget = cdev->gadget; in set_config() local
699 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup()
911 static void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect()
921 static void composite_unbind(struct usb_gadget *gadget) in composite_unbind()
968 static int composite_bind(struct usb_gadget *gadget) in composite_bind()
1014 composite_suspend(struct usb_gadget *gadget) in composite_suspend()
1033 composite_resume(struct usb_gadget *gadget) in composite_resume()
Dg_dnl.c94 struct usb_gadget *gadget = cdev->gadget; in g_dnl_unbind() local
196 struct usb_gadget *gadget = cdev->gadget; in g_dnl_get_bcd_device_number() local
221 struct usb_gadget *gadget = cdev->gadget; in g_dnl_bind() local
Dether.c105 struct usb_gadget *gadget; member
204 #define qlen(gadget) \ argument
218 #define qlen(gadget) DEFAULT_QLEN argument
938 struct usb_gadget *gadget = dev->gadget; in set_ether_config() local
1056 struct usb_gadget *gadget = dev->gadget; in eth_set_config() local
1251 eth_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in eth_setup()
1773 static void eth_unbind(struct usb_gadget *gadget) in eth_unbind()
1808 static void eth_disconnect(struct usb_gadget *gadget) in eth_disconnect()
1814 static void eth_suspend(struct usb_gadget *gadget) in eth_suspend()
1819 static void eth_resume(struct usb_gadget *gadget) in eth_resume()
[all …]
Dat91_udc.c598 static int at91_get_frame(struct usb_gadget *gadget) in at91_get_frame()
607 static int at91_wakeup(struct usb_gadget *gadget) in at91_wakeup()
746 static int at91_vbus_session(struct usb_gadget *gadget, int is_active) in at91_vbus_session()
762 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup()
774 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered()
1314 static int at91_start(struct usb_gadget *gadget, in at91_start()
1326 static int at91_stop(struct usb_gadget *gadget) in at91_stop()
Df_thor.c635 struct usb_gadget *gadget = dev->gadget; in thor_func_setup() local
748 struct usb_gadget *gadget = c->cdev->gadget; in thor_func_bind() local
900 struct usb_gadget *gadget = cdev->gadget; in thor_eps_setup() local
Df_fastboot.c151 struct usb_gadget *gadget = c->cdev->gadget; in fastboot_bind() local
242 struct usb_gadget *gadget = cdev->gadget; in fastboot_set_alt() local
Datmel_usba_udc.c472 static int usba_udc_get_frame(struct usb_gadget *gadget) in usba_udc_get_frame()
479 static int usba_udc_wakeup(struct usb_gadget *gadget) in usba_udc_wakeup()
498 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered()
Df_rockusb.c150 struct usb_gadget *gadget = c->cdev->gadget; in rockusb_bind() local
245 struct usb_gadget *gadget = cdev->gadget; in rockusb_set_alt() local
Df_sdp.c411 struct usb_gadget *gadget = f->config->cdev->gadget; in sdp_setup() local
466 struct usb_gadget *gadget = c->cdev->gadget; in sdp_bind() local
Ddwc2_udc_otg_priv.h77 struct usb_gadget gadget; member
Dgadget_chips.h175 static inline int usb_gadget_controller_number(struct usb_gadget *gadget) in usb_gadget_controller_number()
Df_mass_storage.c292 struct usb_gadget *gadget; member
371 struct usb_gadget *gadget; /* Copy of cdev->gadget */ member
2435 struct usb_gadget *gadget = cdev->gadget; in fsg_common_init() local
2651 struct usb_gadget *gadget = c->cdev->gadget; in fsg_bind() local
Df_thor.h102 struct usb_gadget *gadget; member
Dpxa25x_udc.h117 struct usb_gadget gadget; member
Ddwc2_udc_otg.c119 void *get_udc_gadget_private_data(struct usb_gadget *gadget) in get_udc_gadget_private_data()
Datmel_usba_udc.h287 struct usb_gadget gadget; member
312 static inline struct usba_udc *to_usba_udc(struct usb_gadget *gadget) in to_usba_udc()
Dat91_udc.h116 struct usb_gadget gadget; member
Dfotg210.c49 struct usb_gadget gadget; member
/external/u-boot/include/linux/usb/
Dgadget.h516 static inline void set_gadget_data(struct usb_gadget *gadget, void *data) in set_gadget_data()
521 static inline void *get_gadget_data(struct usb_gadget *gadget) in get_gadget_data()
532 #define gadget_for_each_ep(tmp, gadget) \ argument
575 static inline int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number()
593 static inline int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup()
609 static inline int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered()
626 static inline int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered()
645 static inline int usb_gadget_vbus_connect(struct usb_gadget *gadget) in usb_gadget_vbus_connect()
664 static inline int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw()
681 static inline int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) in usb_gadget_vbus_disconnect()
[all …]
Dcomposite.h321 struct usb_gadget *gadget; member
/external/u-boot/drivers/usb/musb-new/
Dmusb_gadget.c1611 static int musb_gadget_get_frame(struct usb_gadget *gadget) in musb_gadget_get_frame()
1618 static int musb_gadget_wakeup(struct usb_gadget *gadget) in musb_gadget_wakeup()
1697 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered()
1736 static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in musb_gadget_vbus_draw()
1749 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup()
Dmusb_uboot.c371 static struct musb *gadget; variable

12