/linux-6.6.21/drivers/usb/gadget/udc/ |
D | core.c | 55 struct usb_gadget *gadget; member 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 …]
|
D | at91_udc.c | 791 static int at91_get_frame(struct usb_gadget *gadget) in at91_get_frame() 800 static int at91_wakeup(struct usb_gadget *gadget) in at91_wakeup() 944 static int at91_vbus_session(struct usb_gadget *gadget, int is_active) in at91_vbus_session() 960 static int at91_pullup(struct usb_gadget *gadget, int is_on) in at91_pullup() 972 static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) in at91_set_selfpowered() 1553 static int at91_start(struct usb_gadget *gadget, in at91_start() 1567 static int at91_stop(struct usb_gadget *gadget) in at91_stop()
|
D | atmel_usba_udc.c | 992 static int usba_udc_get_frame(struct usb_gadget *gadget) in usba_udc_get_frame() 999 static int usba_udc_wakeup(struct usb_gadget *gadget) in usba_udc_wakeup() 1018 usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in usba_udc_set_selfpowered() 1039 static struct usb_ep *atmel_usba_match_ep(struct usb_gadget *gadget, in atmel_usba_match_ep() 1968 static int atmel_usba_pullup(struct usb_gadget *gadget, int is_on) in atmel_usba_pullup() 1986 static int atmel_usba_start(struct usb_gadget *gadget, in atmel_usba_start() 2027 static int atmel_usba_stop(struct usb_gadget *gadget) in atmel_usba_stop()
|
D | mv_udc_core.c | 1112 static int mv_udc_get_frame(struct usb_gadget *gadget) in mv_udc_get_frame() 1128 static int mv_udc_wakeup(struct usb_gadget *gadget) in mv_udc_wakeup() 1147 static int mv_udc_vbus_session(struct usb_gadget *gadget, int is_active) in mv_udc_vbus_session() 1184 static int mv_udc_pullup(struct usb_gadget *gadget, int is_on) in mv_udc_pullup() 1347 static int mv_udc_start(struct usb_gadget *gadget, in mv_udc_start() 1388 static int mv_udc_stop(struct usb_gadget *gadget) in mv_udc_stop()
|
D | omap_udc.c | 1133 static int omap_get_frame(struct usb_gadget *gadget) in omap_get_frame() 1139 static int omap_wakeup(struct usb_gadget *gadget) in omap_wakeup() 1169 omap_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) in omap_set_selfpowered() 1249 static int omap_vbus_session(struct usb_gadget *gadget, int is_active) in omap_vbus_session() 1288 static int omap_vbus_draw(struct usb_gadget *gadget, unsigned mA) in omap_vbus_draw() 1298 static int omap_pullup(struct usb_gadget *gadget, int is_on) in omap_pullup()
|
D | udc-xilinx.c | 178 struct usb_gadget gadget; member 1218 static int xudc_get_frame(struct usb_gadget *gadget) in xudc_get_frame() 1237 static int xudc_wakeup(struct usb_gadget *gadget) in xudc_wakeup() 1277 static int xudc_pullup(struct usb_gadget *gadget, int is_on) in xudc_pullup() 1374 static int xudc_start(struct usb_gadget *gadget, in xudc_start() 1413 static int xudc_stop(struct usb_gadget *gadget) in xudc_stop()
|
D | aspeed_udc.c | 214 struct usb_gadget gadget; member 1212 static int ast_udc_gadget_getframe(struct usb_gadget *gadget) in ast_udc_gadget_getframe() 1245 static int ast_udc_wakeup(struct usb_gadget *gadget) in ast_udc_wakeup() 1270 static int ast_udc_pullup(struct usb_gadget *gadget, int is_on) in ast_udc_pullup() 1291 static int ast_udc_start(struct usb_gadget *gadget, in ast_udc_start() 1315 static int ast_udc_stop(struct usb_gadget *gadget) in ast_udc_stop()
|
/linux-6.6.21/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 | 174 struct usb_gadget *gadget; member 279 static int gadget_bind(struct usb_gadget *gadget, in gadget_bind() 325 static void gadget_unbind(struct usb_gadget *gadget) in gadget_unbind() 334 static int gadget_setup(struct usb_gadget *gadget, in gadget_setup() 370 static void gadget_disconnect(struct usb_gadget *gadget) { } in gadget_disconnect() 371 static void gadget_suspend(struct usb_gadget *gadget) { } in gadget_suspend() 372 static void gadget_resume(struct usb_gadget *gadget) { } in gadget_resume() 373 static void gadget_reset(struct usb_gadget *gadget) { } in gadget_reset()
|
D | inode.c | 141 struct usb_gadget *gadget; member 1250 struct usb_gadget *gadget = dev->gadget; in gadget_dev_ioctl() local 1329 gadgetfs_setup (struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) in gadgetfs_setup() 1635 gadgetfs_unbind (struct usb_gadget *gadget) in gadgetfs_unbind() 1663 static int gadgetfs_bind(struct usb_gadget *gadget, in gadgetfs_bind() 1703 gadgetfs_disconnect (struct usb_gadget *gadget) in gadgetfs_disconnect() 1721 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
|
/linux-6.6.21/include/linux/usb/ |
D | gadget.h | 460 static inline void set_gadget_data(struct usb_gadget *gadget, void *data) in set_gadget_data() 462 static inline void *get_gadget_data(struct usb_gadget *gadget) in get_gadget_data() 468 static inline struct usb_gadget *usb_get_gadget(struct usb_gadget *gadget) in usb_get_gadget() 473 static inline void usb_put_gadget(struct usb_gadget *gadget) in usb_put_gadget() 490 #define gadget_for_each_ep(tmp, gadget) \ argument 622 static inline int usb_gadget_frame_number(struct usb_gadget *gadget) in usb_gadget_frame_number() 624 static inline int usb_gadget_wakeup(struct usb_gadget *gadget) in usb_gadget_wakeup() 626 static inline int usb_gadget_set_remote_wakeup(struct usb_gadget *gadget, int set) in usb_gadget_set_remote_wakeup() 628 static inline int usb_gadget_set_selfpowered(struct usb_gadget *gadget) in usb_gadget_set_selfpowered() 630 static inline int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) in usb_gadget_clear_selfpowered() [all …]
|
/linux-6.6.21/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 | 505 struct usb_gadget *gadget = func->config->cdev->gadget; in usb_func_wakeup() local 616 struct usb_gadget *gadget = cdev->gadget; in config_desc() local 679 struct usb_gadget *gadget = cdev->gadget; in count_configs() local 950 struct usb_gadget *gadget = cdev->gadget; in set_config() local 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() 2320 void composite_reset(struct usb_gadget *gadget) in composite_reset() 2336 struct usb_gadget *gadget = dev_to_usb_gadget(dev); in suspended_show() local 2343 static void __composite_unbind(struct usb_gadget *gadget, bool unbind_driver) in __composite_unbind() [all …]
|
D | config.c | 214 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-6.6.21/drivers/usb/gadget/udc/aspeed-vhub/ |
D | dev.c | 276 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-6.6.21/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()
|
/linux-6.6.21/drivers/usb/mtu3/ |
D | mtu3_gadget.c | 428 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()
|
/linux-6.6.21/drivers/usb/isp1760/ |
D | isp1760-udc.c | 35 static inline struct isp1760_udc *gadget_to_udc(struct usb_gadget *gadget) in gadget_to_udc() 1228 static int isp1760_udc_get_frame(struct usb_gadget *gadget) in isp1760_udc_get_frame() 1235 static int isp1760_udc_wakeup(struct usb_gadget *gadget) in isp1760_udc_wakeup() 1243 static int isp1760_udc_set_selfpowered(struct usb_gadget *gadget, in isp1760_udc_set_selfpowered() 1256 static int isp1760_udc_pullup(struct usb_gadget *gadget, int is_on) in isp1760_udc_pullup() 1266 static int isp1760_udc_start(struct usb_gadget *gadget, in isp1760_udc_start() 1309 static int isp1760_udc_stop(struct usb_gadget *gadget) in isp1760_udc_stop()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/usb/gadget/udc/cdns2/ |
D | cdns2-gadget.c | 1961 usb_ep *cdns2_gadget_match_ep(struct usb_gadget *gadget, in cdns2_gadget_match_ep() 1999 static int cdns2_gadget_get_frame(struct usb_gadget *gadget) in cdns2_gadget_get_frame() 2006 static int cdns2_gadget_wakeup(struct usb_gadget *gadget) in cdns2_gadget_wakeup() 2018 static int cdns2_gadget_set_selfpowered(struct usb_gadget *gadget, in cdns2_gadget_set_selfpowered() 2056 static int cdns2_gadget_pullup(struct usb_gadget *gadget, int is_on) in cdns2_gadget_pullup() 2083 static int cdns2_gadget_udc_start(struct usb_gadget *gadget, in cdns2_gadget_udc_start() 2127 static int cdns2_gadget_udc_stop(struct usb_gadget *gadget) in cdns2_gadget_udc_stop()
|
/linux-6.6.21/drivers/usb/cdns3/ |
D | cdns3-gadget.c | 2268 usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, in cdns3_gadget_match_ep() 2876 static int cdns3_gadget_get_frame(struct usb_gadget *gadget) in cdns3_gadget_get_frame() 2898 static int cdns3_gadget_wakeup(struct usb_gadget *gadget) in cdns3_gadget_wakeup() 2910 static int cdns3_gadget_set_selfpowered(struct usb_gadget *gadget, in cdns3_gadget_set_selfpowered() 2922 static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) in cdns3_gadget_pullup() 2986 static int cdns3_gadget_udc_start(struct usb_gadget *gadget, in cdns3_gadget_udc_start() 3031 static int cdns3_gadget_udc_stop(struct usb_gadget *gadget) in cdns3_gadget_udc_stop() 3074 static int cdns3_gadget_check_config(struct usb_gadget *gadget) in cdns3_gadget_check_config()
|
/linux-6.6.21/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() 1592 musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) in musb_gadget_set_self_powered() 1629 static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) in musb_gadget_vbus_draw() 1650 static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) in musb_gadget_pullup()
|
/linux-6.6.21/drivers/usb/gadget/function/ |
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 1943 struct usb_gadget *gadget = c->cdev->gadget; in tcm_bind() local
|