Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/include/linux/usb/
H A Dgadget.h454 struct usb_gadget;
461 int (*get_frame)(struct usb_gadget *);
462 int (*wakeup)(struct usb_gadget *);
463 int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered);
464 int (*vbus_session) (struct usb_gadget *, int is_active);
465 int (*vbus_draw) (struct usb_gadget *, unsigned mA);
466 int (*pullup) (struct usb_gadget *, int is_on);
467 int (*ioctl)(struct usb_gadget *,
469 int (*udc_start)(struct usb_gadget *,
471 int (*udc_stop)(struct usb_gadget *);
[all …]
H A Dcomposite.h149 ep_choose(struct usb_gadget *g, struct usb_endpoint_descriptor *hs, in ep_choose()
327 struct usb_gadget *gadget;
/rk3399_rockchip-uboot/drivers/usb/gadget/udc/
H A Dudc-core.c39 struct usb_gadget *gadget;
50 int usb_gadget_map_request(struct usb_gadget *gadget, in usb_gadget_map_request()
63 void usb_gadget_unmap_request(struct usb_gadget *gadget, in usb_gadget_unmap_request()
92 void usb_gadget_set_state(struct usb_gadget *gadget, in usb_gadget_set_state()
110 void usb_gadget_udc_reset(struct usb_gadget *gadget, in usb_gadget_udc_reset()
177 int usb_add_gadget_udc_release(struct device *parent, struct usb_gadget *gadget, in usb_add_gadget_udc_release()
218 int usb_add_gadget_udc(struct device *parent, struct usb_gadget *gadget) in usb_add_gadget_udc()
244 void usb_del_gadget_udc(struct usb_gadget *gadget) in usb_del_gadget_udc()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Df_dfu.c51 struct usb_gadget *,
248 static int handle_dnload(struct usb_gadget *gadget, u16 len) in handle_dnload()
266 struct usb_gadget *gadget, in state_app_idle()
293 struct usb_gadget *gadget, in state_app_detach()
316 struct usb_gadget *gadget, in state_dfu_idle()
376 struct usb_gadget *gadget, in state_dfu_dnload_sync()
399 struct usb_gadget *gadget, in state_dfu_dnbusy()
419 struct usb_gadget *gadget, in state_dfu_dnload_idle()
453 struct usb_gadget *gadget, in state_dfu_manifest_sync()
480 struct usb_gadget *gadget, in state_dfu_manifest()
[all …]
H A Depautoconf.c50 struct usb_gadget *gadget, in ep_matches()
177 find_ep(struct usb_gadget *gadget, const char *name) in find_ep()
219 struct usb_gadget *gadget, in usb_ep_autoconfig()
310 void usb_ep_autoconfig_reset(struct usb_gadget *gadget) in usb_ep_autoconfig_reset()
H A Dat91_udc.h117 struct usb_gadget gadget;
138 static inline struct at91_udc *to_udc(struct usb_gadget *g) in to_udc()
H A Dg_dnl.c96 struct usb_gadget *gadget = cdev->gadget; in g_dnl_unbind()
198 struct usb_gadget *gadget = cdev->gadget; in g_dnl_get_bcd_device_number()
223 struct usb_gadget *gadget = cdev->gadget; in g_dnl_bind()
H A Dcomposite.c234 struct usb_gadget *gadget = cdev->gadget; in config_desc()
275 struct usb_gadget *gadget = cdev->gadget; in count_configs()
335 struct usb_gadget *gadget = cdev->gadget; in set_config()
794 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup()
1046 static void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect()
1056 static void composite_unbind(struct usb_gadget *gadget) in composite_unbind()
1103 static int composite_bind(struct usb_gadget *gadget) in composite_bind()
1149 composite_suspend(struct usb_gadget *gadget) in composite_suspend()
1168 composite_resume(struct usb_gadget *gadget) in composite_resume()
H A Ddwc2_udc_otg_priv.h76 struct usb_gadget gadget;
H A Df_thor.h103 struct usb_gadget *gadget;
H A Dether.c105 struct usb_gadget *gadget;
204 static inline int BITRATE(struct usb_gadget *g) in BITRATE()
217 static inline int BITRATE(struct usb_gadget *g) in BITRATE()
824 ep_desc(struct usb_gadget *g, struct usb_endpoint_descriptor *hs, in ep_desc()
883 config_buf(struct usb_gadget *g, u8 *buf, u8 type, unsigned index, int is_otg) in config_buf()
935 struct usb_gadget *gadget = dev->gadget; in set_ether_config()
1053 struct usb_gadget *gadget = dev->gadget; in eth_set_config()
1248 eth_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in eth_setup()
1770 static void eth_unbind(struct usb_gadget *gadget) in eth_unbind()
1805 static void eth_disconnect(struct usb_gadget *gadget) in eth_disconnect()
[all …]
H A Datmel_usba_udc.h288 struct usb_gadget gadget;
313 static inline struct usba_udc *to_usba_udc(struct usb_gadget *gadget) in to_usba_udc()
H A Dpxa25x_udc.h118 struct usb_gadget gadget;
H A 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()
H A Dci_udc.h100 struct usb_gadget gadget;
H A Dgadget_chips.h173 static inline int usb_gadget_controller_number(struct usb_gadget *gadget) in usb_gadget_controller_number()
H A Df_thor.c361 ep_desc(struct usb_gadget *g, struct usb_endpoint_descriptor *hs, in ep_desc()
636 struct usb_gadget *gadget = dev->gadget; in thor_func_setup()
749 struct usb_gadget *gadget = c->cdev->gadget; in thor_func_bind()
901 struct usb_gadget *gadget = cdev->gadget; in thor_eps_setup()
H A Dfotg210.c50 struct usb_gadget gadget;
734 static int fotg210_pullup(struct usb_gadget *_gadget, int is_on) in fotg210_pullup()
747 static int fotg210_get_frame(struct usb_gadget *_gadget) in fotg210_get_frame()
H A Df_sdp.c417 struct usb_gadget *gadget = f->config->cdev->gadget; in sdp_setup()
472 struct usb_gadget *gadget = c->cdev->gadget; in sdp_bind()
H A Dpxa25x_udc.c1009 static int pxa25x_udc_get_frame(struct usb_gadget *_gadget) in pxa25x_udc_get_frame()
1015 static int pxa25x_udc_wakeup(struct usb_gadget *_gadget) in pxa25x_udc_wakeup()
1059 static int pxa25x_udc_vbus_session(struct usb_gadget *_gadget, int is_active) in pxa25x_udc_vbus_session()
1070 static int pxa25x_udc_pullup(struct usb_gadget *_gadget, int is_active) in pxa25x_udc_pullup()
1090 static int pxa25x_udc_vbus_draw(struct usb_gadget *_gadget, unsigned mA) in pxa25x_udc_vbus_draw()
H A Ddwc2_udc_otg.c127 void *get_udc_gadget_private_data(struct usb_gadget *gadget) in get_udc_gadget_private_data()
312 static int dwc2_gadget_start(struct usb_gadget *g, in dwc2_gadget_start()
339 static int dwc2_gadget_stop(struct usb_gadget *g) in dwc2_gadget_stop()
/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_gadget.h104 int musb_gadget_start(struct usb_gadget *g, struct usb_gadget_driver *driver);
H A Dmusb_gadget.c1612 static int musb_gadget_get_frame(struct usb_gadget *gadget) in musb_gadget_get_frame()
1619 static int musb_gadget_wakeup(struct usb_gadget *gadget) in musb_gadget_wakeup()
1698 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered()
1724 static int musb_gadget_vbus_session(struct usb_gadget *gadget, int is_active)
1737 static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in musb_gadget_vbus_draw()
1750 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup()
1775 static int musb_gadget_start(struct usb_gadget *g,
1777 static int musb_gadget_stop(struct usb_gadget *g,
1957 static int musb_gadget_start(struct usb_gadget *g, in musb_gadget_start()
1960 int musb_gadget_start(struct usb_gadget *g, in musb_gadget_start()
[all …]
H A Dmusb_core.h429 struct usb_gadget g; /* the gadget */
452 static inline struct musb *gadget_to_musb(struct usb_gadget *g) in gadget_to_musb()
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Dgadget.c1688 usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, in cdns3_gadget_match_ep()
2224 static int cdns3_gadget_get_frame(struct usb_gadget *gadget) in cdns3_gadget_get_frame()
2246 static int cdns3_gadget_wakeup(struct usb_gadget *gadget) in cdns3_gadget_wakeup()
2258 static int cdns3_gadget_set_selfpowered(struct usb_gadget *gadget, in cdns3_gadget_set_selfpowered()
2270 static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) in cdns3_gadget_pullup()
2331 static int cdns3_gadget_udc_start(struct usb_gadget *gadget, in cdns3_gadget_udc_start()
2350 static int cdns3_gadget_udc_stop(struct usb_gadget *gadget) in cdns3_gadget_udc_stop()
2381 static void cdns3_gadget_udc_set_speed(struct usb_gadget *gadget, in cdns3_gadget_udc_set_speed()

12