/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
D | core.c | 38 struct usb_gadget *gadget; member 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 …]
|
D | at91_udc.c | 789 static int at91_get_frame(struct usb_gadget *gadget) in at91_get_frame() 798 static int at91_wakeup(struct usb_gadget *gadget) in at91_wakeup() 942 static int at91_vbus_session(struct usb_gadget *gadget, int is_active) in at91_vbus_session() 958 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup() 970 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered() 1552 static int at91_start(struct usb_gadget *gadget, in at91_start() 1566 static int at91_stop(struct usb_gadget *gadget) in at91_stop()
|
D | s3c-hsudc.c | 139 struct usb_gadget gadget; member 171 static inline struct s3c_hsudc *to_hsudc(struct usb_gadget *gadget) in to_hsudc() 1100 static int s3c_hsudc_start(struct usb_gadget *gadget, in s3c_hsudc_start() 1155 static int s3c_hsudc_stop(struct usb_gadget *gadget) in s3c_hsudc_stop() 1191 static int s3c_hsudc_gadget_getframe(struct usb_gadget *gadget) in s3c_hsudc_gadget_getframe() 1196 static int s3c_hsudc_vbus_draw(struct usb_gadget *gadget, unsigned mA) in s3c_hsudc_vbus_draw()
|
D | atmel_usba_udc.c | 989 static int usba_udc_get_frame(struct usb_gadget *gadget) in usba_udc_get_frame() 996 static int usba_udc_wakeup(struct usb_gadget *gadget) in usba_udc_wakeup() 1015 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered() 1036 static struct usb_ep *atmel_usba_match_ep(struct usb_gadget *gadget, in atmel_usba_match_ep() 1965 static int atmel_usba_pullup(struct usb_gadget *gadget, int is_on) in atmel_usba_pullup() 1983 static int atmel_usba_start(struct usb_gadget *gadget, in atmel_usba_start() 2024 static int atmel_usba_stop(struct usb_gadget *gadget) in atmel_usba_stop()
|
D | s3c2410_udc.h | 16 struct usb_gadget *gadget; member 77 struct usb_gadget gadget; member
|
D | mv_udc_core.c | 1110 static int mv_udc_get_frame(struct usb_gadget *gadget) in mv_udc_get_frame() 1126 static int mv_udc_wakeup(struct usb_gadget *gadget) in mv_udc_wakeup() 1145 static int mv_udc_vbus_session(struct usb_gadget *gadget, int is_active) in mv_udc_vbus_session() 1182 static int mv_udc_pullup(struct usb_gadget *gadget, int is_on) in mv_udc_pullup() 1345 static int mv_udc_start(struct usb_gadget *gadget, in mv_udc_start() 1387 static int mv_udc_stop(struct usb_gadget *gadget) in mv_udc_stop()
|
D | omap_udc.c | 1128 static int omap_get_frame(struct usb_gadget *gadget) in omap_get_frame() 1134 static int omap_wakeup(struct usb_gadget *gadget) in omap_wakeup() 1164 omap_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in omap_set_selfpowered() 1244 static int omap_vbus_session(struct usb_gadget *gadget, int is_active) in omap_vbus_session() 1283 static int omap_vbus_draw(struct usb_gadget *gadget, unsigned mA) in omap_vbus_draw() 1293 static int omap_pullup(struct usb_gadget *gadget, int is_on) in omap_pullup()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/ |
D | epautoconf.c | 64 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()
|
D | composite.c | 553 struct usb_gadget *gadget = cdev->gadget; in config_desc() local 616 struct usb_gadget *gadget = cdev->gadget; in count_configs() local 821 struct usb_gadget *gadget = cdev->gadget; in set_config() local 1638 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in composite_setup() 2064 void composite_disconnect(struct usb_gadget *gadget) in composite_disconnect() 2086 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in suspended_show() local 2093 static void __composite_unbind(struct usb_gadget *gadget, bool unbind_driver) in __composite_unbind() 2125 static void composite_unbind(struct usb_gadget *gadget) in composite_unbind() 2171 struct usb_gadget *gadget = cdev->gadget; in composite_dev_prepare() local 2285 static int composite_bind(struct usb_gadget *gadget, in composite_bind() [all …]
|
D | config.c | 216 struct usb_gadget *gadget) in usb_otg_descriptor_alloc() 231 int usb_otg_descriptor_init(struct usb_gadget *gadget, in usb_otg_descriptor_init()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/ |
D | dbgp.c | 27 struct usb_gadget *gadget; member 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()
|
D | raw_gadget.c | 173 struct usb_gadget *gadget; member 278 static int gadget_bind(struct usb_gadget *gadget, in gadget_bind() 322 static void gadget_unbind(struct usb_gadget *gadget) in gadget_unbind() 331 static int gadget_setup(struct usb_gadget *gadget, in gadget_setup() 367 static void gadget_disconnect(struct usb_gadget *gadget) { } in gadget_disconnect() 368 static void gadget_suspend(struct usb_gadget *gadget) { } in gadget_suspend() 369 static void gadget_resume(struct usb_gadget *gadget) { } in gadget_resume() 370 static void gadget_reset(struct usb_gadget *gadget) { } in gadget_reset()
|
D | inode.c | 141 struct usb_gadget *gadget; member 1252 struct usb_gadget *gadget = dev->gadget; in dev_ioctl() local 1331 gadgetfs_setup (struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in gadgetfs_setup() 1637 gadgetfs_unbind (struct usb_gadget *gadget) in gadgetfs_unbind() 1665 static int gadgetfs_bind(struct usb_gadget *gadget, in gadgetfs_bind() 1705 gadgetfs_disconnect (struct usb_gadget *gadget) in gadgetfs_disconnect() 1723 gadgetfs_suspend (struct usb_gadget *gadget) in gadgetfs_suspend()
|
D | ncm.c | 129 struct usb_gadget *gadget = cdev->gadget; in gncm_bind() local
|
D | cdc2.c | 140 struct usb_gadget *gadget = cdev->gadget; in cdc_bind() local
|
/kernel/linux/linux-5.10/include/linux/usb/ |
D | gadget.h | 440 static inline void set_gadget_data(struct usb_gadget *gadget, void *data) in set_gadget_data() 442 static inline void *get_gadget_data(struct usb_gadget *gadget) in get_gadget_data() 448 static inline struct usb_gadget *usb_get_gadget(struct usb_gadget *gadget) in usb_get_gadget() 453 static inline void usb_put_gadget(struct usb_gadget *gadget) in usb_put_gadget() 470 #define gadget_for_each_ep(tmp, gadget) \ argument 600 static inline int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number() 602 static inline int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup() 604 static inline int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered() 606 static inline int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered() 608 static inline int usb_gadget_vbus_connect(struct usb_gadget *gadget) in usb_gadget_vbus_connect() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
D | dev.c | 271 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()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/ |
D | bdc_udc.c | 363 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()
|
/kernel/linux/linux-5.10/drivers/usb/mtu3/ |
D | mtu3_gadget.c | 429 static int mtu3_gadget_get_frame(struct usb_gadget *gadget) in mtu3_gadget_get_frame() 436 static int mtu3_gadget_wakeup(struct usb_gadget *gadget) in mtu3_gadget_wakeup() 461 static int mtu3_gadget_set_self_powered(struct usb_gadget *gadget, in mtu3_gadget_set_self_powered() 470 static int mtu3_gadget_pullup(struct usb_gadget *gadget, int is_on) in mtu3_gadget_pullup() 495 static int mtu3_gadget_start(struct usb_gadget *gadget, in mtu3_gadget_start()
|
/kernel/linux/linux-5.10/drivers/usb/isp1760/ |
D | isp1760-udc.c | 33 static inline struct isp1760_udc *gadget_to_udc(struct usb_gadget *gadget) in gadget_to_udc() 1151 static int isp1760_udc_get_frame(struct usb_gadget *gadget) in isp1760_udc_get_frame() 1158 static int isp1760_udc_wakeup(struct usb_gadget *gadget) in isp1760_udc_wakeup() 1166 static int isp1760_udc_set_selfpowered(struct usb_gadget *gadget, in isp1760_udc_set_selfpowered() 1179 static int isp1760_udc_pullup(struct usb_gadget *gadget, int is_on) in isp1760_udc_pullup() 1189 static int isp1760_udc_start(struct usb_gadget *gadget, in isp1760_udc_start() 1232 static int isp1760_udc_stop(struct usb_gadget *gadget) in isp1760_udc_stop()
|
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
D | mod_gadget.c | 40 struct usb_gadget gadget; member 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()
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | musb_gadget.c | 1508 static int musb_gadget_get_frame(struct usb_gadget *gadget) in musb_gadget_get_frame() 1515 static int musb_gadget_wakeup(struct usb_gadget *gadget) in musb_gadget_wakeup() 1590 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered() 1627 static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in musb_gadget_vbus_draw() 1648 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | f_uac1.c | 440 struct usb_gadget *gadget = cdev->gadget; in f_audio_set_alt() local 485 struct usb_gadget *gadget = cdev->gadget; in f_audio_get_alt() local 550 struct usb_gadget *gadget = cdev->gadget; in f_audio_bind() local
|
D | f_tcm.c | 206 struct usb_gadget *gadget = fuas_to_gadget(fu); in bot_send_read_response() local 248 struct usb_gadget *gadget = fuas_to_gadget(fu); in bot_send_write_request() local 390 struct usb_gadget *gadget = f->config->cdev->gadget; in bot_set_alt() local 514 struct usb_gadget *gadget = fuas_to_gadget(fu); in uasp_prepare_r_request() local 847 struct usb_gadget *gadget = f->config->cdev->gadget; in uasp_set_alt() local 983 struct usb_gadget *gadget = fuas_to_gadget(fu); in usbg_prepare_w_request() local 1997 struct usb_gadget *gadget = c->cdev->gadget; in tcm_bind() local
|
/kernel/linux/linux-5.10/drivers/usb/cdns3/ |
D | gadget.c | 2199 usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, in cdns3_gadget_match_ep() 2786 static int cdns3_gadget_get_frame(struct usb_gadget *gadget) in cdns3_gadget_get_frame() 2808 static int cdns3_gadget_wakeup(struct usb_gadget *gadget) in cdns3_gadget_wakeup() 2820 static int cdns3_gadget_set_selfpowered(struct usb_gadget *gadget, in cdns3_gadget_set_selfpowered() 2832 static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) in cdns3_gadget_pullup() 2896 static int cdns3_gadget_udc_start(struct usb_gadget *gadget, in cdns3_gadget_udc_start() 2941 static int cdns3_gadget_udc_stop(struct usb_gadget *gadget) in cdns3_gadget_udc_stop()
|