Home
last modified time | relevance | path

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

123456

/Linux-v6.6/include/linux/usb/
Dgadget.h303 struct usb_gadget;
311 int (*get_frame)(struct usb_gadget *);
312 int (*wakeup)(struct usb_gadget *);
313 int (*func_wakeup)(struct usb_gadget *gadget, int intf_id);
314 int (*set_remote_wakeup)(struct usb_gadget *, int set);
315 int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered);
316 int (*vbus_session) (struct usb_gadget *, int is_active);
317 int (*vbus_draw) (struct usb_gadget *, unsigned mA);
318 int (*pullup) (struct usb_gadget *, int is_on);
319 int (*ioctl)(struct usb_gadget *,
[all …]
Dcomposite.h244 int config_ep_by_speed_and_alt(struct usb_gadget *g, struct usb_function *f,
247 int config_ep_by_speed(struct usb_gadget *g, struct usb_function *f,
422 void check_remote_wakeup_config(struct usb_gadget *g,
455 struct usb_gadget *gadget;
510 extern void composite_disconnect(struct usb_gadget *gadget);
511 extern void composite_reset(struct usb_gadget *gadget);
513 extern int composite_setup(struct usb_gadget *gadget,
515 extern void composite_suspend(struct usb_gadget *gadget);
516 extern void composite_resume(struct usb_gadget *gadget);
Dotg.h23 struct usb_gadget *gadget;
32 struct usb_gadget *gadget);
96 otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph) in otg_set_peripheral()
/Linux-v6.6/drivers/usb/gadget/udc/
Dcore.c55 struct usb_gadget *gadget;
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()
[all …]
Dtrace.h21 TP_PROTO(struct usb_gadget *g, int ret),
85 TP_PROTO(struct usb_gadget *g, int ret),
90 TP_PROTO(struct usb_gadget *g, int ret),
95 TP_PROTO(struct usb_gadget *g, int ret),
100 TP_PROTO(struct usb_gadget *g, int ret),
105 TP_PROTO(struct usb_gadget *g, int ret),
110 TP_PROTO(struct usb_gadget *g, int ret),
115 TP_PROTO(struct usb_gadget *g, int ret),
120 TP_PROTO(struct usb_gadget *g, int ret),
125 TP_PROTO(struct usb_gadget *g, int ret),
[all …]
Dat91_udc.h122 struct usb_gadget gadget;
147 static inline struct at91_udc *to_udc(struct usb_gadget *g) in to_udc()
Ddummy_hcd.c85 struct usb_gadget *gadget;
269 struct usb_gadget gadget;
310 static inline struct dummy_hcd *gadget_to_dummy_hcd(struct usb_gadget *gadget) in gadget_to_dummy_hcd()
843 static int dummy_g_get_frame(struct usb_gadget *_gadget) in dummy_g_get_frame()
851 static int dummy_wakeup(struct usb_gadget *_gadget) in dummy_wakeup()
874 static int dummy_set_selfpowered(struct usb_gadget *_gadget, int value) in dummy_set_selfpowered()
895 static int dummy_pullup(struct usb_gadget *_gadget, int value) in dummy_pullup()
928 static void dummy_udc_set_speed(struct usb_gadget *_gadget, in dummy_udc_set_speed()
938 static void dummy_udc_async_callbacks(struct usb_gadget *_gadget, bool enable) in dummy_udc_async_callbacks()
947 static int dummy_udc_start(struct usb_gadget *g,
[all …]
/Linux-v6.6/drivers/usb/gadget/function/
Du_ether.h91 struct eth_dev *gether_setup_name(struct usb_gadget *g,
108 static inline struct eth_dev *gether_setup(struct usb_gadget *g, in gether_setup()
151 void gether_set_gadget(struct net_device *net, struct usb_gadget *g);
270 static inline bool can_support_ecm(struct usb_gadget *gadget) in can_support_ecm()
283 static inline unsigned int gether_bitrate(struct usb_gadget *g) in gether_bitrate()
Du_hid.h37 int ghid_setup(struct usb_gadget *g, int count);
Du_phonet.h21 void gphonet_set_gadget(struct net_device *net, struct usb_gadget *g);
Du_ether.c62 struct usb_gadget *gadget;
97 static inline int qlen(struct usb_gadget *gadget, unsigned qmult) in qlen()
145 struct usb_gadget *g = dev->gadget; in rx_submit()
444 struct usb_gadget *gadget = func->config->cdev->gadget; in ether_wakeup_host()
739 struct eth_dev *gether_setup_name(struct usb_gadget *g, in gether_setup_name()
860 struct usb_gadget *g; in gether_register_netdev()
889 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget()
Du_uac1_legacy.h46 struct usb_gadget *gadget;
/Linux-v6.6/drivers/usb/gadget/
Depautoconf.c64 struct usb_gadget *gadget, in usb_ep_autoconfig_ss()
150 struct usb_gadget *gadget, in usb_ep_autoconfig()
203 void usb_ep_autoconfig_reset (struct usb_gadget *gadget) in usb_ep_autoconfig_reset()
Dcomposite.c151 int config_ep_by_speed_and_alt(struct usb_gadget *g, in config_ep_by_speed_and_alt()
288 int config_ep_by_speed(struct usb_gadget *g, in config_ep_by_speed()
505 struct usb_gadget *gadget = func->config->cdev->gadget; in usb_func_wakeup()
550 void check_remote_wakeup_config(struct usb_gadget *g, in check_remote_wakeup_config()
616 struct usb_gadget *gadget = cdev->gadget; in config_desc()
679 struct usb_gadget *gadget = cdev->gadget; in count_configs()
950 struct usb_gadget *gadget = cdev->gadget; in set_config()
1777 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup()
2297 static void __composite_disconnect(struct usb_gadget *gadget) in __composite_disconnect()
2314 void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect()
[all …]
Dconfig.c214 struct usb_gadget *gadget) in usb_otg_descriptor_alloc()
229 int usb_otg_descriptor_init(struct usb_gadget *gadget, in usb_otg_descriptor_init()
/Linux-v6.6/drivers/usb/usbip/
Dvudc.h31 struct usb_gadget *gadget;
87 struct usb_gadget gadget;
134 struct usb_gadget *_gadget) in usb_gadget_to_vudc()
Dvudc_dev.c126 static int vgadget_get_frame(struct usb_gadget *_gadget) in vgadget_get_frame()
137 static int vgadget_set_selfpowered(struct usb_gadget *_gadget, int value) in vgadget_set_selfpowered()
148 static int vgadget_pullup(struct usb_gadget *_gadget, int value) in vgadget_pullup()
193 static int vgadget_udc_start(struct usb_gadget *g, in vgadget_udc_start()
207 static int vgadget_udc_stop(struct usb_gadget *g) in vgadget_udc_stop()
/Linux-v6.6/drivers/usb/gadget/legacy/
Ddbgp.c27 struct usb_gadget *gadget;
209 static void dbgp_disconnect(struct usb_gadget *gadget) in dbgp_disconnect()
218 static void dbgp_unbind(struct usb_gadget *gadget) in dbgp_unbind()
235 static int dbgp_configure_endpoints(struct usb_gadget *gadget) in dbgp_configure_endpoints()
277 static int dbgp_bind(struct usb_gadget *gadget, in dbgp_bind()
337 static int dbgp_setup(struct usb_gadget *gadget, in dbgp_setup()
/Linux-v6.6/drivers/usb/mtu3/
Dmtu3_gadget.c428 static int mtu3_gadget_get_frame(struct usb_gadget *gadget) in mtu3_gadget_get_frame()
442 static int mtu3_gadget_wakeup(struct usb_gadget *gadget) in mtu3_gadget_wakeup()
478 static int mtu3_gadget_set_self_powered(struct usb_gadget *gadget, in mtu3_gadget_set_self_powered()
487 static int mtu3_gadget_pullup(struct usb_gadget *gadget, int is_on) in mtu3_gadget_pullup()
515 static int mtu3_gadget_start(struct usb_gadget *gadget, in mtu3_gadget_start()
578 static int mtu3_gadget_stop(struct usb_gadget *g) in mtu3_gadget_stop()
600 mtu3_gadget_set_speed(struct usb_gadget *g, enum usb_device_speed speed) in mtu3_gadget_set_speed()
612 static void mtu3_gadget_async_callbacks(struct usb_gadget *g, bool enable) in mtu3_gadget_async_callbacks()
/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c276 static int ast_vhub_udc_wakeup(struct usb_gadget* gadget) in ast_vhub_udc_wakeup()
296 static int ast_vhub_udc_get_frame(struct usb_gadget* gadget) in ast_vhub_udc_get_frame()
314 static int ast_vhub_udc_pullup(struct usb_gadget* gadget, int on) in ast_vhub_udc_pullup()
340 static int ast_vhub_udc_start(struct usb_gadget *gadget, in ast_vhub_udc_start()
359 static struct usb_ep *ast_vhub_udc_match_ep(struct usb_gadget *gadget, in ast_vhub_udc_match_ep()
444 static int ast_vhub_udc_stop(struct usb_gadget *gadget) in ast_vhub_udc_stop()
/Linux-v6.6/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c363 static int bdc_udc_start(struct usb_gadget *gadget, in bdc_udc_start()
397 static int bdc_udc_stop(struct usb_gadget *gadget) in bdc_udc_stop()
412 static int bdc_udc_pullup(struct usb_gadget *gadget, int is_on) in bdc_udc_pullup()
447 static int bdc_udc_set_selfpowered(struct usb_gadget *gadget, in bdc_udc_set_selfpowered()
466 static int bdc_udc_wakeup(struct usb_gadget *gadget) in bdc_udc_wakeup()
/Linux-v6.6/tools/usb/usbip/vudc/
Dvudc_server_example.sh48 cd ${CONFIGFS_MOUNT_POINT}/usb_gadget
/Linux-v6.6/drivers/usb/renesas_usbhs/
Dmod_gadget.c40 struct usb_gadget gadget;
947 static int usbhsg_gadget_start(struct usb_gadget *gadget, in usbhsg_gadget_start()
980 static int usbhsg_gadget_stop(struct usb_gadget *gadget) in usbhsg_gadget_stop()
998 static int usbhsg_get_frame(struct usb_gadget *gadget) in usbhsg_get_frame()
1006 static int usbhsg_pullup(struct usb_gadget *gadget, int is_on) in usbhsg_pullup()
1023 static int usbhsg_set_selfpowered(struct usb_gadget *gadget, int is_self) in usbhsg_set_selfpowered()
1037 static int usbhsg_vbus_session(struct usb_gadget *gadget, int is_active) in usbhsg_vbus_session()
/Linux-v6.6/drivers/usb/chipidea/
Dudc.c833 static int _gadget_stop_activity(struct usb_gadget *gadget) in _gadget_stop_activity()
1658 static int ci_udc_get_frame(struct usb_gadget *_gadget) in ci_udc_get_frame()
1673 static void ci_hdrc_gadget_connect(struct usb_gadget *_gadget, int is_active) in ci_hdrc_gadget_connect()
1703 static int ci_udc_vbus_session(struct usb_gadget *_gadget, int is_active) in ci_udc_vbus_session()
1734 static int ci_udc_wakeup(struct usb_gadget *_gadget) in ci_udc_wakeup()
1759 static int ci_udc_vbus_draw(struct usb_gadget *_gadget, unsigned ma) in ci_udc_vbus_draw()
1768 static int ci_udc_selfpowered(struct usb_gadget *_gadget, int is_on) in ci_udc_selfpowered()
1784 static int ci_udc_pullup(struct usb_gadget *_gadget, int is_on) in ci_udc_pullup()
1805 static int ci_udc_start(struct usb_gadget *gadget,
1807 static int ci_udc_stop(struct usb_gadget *gadget);
[all …]
/Linux-v6.6/drivers/usb/isp1760/
Disp1760-udc.h75 struct usb_gadget gadget;

123456