Home
last modified time | relevance | path

Searched refs:usb_gadget (Results 1 – 25 of 32) sorted by relevance

12

/external/u-boot/include/linux/usb/
Dgadget.h431 struct usb_gadget;
438 int (*get_frame)(struct usb_gadget *);
439 int (*wakeup)(struct usb_gadget *);
440 int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered);
441 int (*vbus_session) (struct usb_gadget *, int is_active);
442 int (*vbus_draw) (struct usb_gadget *, unsigned mA);
443 int (*pullup) (struct usb_gadget *, int is_on);
444 int (*ioctl)(struct usb_gadget *,
446 int (*udc_start)(struct usb_gadget *,
448 int (*udc_stop)(struct usb_gadget *);
[all …]
Dcomposite.h144 ep_choose(struct usb_gadget *g, struct usb_endpoint_descriptor *hs, in ep_choose()
321 struct usb_gadget *gadget;
/external/u-boot/drivers/usb/gadget/udc/
Dudc-core.c37 struct usb_gadget *gadget;
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/
Df_dfu.c50 struct usb_gadget *,
247 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()
[all …]
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()
Dg_dnl.c94 struct usb_gadget *gadget = cdev->gadget; in g_dnl_unbind()
196 struct usb_gadget *gadget = cdev->gadget; in g_dnl_get_bcd_device_number()
221 struct usb_gadget *gadget = cdev->gadget; in g_dnl_bind()
Dcomposite.c216 struct usb_gadget *gadget = cdev->gadget; in config_desc()
248 struct usb_gadget *gadget = cdev->gadget; in count_configs()
308 struct usb_gadget *gadget = cdev->gadget; in set_config()
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()
Dat91_udc.h116 struct usb_gadget gadget;
137 static inline struct at91_udc *to_udc(struct usb_gadget *g) in to_udc()
Dether.c105 struct usb_gadget *gadget;
207 static inline int BITRATE(struct usb_gadget *g) in BITRATE()
220 static inline int BITRATE(struct usb_gadget *g) in BITRATE()
827 ep_desc(struct usb_gadget *g, struct usb_endpoint_descriptor *hs, in ep_desc()
886 config_buf(struct usb_gadget *g, u8 *buf, u8 type, unsigned index, int is_otg) in config_buf()
938 struct usb_gadget *gadget = dev->gadget; in set_ether_config()
1056 struct usb_gadget *gadget = dev->gadget; in eth_set_config()
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()
[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()
785 static int at91_start(struct usb_gadget *gadget,
787 static int at91_stop(struct usb_gadget *gadget);
1314 static int at91_start(struct usb_gadget *gadget, in at91_start()
1326 static int at91_stop(struct usb_gadget *gadget) in at91_stop()
Datmel_usba_udc.h287 struct usb_gadget gadget;
312 static inline struct usba_udc *to_usba_udc(struct usb_gadget *gadget) in to_usba_udc()
Df_fastboot.c110 fb_ep_desc(struct usb_gadget *g, struct usb_endpoint_descriptor *fs, in fb_ep_desc()
151 struct usb_gadget *gadget = c->cdev->gadget; in fastboot_bind()
242 struct usb_gadget *gadget = cdev->gadget; in fastboot_set_alt()
Ddwc2_udc_otg_priv.h77 struct usb_gadget gadget;
Df_thor.h102 struct usb_gadget *gadget;
Dpxa25x_udc.h117 struct usb_gadget gadget;
Df_thor.c360 ep_desc(struct usb_gadget *g, struct usb_endpoint_descriptor *hs, in ep_desc()
635 struct usb_gadget *gadget = dev->gadget; in thor_func_setup()
748 struct usb_gadget *gadget = c->cdev->gadget; in thor_func_bind()
900 struct usb_gadget *gadget = cdev->gadget; in thor_eps_setup()
Dci_udc.h100 struct usb_gadget gadget;
Dgadget_chips.h175 static inline int usb_gadget_controller_number(struct usb_gadget *gadget) in usb_gadget_controller_number()
Df_rockusb.c128 struct usb_gadget *g, in rkusb_ep_desc()
150 struct usb_gadget *gadget = c->cdev->gadget; in rockusb_bind()
245 struct usb_gadget *gadget = cdev->gadget; in rockusb_set_alt()
Dfotg210.c49 struct usb_gadget gadget;
733 static int fotg210_pullup(struct usb_gadget *_gadget, int is_on) in fotg210_pullup()
746 static int fotg210_get_frame(struct usb_gadget *_gadget) in fotg210_get_frame()
Df_sdp.c411 struct usb_gadget *gadget = f->config->cdev->gadget; in sdp_setup()
466 struct usb_gadget *gadget = c->cdev->gadget; in sdp_bind()
/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()
1723 static int musb_gadget_vbus_session(struct usb_gadget *gadget, int is_active)
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()
1774 static int musb_gadget_start(struct usb_gadget *g,
1776 static int musb_gadget_stop(struct usb_gadget *g,
1956 static int musb_gadget_start(struct usb_gadget *g, in musb_gadget_start()
1959 int musb_gadget_start(struct usb_gadget *g, in musb_gadget_start()
[all …]
Dmusb_gadget.h103 int musb_gadget_start(struct usb_gadget *g, struct usb_gadget_driver *driver);
Dmusb_core.h432 struct usb_gadget g; /* the gadget */
455 static inline struct musb *gadget_to_musb(struct usb_gadget *g) in gadget_to_musb()
/external/u-boot/drivers/usb/dwc3/
Dgadget.c1248 static int dwc3_gadget_get_frame(struct usb_gadget *g) in dwc3_gadget_get_frame()
1257 static int dwc3_gadget_wakeup(struct usb_gadget *g) in dwc3_gadget_wakeup()
1337 static int dwc3_gadget_set_selfpowered(struct usb_gadget *g, in dwc3_gadget_set_selfpowered()
1404 static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) in dwc3_gadget_pullup()
1443 static int dwc3_gadget_start(struct usb_gadget *g, in dwc3_gadget_start()
1544 static int dwc3_gadget_stop(struct usb_gadget *g) in dwc3_gadget_stop()

12