Home
last modified time | relevance | path

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

12345

/Linux-v5.4/include/linux/usb/
Dgadget.h300 struct usb_gadget;
308 int (*get_frame)(struct usb_gadget *);
309 int (*wakeup)(struct usb_gadget *);
310 int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered);
311 int (*vbus_session) (struct usb_gadget *, int is_active);
312 int (*vbus_draw) (struct usb_gadget *, unsigned mA);
313 int (*pullup) (struct usb_gadget *, int is_on);
314 int (*ioctl)(struct usb_gadget *,
316 void (*get_config_params)(struct usb_gadget *,
318 int (*udc_start)(struct usb_gadget *,
[all …]
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()
Dcomposite.h252 int config_ep_by_speed(struct usb_gadget *g, struct usb_function *f,
476 struct usb_gadget *gadget;
524 extern void composite_disconnect(struct usb_gadget *gadget);
525 extern int composite_setup(struct usb_gadget *gadget,
527 extern void composite_suspend(struct usb_gadget *gadget);
528 extern void composite_resume(struct usb_gadget *gadget);
/Linux-v5.4/drivers/usb/gadget/udc/
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 …]
Dcore.c38 struct usb_gadget *gadget;
466 int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number()
491 int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup()
518 int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered()
546 int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered()
577 int usb_gadget_vbus_connect(struct usb_gadget *gadget) in usb_gadget_vbus_connect()
607 int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in usb_gadget_vbus_draw()
638 int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) in usb_gadget_vbus_disconnect()
667 int usb_gadget_connect(struct usb_gadget *gadget) in usb_gadget_connect()
709 int usb_gadget_disconnect(struct usb_gadget *gadget) in usb_gadget_disconnect()
[all …]
Ds3c2410_udc.h16 struct usb_gadget *gadget;
77 struct usb_gadget gadget;
Dat91_udc.h124 struct usb_gadget gadget;
149 static inline struct at91_udc *to_udc(struct usb_gadget *g) in to_udc()
Ds3c2410_udc.c1000 static inline struct s3c2410_udc *to_s3c2410_udc(struct usb_gadget *gadget) in to_s3c2410_udc()
1390 static int s3c2410_udc_get_frame(struct usb_gadget *_gadget) in s3c2410_udc_get_frame()
1404 static int s3c2410_udc_wakeup(struct usb_gadget *_gadget) in s3c2410_udc_wakeup()
1413 static int s3c2410_udc_set_selfpowered(struct usb_gadget *gadget, int value) in s3c2410_udc_set_selfpowered()
1455 static int s3c2410_udc_vbus_session(struct usb_gadget *gadget, int is_active) in s3c2410_udc_vbus_session()
1466 static int s3c2410_udc_pullup(struct usb_gadget *gadget, int is_on) in s3c2410_udc_pullup()
1493 static int s3c2410_vbus_draw(struct usb_gadget *_gadget, unsigned ma) in s3c2410_vbus_draw()
1505 static int s3c2410_udc_start(struct usb_gadget *g,
1507 static int s3c2410_udc_stop(struct usb_gadget *g);
1632 static int s3c2410_udc_start(struct usb_gadget *g, in s3c2410_udc_start()
[all …]
/Linux-v5.4/drivers/usb/gadget/function/
Du_ether.h90 struct eth_dev *gether_setup_name(struct usb_gadget *g,
107 static inline struct eth_dev *gether_setup(struct usb_gadget *g, in gether_setup()
150 void gether_set_gadget(struct net_device *net, struct usb_gadget *g);
254 static inline bool can_support_ecm(struct usb_gadget *gadget) in can_support_ecm()
Du_hid.h36 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_audio.h30 struct usb_gadget *gadget;
Du_uac1_legacy.h46 struct usb_gadget *gadget;
/Linux-v5.4/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()
Dconfig.c165 struct usb_gadget *g = f->config->cdev->gadget; in usb_assign_descriptors()
204 struct usb_gadget *gadget) in usb_otg_descriptor_alloc()
219 int usb_otg_descriptor_init(struct usb_gadget *gadget, in usb_otg_descriptor_init()
Dcomposite.c145 int config_ep_by_speed(struct usb_gadget *g, in config_ep_by_speed()
501 struct usb_gadget *gadget = cdev->gadget; in config_desc()
564 struct usb_gadget *gadget = cdev->gadget; in count_configs()
769 struct usb_gadget *gadget = cdev->gadget; in set_config()
1573 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup()
1984 void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect()
2006 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in suspended_show()
2013 static void __composite_unbind(struct usb_gadget *gadget, bool unbind_driver) in __composite_unbind()
2045 static void composite_unbind(struct usb_gadget *gadget) in composite_unbind()
2091 struct usb_gadget *gadget = cdev->gadget; in composite_dev_prepare()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c271 static int ast_vhub_udc_wakeup(struct usb_gadget* gadget) in ast_vhub_udc_wakeup()
291 static int ast_vhub_udc_get_frame(struct usb_gadget* gadget) in ast_vhub_udc_get_frame()
309 static int ast_vhub_udc_pullup(struct usb_gadget* gadget, int on) in ast_vhub_udc_pullup()
335 static int ast_vhub_udc_start(struct usb_gadget *gadget, in ast_vhub_udc_start()
354 static struct usb_ep *ast_vhub_udc_match_ep(struct usb_gadget *gadget, in ast_vhub_udc_match_ep()
439 static int ast_vhub_udc_stop(struct usb_gadget *gadget) in ast_vhub_udc_stop()
/Linux-v5.4/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c362 static int bdc_udc_start(struct usb_gadget *gadget, in bdc_udc_start()
396 static int bdc_udc_stop(struct usb_gadget *gadget) in bdc_udc_stop()
411 static int bdc_udc_pullup(struct usb_gadget *gadget, int is_on) in bdc_udc_pullup()
446 static int bdc_udc_set_selfpowered(struct usb_gadget *gadget, in bdc_udc_set_selfpowered()
465 static int bdc_udc_wakeup(struct usb_gadget *gadget) in bdc_udc_wakeup()
/Linux-v5.4/tools/usb/usbip/vudc/
Dvudc_server_example.sh48 cd ${CONFIGFS_MOUNT_POINT}/usb_gadget
/Linux-v5.4/drivers/usb/mtu3/
Dmtu3_gadget.c446 static int mtu3_gadget_get_frame(struct usb_gadget *gadget) in mtu3_gadget_get_frame()
453 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()
512 static int mtu3_gadget_start(struct usb_gadget *gadget, in mtu3_gadget_start()
573 static int mtu3_gadget_stop(struct usb_gadget *g) in mtu3_gadget_stop()
/Linux-v5.4/drivers/usb/renesas_usbhs/
Dmod_gadget.c40 struct usb_gadget gadget;
941 static int usbhsg_gadget_start(struct usb_gadget *gadget, in usbhsg_gadget_start()
974 static int usbhsg_gadget_stop(struct usb_gadget *gadget) in usbhsg_gadget_stop()
992 static int usbhsg_get_frame(struct usb_gadget *gadget) in usbhsg_get_frame()
1000 static int usbhsg_pullup(struct usb_gadget *gadget, int is_on) in usbhsg_pullup()
1017 static int usbhsg_set_selfpowered(struct usb_gadget *gadget, int is_self) in usbhsg_set_selfpowered()
1031 static int usbhsg_vbus_session(struct usb_gadget *gadget, int is_active) in usbhsg_vbus_session()
/Linux-v5.4/drivers/usb/isp1760/
Disp1760-udc.h70 struct usb_gadget gadget;

12345