usb_gadget 162 drivers/phy/motorola/phy-cpcap-usb.c struct usb_gadget *gadget) usb_gadget 72 drivers/phy/ti/phy-dm816x-usb.c struct usb_gadget *gadget) usb_gadget 87 drivers/phy/ti/phy-omap-usb2.c struct usb_gadget *gadget) usb_gadget 630 drivers/phy/ti/phy-twl4030-usb.c struct usb_gadget *gadget) usb_gadget 2823 drivers/staging/emxx_udc/emxx_udc.c static int nbu2ss_gad_get_frame(struct usb_gadget *pgadget) usb_gadget 2842 drivers/staging/emxx_udc/emxx_udc.c static int nbu2ss_gad_wakeup(struct usb_gadget *pgadget) usb_gadget 2877 drivers/staging/emxx_udc/emxx_udc.c static int nbu2ss_gad_set_selfpowered(struct usb_gadget *pgadget, usb_gadget 2898 drivers/staging/emxx_udc/emxx_udc.c static int nbu2ss_gad_vbus_session(struct usb_gadget *pgadget, int is_active) usb_gadget 2904 drivers/staging/emxx_udc/emxx_udc.c static int nbu2ss_gad_vbus_draw(struct usb_gadget *pgadget, unsigned int mA) usb_gadget 2924 drivers/staging/emxx_udc/emxx_udc.c static int nbu2ss_gad_pullup(struct usb_gadget *pgadget, int is_on) usb_gadget 2952 drivers/staging/emxx_udc/emxx_udc.c static int nbu2ss_gad_ioctl(struct usb_gadget *pgadget, usb_gadget 555 drivers/staging/emxx_udc/emxx_udc.h struct usb_gadget gadget; usb_gadget 1696 drivers/usb/cdns3/gadget.c usb_ep *cdns3_gadget_match_ep(struct usb_gadget *gadget, usb_gadget 2242 drivers/usb/cdns3/gadget.c static int cdns3_gadget_get_frame(struct usb_gadget *gadget) usb_gadget 2264 drivers/usb/cdns3/gadget.c static int cdns3_gadget_wakeup(struct usb_gadget *gadget) usb_gadget 2276 drivers/usb/cdns3/gadget.c static int cdns3_gadget_set_selfpowered(struct usb_gadget *gadget, usb_gadget 2288 drivers/usb/cdns3/gadget.c static int cdns3_gadget_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 2347 drivers/usb/cdns3/gadget.c static int cdns3_gadget_udc_start(struct usb_gadget *gadget, usb_gadget 2392 drivers/usb/cdns3/gadget.c static int cdns3_gadget_udc_stop(struct usb_gadget *gadget) usb_gadget 1258 drivers/usb/cdns3/gadget.h struct usb_gadget gadget; usb_gadget 228 drivers/usb/chipidea/ci.h struct usb_gadget gadget; usb_gadget 27 drivers/usb/chipidea/debug.c struct usb_gadget *gadget = &ci->gadget; usb_gadget 706 drivers/usb/chipidea/udc.c static int _gadget_stop_activity(struct usb_gadget *gadget) usb_gadget 1527 drivers/usb/chipidea/udc.c static int ci_udc_vbus_session(struct usb_gadget *_gadget, int is_active) usb_gadget 1567 drivers/usb/chipidea/udc.c static int ci_udc_wakeup(struct usb_gadget *_gadget) usb_gadget 1592 drivers/usb/chipidea/udc.c static int ci_udc_vbus_draw(struct usb_gadget *_gadget, unsigned ma) usb_gadget 1601 drivers/usb/chipidea/udc.c static int ci_udc_selfpowered(struct usb_gadget *_gadget, int is_on) usb_gadget 1617 drivers/usb/chipidea/udc.c static int ci_udc_pullup(struct usb_gadget *_gadget, int is_on) usb_gadget 1638 drivers/usb/chipidea/udc.c static int ci_udc_start(struct usb_gadget *gadget, usb_gadget 1640 drivers/usb/chipidea/udc.c static int ci_udc_stop(struct usb_gadget *gadget); usb_gadget 1643 drivers/usb/chipidea/udc.c static struct usb_ep *ci_udc_match_ep(struct usb_gadget *gadget, usb_gadget 1761 drivers/usb/chipidea/udc.c static int ci_udc_start(struct usb_gadget *gadget, usb_gadget 1823 drivers/usb/chipidea/udc.c static int ci_udc_stop(struct usb_gadget *gadget) usb_gadget 1194 drivers/usb/dwc2/core.h struct usb_gadget gadget; usb_gadget 47 drivers/usb/dwc2/gadget.c static inline struct dwc2_hsotg *to_hsotg(struct usb_gadget *gadget) usb_gadget 4407 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_udc_start(struct usb_gadget *gadget, usb_gadget 4473 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_udc_stop(struct usb_gadget *gadget) usb_gadget 4513 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_gadget_getframe(struct usb_gadget *gadget) usb_gadget 4525 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 4558 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 4598 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_vbus_draw(struct usb_gadget *gadget, unsigned int mA) usb_gadget 1068 drivers/usb/dwc3/core.h struct usb_gadget gadget; usb_gadget 915 drivers/usb/dwc3/gadget.c struct usb_gadget *gadget = &dwc->gadget; usb_gadget 1713 drivers/usb/dwc3/gadget.c static int dwc3_gadget_get_frame(struct usb_gadget *g) usb_gadget 1782 drivers/usb/dwc3/gadget.c static int dwc3_gadget_wakeup(struct usb_gadget *g) usb_gadget 1795 drivers/usb/dwc3/gadget.c static int dwc3_gadget_set_selfpowered(struct usb_gadget *g, usb_gadget 1853 drivers/usb/dwc3/gadget.c static int dwc3_gadget_pullup(struct usb_gadget *g, int is_on) usb_gadget 2020 drivers/usb/dwc3/gadget.c static int dwc3_gadget_start(struct usb_gadget *g, usb_gadget 2070 drivers/usb/dwc3/gadget.c static int dwc3_gadget_stop(struct usb_gadget *g) usb_gadget 2091 drivers/usb/dwc3/gadget.c static void dwc3_gadget_config_params(struct usb_gadget *g, usb_gadget 2130 drivers/usb/dwc3/gadget.c static void dwc3_gadget_set_speed(struct usb_gadget *g, usb_gadget 145 drivers/usb/gadget/composite.c int config_ep_by_speed(struct usb_gadget *g, usb_gadget 503 drivers/usb/gadget/composite.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 566 drivers/usb/gadget/composite.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 771 drivers/usb/gadget/composite.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 1584 drivers/usb/gadget/composite.c composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) usb_gadget 1995 drivers/usb/gadget/composite.c void composite_disconnect(struct usb_gadget *gadget) usb_gadget 2017 drivers/usb/gadget/composite.c struct usb_gadget *gadget = dev_to_usb_gadget(dev); usb_gadget 2024 drivers/usb/gadget/composite.c static void __composite_unbind(struct usb_gadget *gadget, bool unbind_driver) usb_gadget 2056 drivers/usb/gadget/composite.c static void composite_unbind(struct usb_gadget *gadget) usb_gadget 2102 drivers/usb/gadget/composite.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 2216 drivers/usb/gadget/composite.c static int composite_bind(struct usb_gadget *gadget, usb_gadget 2267 drivers/usb/gadget/composite.c void composite_suspend(struct usb_gadget *gadget) usb_gadget 2291 drivers/usb/gadget/composite.c void composite_resume(struct usb_gadget *gadget) usb_gadget 2431 drivers/usb/gadget/composite.c static char *composite_default_mfr(struct usb_gadget *gadget) usb_gadget 165 drivers/usb/gadget/config.c struct usb_gadget *g = f->config->cdev->gadget; usb_gadget 204 drivers/usb/gadget/config.c struct usb_gadget *gadget) usb_gadget 219 drivers/usb/gadget/config.c int usb_otg_descriptor_init(struct usb_gadget *gadget, usb_gadget 1239 drivers/usb/gadget/configfs.c static int configfs_composite_bind(struct usb_gadget *gadget, usb_gadget 1381 drivers/usb/gadget/configfs.c static void configfs_composite_unbind(struct usb_gadget *gadget) usb_gadget 1406 drivers/usb/gadget/configfs.c static int configfs_composite_setup(struct usb_gadget *gadget, usb_gadget 1431 drivers/usb/gadget/configfs.c static void configfs_composite_disconnect(struct usb_gadget *gadget) usb_gadget 1453 drivers/usb/gadget/configfs.c static void configfs_composite_suspend(struct usb_gadget *gadget) usb_gadget 1475 drivers/usb/gadget/configfs.c static void configfs_composite_resume(struct usb_gadget *gadget) usb_gadget 64 drivers/usb/gadget/epautoconf.c struct usb_gadget *gadget, usb_gadget 150 drivers/usb/gadget/epautoconf.c struct usb_gadget *gadget, usb_gadget 203 drivers/usb/gadget/epautoconf.c void usb_ep_autoconfig_reset (struct usb_gadget *gadget) usb_gadget 69 drivers/usb/gadget/function/f_ecm.c static inline unsigned ecm_bitrate(struct usb_gadget *g) usb_gadget 70 drivers/usb/gadget/function/f_fs.c struct usb_gadget *gadget; usb_gadget 634 drivers/usb/gadget/function/f_fs.c struct usb_gadget *gadget = ffs->gadget; usb_gadget 980 drivers/usb/gadget/function/f_fs.c struct usb_gadget *gadget; usb_gadget 1136 drivers/usb/gadget/function/f_hid.c int ghid_setup(struct usb_gadget *g, int count) usb_gadget 262 drivers/usb/gadget/function/f_mass_storage.c struct usb_gadget *gadget; usb_gadget 321 drivers/usb/gadget/function/f_mass_storage.c struct usb_gadget *gadget; /* Copy of cdev->gadget */ usb_gadget 2898 drivers/usb/gadget/function/f_mass_storage.c struct usb_gadget *gadget = c->cdev->gadget; usb_gadget 81 drivers/usb/gadget/function/f_midi.c struct usb_gadget *gadget; usb_gadget 86 drivers/usb/gadget/function/f_ncm.c static inline unsigned ncm_bitrate(struct usb_gadget *g) usb_gadget 397 drivers/usb/gadget/function/f_phonet.c struct usb_gadget *gadget = fp->function.config->cdev->gadget; usb_gadget 481 drivers/usb/gadget/function/f_phonet.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 708 drivers/usb/gadget/function/f_phonet.c void gphonet_set_gadget(struct net_device *net, struct usb_gadget *g) usb_gadget 64 drivers/usb/gadget/function/f_printer.c struct usb_gadget *gadget; usb_gadget 204 drivers/usb/gadget/function/f_printer.c static inline struct usb_endpoint_descriptor *ep_desc(struct usb_gadget *gadget, usb_gadget 1016 drivers/usb/gadget/function/f_printer.c struct usb_gadget *gadget = c->cdev->gadget; usb_gadget 88 drivers/usb/gadget/function/f_rndis.c static unsigned int bitrate(struct usb_gadget *g) usb_gadget 206 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = fuas_to_gadget(fu); usb_gadget 248 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = fuas_to_gadget(fu); usb_gadget 390 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = f->config->cdev->gadget; usb_gadget 514 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = fuas_to_gadget(fu); usb_gadget 844 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = f->config->cdev->gadget; usb_gadget 980 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = fuas_to_gadget(fu); usb_gadget 1991 drivers/usb/gadget/function/f_tcm.c struct usb_gadget *gadget = c->cdev->gadget; usb_gadget 432 drivers/usb/gadget/function/f_uac1.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 477 drivers/usb/gadget/function/f_uac1.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 511 drivers/usb/gadget/function/f_uac1.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 598 drivers/usb/gadget/function/f_uac2.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 739 drivers/usb/gadget/function/f_uac2.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 368 drivers/usb/gadget/function/u_audio.c struct usb_gadget *gadget = audio_dev->gadget; usb_gadget 419 drivers/usb/gadget/function/u_audio.c struct usb_gadget *gadget = audio_dev->gadget; usb_gadget 30 drivers/usb/gadget/function/u_audio.h struct usb_gadget *gadget; usb_gadget 59 drivers/usb/gadget/function/u_ether.c struct usb_gadget *gadget; usb_gadget 93 drivers/usb/gadget/function/u_ether.c static inline int qlen(struct usb_gadget *gadget, unsigned qmult) usb_gadget 177 drivers/usb/gadget/function/u_ether.c struct usb_gadget *g = dev->gadget; usb_gadget 747 drivers/usb/gadget/function/u_ether.c struct eth_dev *gether_setup_name(struct usb_gadget *g, usb_gadget 860 drivers/usb/gadget/function/u_ether.c struct usb_gadget *g; usb_gadget 895 drivers/usb/gadget/function/u_ether.c void gether_set_gadget(struct net_device *net, struct usb_gadget *g) usb_gadget 90 drivers/usb/gadget/function/u_ether.h struct eth_dev *gether_setup_name(struct usb_gadget *g, usb_gadget 107 drivers/usb/gadget/function/u_ether.h static inline struct eth_dev *gether_setup(struct usb_gadget *g, usb_gadget 150 drivers/usb/gadget/function/u_ether.h void gether_set_gadget(struct net_device *net, struct usb_gadget *g); usb_gadget 254 drivers/usb/gadget/function/u_ether.h static inline bool can_support_ecm(struct usb_gadget *gadget) usb_gadget 150 drivers/usb/gadget/function/u_fs.h struct usb_gadget *gadget; usb_gadget 36 drivers/usb/gadget/function/u_hid.h int ghid_setup(struct usb_gadget *g, int count); usb_gadget 21 drivers/usb/gadget/function/u_phonet.h void gphonet_set_gadget(struct net_device *net, struct usb_gadget *g); usb_gadget 46 drivers/usb/gadget/function/u_uac1_legacy.h struct usb_gadget *gadget; usb_gadget 157 drivers/usb/gadget/legacy/acm_ms.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 140 drivers/usb/gadget/legacy/cdc2.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 27 drivers/usb/gadget/legacy/dbgp.c struct usb_gadget *gadget; usb_gadget 209 drivers/usb/gadget/legacy/dbgp.c static void dbgp_disconnect(struct usb_gadget *gadget) usb_gadget 218 drivers/usb/gadget/legacy/dbgp.c static void dbgp_unbind(struct usb_gadget *gadget) usb_gadget 235 drivers/usb/gadget/legacy/dbgp.c static int dbgp_configure_endpoints(struct usb_gadget *gadget) usb_gadget 277 drivers/usb/gadget/legacy/dbgp.c static int dbgp_bind(struct usb_gadget *gadget, usb_gadget 337 drivers/usb/gadget/legacy/dbgp.c static int dbgp_setup(struct usb_gadget *gadget, usb_gadget 306 drivers/usb/gadget/legacy/ether.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 133 drivers/usb/gadget/legacy/hid.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 139 drivers/usb/gadget/legacy/inode.c struct usb_gadget *gadget; usb_gadget 1248 drivers/usb/gadget/legacy/inode.c struct usb_gadget *gadget = dev->gadget; usb_gadget 1327 drivers/usb/gadget/legacy/inode.c gadgetfs_setup (struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) usb_gadget 1622 drivers/usb/gadget/legacy/inode.c gadgetfs_unbind (struct usb_gadget *gadget) usb_gadget 1650 drivers/usb/gadget/legacy/inode.c static int gadgetfs_bind(struct usb_gadget *gadget, usb_gadget 1690 drivers/usb/gadget/legacy/inode.c gadgetfs_disconnect (struct usb_gadget *gadget) usb_gadget 1708 drivers/usb/gadget/legacy/inode.c gadgetfs_suspend (struct usb_gadget *gadget) usb_gadget 296 drivers/usb/gadget/legacy/multi.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 129 drivers/usb/gadget/legacy/ncm.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 270 drivers/usb/gadget/legacy/nokia.c struct usb_gadget *gadget = cdev->gadget; usb_gadget 116 drivers/usb/gadget/legacy/printer.c struct usb_gadget *gadget = c->cdev->gadget; usb_gadget 158 drivers/usb/gadget/legacy/zero.c struct usb_gadget *g = cdev->gadget; usb_gadget 530 drivers/usb/gadget/udc/amd5536udc.h struct usb_gadget gadget; usb_gadget 271 drivers/usb/gadget/udc/aspeed-vhub/dev.c static int ast_vhub_udc_wakeup(struct usb_gadget* gadget) usb_gadget 291 drivers/usb/gadget/udc/aspeed-vhub/dev.c static int ast_vhub_udc_get_frame(struct usb_gadget* gadget) usb_gadget 309 drivers/usb/gadget/udc/aspeed-vhub/dev.c static int ast_vhub_udc_pullup(struct usb_gadget* gadget, int on) usb_gadget 335 drivers/usb/gadget/udc/aspeed-vhub/dev.c static int ast_vhub_udc_start(struct usb_gadget *gadget, usb_gadget 354 drivers/usb/gadget/udc/aspeed-vhub/dev.c static struct usb_ep *ast_vhub_udc_match_ep(struct usb_gadget *gadget, usb_gadget 439 drivers/usb/gadget/udc/aspeed-vhub/dev.c static int ast_vhub_udc_stop(struct usb_gadget *gadget) usb_gadget 353 drivers/usb/gadget/udc/aspeed-vhub/vhub.h struct usb_gadget gadget; usb_gadget 789 drivers/usb/gadget/udc/at91_udc.c static int at91_get_frame(struct usb_gadget *gadget) usb_gadget 798 drivers/usb/gadget/udc/at91_udc.c static int at91_wakeup(struct usb_gadget *gadget) usb_gadget 942 drivers/usb/gadget/udc/at91_udc.c static int at91_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 958 drivers/usb/gadget/udc/at91_udc.c static int at91_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 970 drivers/usb/gadget/udc/at91_udc.c static int at91_set_selfpowered(struct usb_gadget *gadget, int is_on) usb_gadget 981 drivers/usb/gadget/udc/at91_udc.c static int at91_start(struct usb_gadget *gadget, usb_gadget 983 drivers/usb/gadget/udc/at91_udc.c static int at91_stop(struct usb_gadget *gadget); usb_gadget 1552 drivers/usb/gadget/udc/at91_udc.c static int at91_start(struct usb_gadget *gadget, usb_gadget 1566 drivers/usb/gadget/udc/at91_udc.c static int at91_stop(struct usb_gadget *gadget) usb_gadget 124 drivers/usb/gadget/udc/at91_udc.h struct usb_gadget gadget; usb_gadget 149 drivers/usb/gadget/udc/at91_udc.h static inline struct at91_udc *to_udc(struct usb_gadget *g) usb_gadget 994 drivers/usb/gadget/udc/atmel_usba_udc.c static int usba_udc_get_frame(struct usb_gadget *gadget) usb_gadget 1001 drivers/usb/gadget/udc/atmel_usba_udc.c static int usba_udc_wakeup(struct usb_gadget *gadget) usb_gadget 1020 drivers/usb/gadget/udc/atmel_usba_udc.c usba_udc_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) usb_gadget 1036 drivers/usb/gadget/udc/atmel_usba_udc.c static int atmel_usba_start(struct usb_gadget *gadget, usb_gadget 1038 drivers/usb/gadget/udc/atmel_usba_udc.c static int atmel_usba_stop(struct usb_gadget *gadget); usb_gadget 1040 drivers/usb/gadget/udc/atmel_usba_udc.c static struct usb_ep *atmel_usba_match_ep(struct usb_gadget *gadget, usb_gadget 1124 drivers/usb/gadget/udc/atmel_usba_udc.c static struct usb_gadget usba_gadget_template = { usb_gadget 1965 drivers/usb/gadget/udc/atmel_usba_udc.c static int atmel_usba_start(struct usb_gadget *gadget, usb_gadget 2006 drivers/usb/gadget/udc/atmel_usba_udc.c static int atmel_usba_stop(struct usb_gadget *gadget) usb_gadget 320 drivers/usb/gadget/udc/atmel_usba_udc.h struct usb_gadget gadget; usb_gadget 360 drivers/usb/gadget/udc/atmel_usba_udc.h static inline struct usba_udc *to_usba_udc(struct usb_gadget *gadget) usb_gadget 300 drivers/usb/gadget/udc/bcm63xx_udc.c struct usb_gadget gadget; usb_gadget 339 drivers/usb/gadget/udc/bcm63xx_udc.c static inline struct bcm63xx_udc *gadget_to_udc(struct usb_gadget *g) usb_gadget 1749 drivers/usb/gadget/udc/bcm63xx_udc.c static int bcm63xx_udc_get_frame(struct usb_gadget *gadget) usb_gadget 1764 drivers/usb/gadget/udc/bcm63xx_udc.c static int bcm63xx_udc_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1811 drivers/usb/gadget/udc/bcm63xx_udc.c static int bcm63xx_udc_start(struct usb_gadget *gadget, usb_gadget 1848 drivers/usb/gadget/udc/bcm63xx_udc.c static int bcm63xx_udc_stop(struct usb_gadget *gadget) usb_gadget 405 drivers/usb/gadget/udc/bdc/bdc.h struct usb_gadget gadget; usb_gadget 362 drivers/usb/gadget/udc/bdc/bdc_udc.c static int bdc_udc_start(struct usb_gadget *gadget, usb_gadget 396 drivers/usb/gadget/udc/bdc/bdc_udc.c static int bdc_udc_stop(struct usb_gadget *gadget) usb_gadget 411 drivers/usb/gadget/udc/bdc/bdc_udc.c static int bdc_udc_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 446 drivers/usb/gadget/udc/bdc/bdc_udc.c static int bdc_udc_set_selfpowered(struct usb_gadget *gadget, usb_gadget 465 drivers/usb/gadget/udc/bdc/bdc_udc.c static int bdc_udc_wakeup(struct usb_gadget *gadget) usb_gadget 38 drivers/usb/gadget/udc/core.c struct usb_gadget *gadget; usb_gadget 466 drivers/usb/gadget/udc/core.c int usb_gadget_frame_number(struct usb_gadget *gadget) usb_gadget 491 drivers/usb/gadget/udc/core.c int usb_gadget_wakeup(struct usb_gadget *gadget) usb_gadget 518 drivers/usb/gadget/udc/core.c int usb_gadget_set_selfpowered(struct usb_gadget *gadget) usb_gadget 546 drivers/usb/gadget/udc/core.c int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) usb_gadget 577 drivers/usb/gadget/udc/core.c int usb_gadget_vbus_connect(struct usb_gadget *gadget) usb_gadget 607 drivers/usb/gadget/udc/core.c int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) usb_gadget 638 drivers/usb/gadget/udc/core.c int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) usb_gadget 667 drivers/usb/gadget/udc/core.c int usb_gadget_connect(struct usb_gadget *gadget) usb_gadget 709 drivers/usb/gadget/udc/core.c int usb_gadget_disconnect(struct usb_gadget *gadget) usb_gadget 751 drivers/usb/gadget/udc/core.c int usb_gadget_deactivate(struct usb_gadget *gadget) usb_gadget 787 drivers/usb/gadget/udc/core.c int usb_gadget_activate(struct usb_gadget *gadget) usb_gadget 855 drivers/usb/gadget/udc/core.c int usb_gadget_map_request(struct usb_gadget *gadget, usb_gadget 881 drivers/usb/gadget/udc/core.c void usb_gadget_unmap_request(struct usb_gadget *gadget, usb_gadget 919 drivers/usb/gadget/udc/core.c struct usb_ep *gadget_find_ep_by_name(struct usb_gadget *g, const char *name) usb_gadget 934 drivers/usb/gadget/udc/core.c int usb_gadget_ep_match_desc(struct usb_gadget *gadget, usb_gadget 1005 drivers/usb/gadget/udc/core.c struct usb_gadget *gadget = work_to_gadget(work); usb_gadget 1012 drivers/usb/gadget/udc/core.c void usb_gadget_set_state(struct usb_gadget *gadget, usb_gadget 1039 drivers/usb/gadget/udc/core.c void usb_udc_vbus_handler(struct usb_gadget *gadget, bool status) usb_gadget 1059 drivers/usb/gadget/udc/core.c void usb_gadget_udc_reset(struct usb_gadget *gadget, usb_gadget 1174 drivers/usb/gadget/udc/core.c int usb_add_gadget_udc_release(struct device *parent, struct usb_gadget *gadget, usb_gadget 1286 drivers/usb/gadget/udc/core.c int usb_add_gadget_udc(struct device *parent, struct usb_gadget *gadget) usb_gadget 1315 drivers/usb/gadget/udc/core.c void usb_del_gadget_udc(struct usb_gadget *gadget) usb_gadget 1503 drivers/usb/gadget/udc/core.c struct usb_gadget *gadget = udc->gadget; usb_gadget 1539 drivers/usb/gadget/udc/core.c struct usb_gadget *gadget = udc->gadget; \ usb_gadget 85 drivers/usb/gadget/udc/dummy_hcd.c struct usb_gadget *gadget; usb_gadget 269 drivers/usb/gadget/udc/dummy_hcd.c struct usb_gadget gadget; usb_gadget 310 drivers/usb/gadget/udc/dummy_hcd.c static inline struct dummy_hcd *gadget_to_dummy_hcd(struct usb_gadget *gadget) usb_gadget 839 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_g_get_frame(struct usb_gadget *_gadget) usb_gadget 847 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_wakeup(struct usb_gadget *_gadget) usb_gadget 870 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_set_selfpowered(struct usb_gadget *_gadget, int value) usb_gadget 891 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_pullup(struct usb_gadget *_gadget, int value) usb_gadget 909 drivers/usb/gadget/udc/dummy_hcd.c static void dummy_udc_set_speed(struct usb_gadget *_gadget, usb_gadget 919 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_udc_start(struct usb_gadget *g, usb_gadget 921 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_udc_stop(struct usb_gadget *g); usb_gadget 963 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_udc_start(struct usb_gadget *g, usb_gadget 996 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_udc_stop(struct usb_gadget *g) usb_gadget 1062 drivers/usb/gadget/udc/dummy_hcd.c memzero_explicit(&dum->gadget, sizeof(struct usb_gadget)); usb_gadget 999 drivers/usb/gadget/udc/fotg210-udc.c static int fotg210_udc_start(struct usb_gadget *g, usb_gadget 1039 drivers/usb/gadget/udc/fotg210-udc.c static int fotg210_udc_stop(struct usb_gadget *g) usb_gadget 237 drivers/usb/gadget/udc/fotg210.h struct usb_gadget gadget; usb_gadget 1864 drivers/usb/gadget/udc/fsl_qe_udc.c static int qe_get_frame(struct usb_gadget *gadget) usb_gadget 1875 drivers/usb/gadget/udc/fsl_qe_udc.c static int fsl_qe_start(struct usb_gadget *gadget, usb_gadget 1877 drivers/usb/gadget/udc/fsl_qe_udc.c static int fsl_qe_stop(struct usb_gadget *gadget); usb_gadget 2269 drivers/usb/gadget/udc/fsl_qe_udc.c static int fsl_qe_start(struct usb_gadget *gadget, usb_gadget 2297 drivers/usb/gadget/udc/fsl_qe_udc.c static int fsl_qe_stop(struct usb_gadget *gadget) usb_gadget 265 drivers/usb/gadget/udc/fsl_qe_udc.h struct usb_gadget *gadget; usb_gadget 316 drivers/usb/gadget/udc/fsl_qe_udc.h struct usb_gadget gadget; usb_gadget 1140 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_get_frame(struct usb_gadget *gadget) usb_gadget 1148 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_wakeup(struct usb_gadget *gadget) usb_gadget 1174 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 1200 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_vbus_draw(struct usb_gadget *gadget, unsigned mA) usb_gadget 1213 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1233 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_udc_start(struct usb_gadget *g, usb_gadget 1235 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_udc_stop(struct usb_gadget *g); usb_gadget 1940 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_udc_start(struct usb_gadget *g, usb_gadget 1983 drivers/usb/gadget/udc/fsl_udc_core.c static int fsl_udc_stop(struct usb_gadget *g) usb_gadget 463 drivers/usb/gadget/udc/fsl_usb2_udc.h struct usb_gadget *gadget; usb_gadget 473 drivers/usb/gadget/udc/fsl_usb2_udc.h struct usb_gadget gadget; usb_gadget 1308 drivers/usb/gadget/udc/fusb300_udc.c static int fusb300_udc_start(struct usb_gadget *g, usb_gadget 1320 drivers/usb/gadget/udc/fusb300_udc.c static int fusb300_udc_stop(struct usb_gadget *g) usb_gadget 1331 drivers/usb/gadget/udc/fusb300_udc.c static int fusb300_udc_pullup(struct usb_gadget *_gadget, int is_active) usb_gadget 658 drivers/usb/gadget/udc/fusb300_udc.h struct usb_gadget gadget; usb_gadget 989 drivers/usb/gadget/udc/goku_udc.c static int goku_get_frame(struct usb_gadget *_gadget) usb_gadget 994 drivers/usb/gadget/udc/goku_udc.c static struct usb_ep *goku_match_ep(struct usb_gadget *g, usb_gadget 1023 drivers/usb/gadget/udc/goku_udc.c static int goku_udc_start(struct usb_gadget *g, usb_gadget 1025 drivers/usb/gadget/udc/goku_udc.c static int goku_udc_stop(struct usb_gadget *g); usb_gadget 1367 drivers/usb/gadget/udc/goku_udc.c static int goku_udc_start(struct usb_gadget *g, usb_gadget 1400 drivers/usb/gadget/udc/goku_udc.c static int goku_udc_stop(struct usb_gadget *g) usb_gadget 240 drivers/usb/gadget/udc/goku_udc.h struct usb_gadget gadget; usb_gadget 1843 drivers/usb/gadget/udc/gr_udc.c static int gr_get_frame(struct usb_gadget *_gadget) usb_gadget 1853 drivers/usb/gadget/udc/gr_udc.c static int gr_wakeup(struct usb_gadget *_gadget) usb_gadget 1875 drivers/usb/gadget/udc/gr_udc.c static int gr_pullup(struct usb_gadget *_gadget, int is_on) usb_gadget 1898 drivers/usb/gadget/udc/gr_udc.c static int gr_udc_start(struct usb_gadget *gadget, usb_gadget 1917 drivers/usb/gadget/udc/gr_udc.c static int gr_udc_stop(struct usb_gadget *gadget) usb_gadget 188 drivers/usb/gadget/udc/gr_udc.h struct usb_gadget gadget; usb_gadget 126 drivers/usb/gadget/udc/lpc32xx_udc.c struct usb_gadget gadget; usb_gadget 183 drivers/usb/gadget/udc/lpc32xx_udc.c static inline struct lpc32xx_udc *to_udc(struct usb_gadget *g) usb_gadget 2416 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_get_frame(struct usb_gadget *gadget) usb_gadget 2434 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_wakeup(struct usb_gadget *gadget) usb_gadget 2439 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_set_selfpowered(struct usb_gadget *gadget, int is_on) usb_gadget 2450 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 2487 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 2497 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_start(struct usb_gadget *, struct usb_gadget_driver *); usb_gadget 2498 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_stop(struct usb_gadget *); usb_gadget 2892 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_start(struct usb_gadget *gadget, usb_gadget 2926 drivers/usb/gadget/udc/lpc32xx_udc.c static int lpc32xx_stop(struct usb_gadget *gadget) usb_gadget 1451 drivers/usb/gadget/udc/m66592-udc.c static int m66592_udc_start(struct usb_gadget *g, usb_gadget 1473 drivers/usb/gadget/udc/m66592-udc.c static int m66592_udc_stop(struct usb_gadget *g) usb_gadget 1488 drivers/usb/gadget/udc/m66592-udc.c static int m66592_get_frame(struct usb_gadget *_gadget) usb_gadget 1494 drivers/usb/gadget/udc/m66592-udc.c static int m66592_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 469 drivers/usb/gadget/udc/m66592-udc.h struct usb_gadget gadget; usb_gadget 240 drivers/usb/gadget/udc/mv_u3d.h struct usb_gadget gadget; usb_gadget 1132 drivers/usb/gadget/udc/mv_u3d_core.c static int mv_u3d_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 1183 drivers/usb/gadget/udc/mv_u3d_core.c static int mv_u3d_vbus_draw(struct usb_gadget *gadget, unsigned mA) usb_gadget 1192 drivers/usb/gadget/udc/mv_u3d_core.c static int mv_u3d_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1226 drivers/usb/gadget/udc/mv_u3d_core.c static int mv_u3d_start(struct usb_gadget *g, usb_gadget 1257 drivers/usb/gadget/udc/mv_u3d_core.c static int mv_u3d_stop(struct usb_gadget *g) usb_gadget 170 drivers/usb/gadget/udc/mv_udc.h struct usb_gadget gadget; usb_gadget 1111 drivers/usb/gadget/udc/mv_udc_core.c static int mv_udc_get_frame(struct usb_gadget *gadget) usb_gadget 1127 drivers/usb/gadget/udc/mv_udc_core.c static int mv_udc_wakeup(struct usb_gadget *gadget) usb_gadget 1146 drivers/usb/gadget/udc/mv_udc_core.c static int mv_udc_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 1183 drivers/usb/gadget/udc/mv_udc_core.c static int mv_udc_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1216 drivers/usb/gadget/udc/mv_udc_core.c static int mv_udc_start(struct usb_gadget *, struct usb_gadget_driver *); usb_gadget 1217 drivers/usb/gadget/udc/mv_udc_core.c static int mv_udc_stop(struct usb_gadget *); usb_gadget 1346 drivers/usb/gadget/udc/mv_udc_core.c static int mv_udc_start(struct usb_gadget *gadget, usb_gadget 1388 drivers/usb/gadget/udc/mv_udc_core.c static int mv_udc_stop(struct usb_gadget *gadget) usb_gadget 1076 drivers/usb/gadget/udc/net2272.c net2272_get_frame(struct usb_gadget *_gadget) usb_gadget 1095 drivers/usb/gadget/udc/net2272.c net2272_wakeup(struct usb_gadget *_gadget) usb_gadget 1116 drivers/usb/gadget/udc/net2272.c net2272_set_selfpowered(struct usb_gadget *_gadget, int value) usb_gadget 1127 drivers/usb/gadget/udc/net2272.c net2272_pullup(struct usb_gadget *_gadget, int is_on) usb_gadget 1150 drivers/usb/gadget/udc/net2272.c static int net2272_start(struct usb_gadget *_gadget, usb_gadget 1152 drivers/usb/gadget/udc/net2272.c static int net2272_stop(struct usb_gadget *_gadget); usb_gadget 1435 drivers/usb/gadget/udc/net2272.c static int net2272_start(struct usb_gadget *_gadget, usb_gadget 1488 drivers/usb/gadget/udc/net2272.c static int net2272_stop(struct usb_gadget *_gadget) usb_gadget 439 drivers/usb/gadget/udc/net2272.h struct usb_gadget gadget; usb_gadget 1467 drivers/usb/gadget/udc/net2280.c static int net2280_get_frame(struct usb_gadget *_gadget) usb_gadget 1482 drivers/usb/gadget/udc/net2280.c static int net2280_wakeup(struct usb_gadget *_gadget) usb_gadget 1502 drivers/usb/gadget/udc/net2280.c static int net2280_set_selfpowered(struct usb_gadget *_gadget, int value) usb_gadget 1527 drivers/usb/gadget/udc/net2280.c static int net2280_pullup(struct usb_gadget *_gadget, int is_on) usb_gadget 1553 drivers/usb/gadget/udc/net2280.c static struct usb_ep *net2280_match_ep(struct usb_gadget *_gadget, usb_gadget 1618 drivers/usb/gadget/udc/net2280.c static int net2280_start(struct usb_gadget *_gadget, usb_gadget 1620 drivers/usb/gadget/udc/net2280.c static int net2280_stop(struct usb_gadget *_gadget); usb_gadget 2409 drivers/usb/gadget/udc/net2280.c static int net2280_start(struct usb_gadget *_gadget, usb_gadget 2485 drivers/usb/gadget/udc/net2280.c static int net2280_stop(struct usb_gadget *_gadget) usb_gadget 150 drivers/usb/gadget/udc/net2280.h struct usb_gadget gadget; usb_gadget 1128 drivers/usb/gadget/udc/omap_udc.c static int omap_get_frame(struct usb_gadget *gadget) usb_gadget 1134 drivers/usb/gadget/udc/omap_udc.c static int omap_wakeup(struct usb_gadget *gadget) usb_gadget 1164 drivers/usb/gadget/udc/omap_udc.c omap_set_selfpowered(struct usb_gadget *gadget, int is_selfpowered) usb_gadget 1244 drivers/usb/gadget/udc/omap_udc.c static int omap_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 1283 drivers/usb/gadget/udc/omap_udc.c static int omap_vbus_draw(struct usb_gadget *gadget, unsigned mA) usb_gadget 1293 drivers/usb/gadget/udc/omap_udc.c static int omap_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1309 drivers/usb/gadget/udc/omap_udc.c static int omap_udc_start(struct usb_gadget *g, usb_gadget 1311 drivers/usb/gadget/udc/omap_udc.c static int omap_udc_stop(struct usb_gadget *g); usb_gadget 2042 drivers/usb/gadget/udc/omap_udc.c static int omap_udc_start(struct usb_gadget *g, usb_gadget 2103 drivers/usb/gadget/udc/omap_udc.c static int omap_udc_stop(struct usb_gadget *g) usb_gadget 161 drivers/usb/gadget/udc/omap_udc.h struct usb_gadget gadget; usb_gadget 342 drivers/usb/gadget/udc/pch_udc.c struct usb_gadget gadget; usb_gadget 1101 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_pcd_get_frame(struct usb_gadget *gadget) usb_gadget 1119 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_pcd_wakeup(struct usb_gadget *gadget) usb_gadget 1143 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_pcd_selfpowered(struct usb_gadget *gadget, int value) usb_gadget 1168 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_pcd_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1200 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_pcd_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 1222 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_pcd_vbus_draw(struct usb_gadget *gadget, unsigned int mA) usb_gadget 1227 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_start(struct usb_gadget *g, usb_gadget 1229 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_stop(struct usb_gadget *g); usb_gadget 2962 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_start(struct usb_gadget *g, usb_gadget 2981 drivers/usb/gadget/udc/pch_udc.c static int pch_udc_stop(struct usb_gadget *g) usb_gadget 1117 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_udc_get_frame(struct usb_gadget *_gadget) usb_gadget 1126 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_udc_wakeup(struct usb_gadget *_gadget) usb_gadget 1176 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_udc_vbus_session(struct usb_gadget *_gadget, int is_active) usb_gadget 1188 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_udc_pullup(struct usb_gadget *_gadget, int is_active) usb_gadget 1207 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_udc_vbus_draw(struct usb_gadget *_gadget, unsigned mA) usb_gadget 1218 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_udc_start(struct usb_gadget *g, usb_gadget 1220 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_udc_stop(struct usb_gadget *g); usb_gadget 1463 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_udc_start(struct usb_gadget *g, usb_gadget 1544 drivers/usb/gadget/udc/pxa25x_udc.c static int pxa25x_udc_stop(struct usb_gadget*g) usb_gadget 95 drivers/usb/gadget/udc/pxa25x_udc.h struct usb_gadget gadget; usb_gadget 1443 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa_udc_get_frame(struct usb_gadget *_gadget) usb_gadget 1456 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa_udc_wakeup(struct usb_gadget *_gadget) usb_gadget 1521 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa_udc_pullup(struct usb_gadget *_gadget, int is_active) usb_gadget 1547 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa_udc_vbus_session(struct usb_gadget *_gadget, int is_active) usb_gadget 1572 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa_udc_vbus_draw(struct usb_gadget *_gadget, unsigned mA) usb_gadget 1595 drivers/usb/gadget/udc/pxa27x_udc.c struct usb_gadget *gadget = data; usb_gadget 1613 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa27x_udc_start(struct usb_gadget *g, usb_gadget 1615 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa27x_udc_stop(struct usb_gadget *g); usb_gadget 1748 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa27x_udc_start(struct usb_gadget *g, usb_gadget 1799 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa27x_udc_stop(struct usb_gadget *g) usb_gadget 453 drivers/usb/gadget/udc/pxa27x_udc.h struct usb_gadget gadget; usb_gadget 483 drivers/usb/gadget/udc/pxa27x_udc.h static inline struct pxa_udc *to_gadget_udc(struct usb_gadget *gadget) usb_gadget 1722 drivers/usb/gadget/udc/r8a66597-udc.c static int r8a66597_start(struct usb_gadget *gadget, usb_gadget 1751 drivers/usb/gadget/udc/r8a66597-udc.c static int r8a66597_stop(struct usb_gadget *gadget) usb_gadget 1766 drivers/usb/gadget/udc/r8a66597-udc.c static int r8a66597_get_frame(struct usb_gadget *_gadget) usb_gadget 1772 drivers/usb/gadget/udc/r8a66597-udc.c static int r8a66597_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1787 drivers/usb/gadget/udc/r8a66597-udc.c static int r8a66597_set_selfpowered(struct usb_gadget *gadget, int is_self) usb_gadget 92 drivers/usb/gadget/udc/r8a66597-udc.h struct usb_gadget gadget; usb_gadget 334 drivers/usb/gadget/udc/renesas_usb3.c struct usb_gadget gadget; usb_gadget 2273 drivers/usb/gadget/udc/renesas_usb3.c static int renesas_usb3_start(struct usb_gadget *gadget, usb_gadget 2297 drivers/usb/gadget/udc/renesas_usb3.c static int renesas_usb3_stop(struct usb_gadget *gadget) usb_gadget 2314 drivers/usb/gadget/udc/renesas_usb3.c static int renesas_usb3_get_frame(struct usb_gadget *_gadget) usb_gadget 2319 drivers/usb/gadget/udc/renesas_usb3.c static int renesas_usb3_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 2328 drivers/usb/gadget/udc/renesas_usb3.c static int renesas_usb3_set_selfpowered(struct usb_gadget *gadget, int is_self) usb_gadget 141 drivers/usb/gadget/udc/s3c-hsudc.c struct usb_gadget gadget; usb_gadget 173 drivers/usb/gadget/udc/s3c-hsudc.c static inline struct s3c_hsudc *to_hsudc(struct usb_gadget *gadget) usb_gadget 1149 drivers/usb/gadget/udc/s3c-hsudc.c static int s3c_hsudc_start(struct usb_gadget *gadget, usb_gadget 1203 drivers/usb/gadget/udc/s3c-hsudc.c static int s3c_hsudc_stop(struct usb_gadget *gadget) usb_gadget 1238 drivers/usb/gadget/udc/s3c-hsudc.c static int s3c_hsudc_gadget_getframe(struct usb_gadget *gadget) usb_gadget 1243 drivers/usb/gadget/udc/s3c-hsudc.c static int s3c_hsudc_vbus_draw(struct usb_gadget *gadget, unsigned mA) usb_gadget 1000 drivers/usb/gadget/udc/s3c2410_udc.c static inline struct s3c2410_udc *to_s3c2410_udc(struct usb_gadget *gadget) usb_gadget 1390 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_get_frame(struct usb_gadget *_gadget) usb_gadget 1404 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_wakeup(struct usb_gadget *_gadget) usb_gadget 1413 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_set_selfpowered(struct usb_gadget *gadget, int value) usb_gadget 1455 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 1466 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1493 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_vbus_draw(struct usb_gadget *_gadget, unsigned ma) usb_gadget 1505 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_start(struct usb_gadget *g, usb_gadget 1507 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_stop(struct usb_gadget *g); usb_gadget 1632 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_start(struct usb_gadget *g, usb_gadget 1648 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_udc_stop(struct usb_gadget *g) usb_gadget 16 drivers/usb/gadget/udc/s3c2410_udc.h struct usb_gadget *gadget; usb_gadget 77 drivers/usb/gadget/udc/s3c2410_udc.h struct usb_gadget gadget; usb_gadget 1390 drivers/usb/gadget/udc/snps_udc_core.c static int udc_get_frame(struct usb_gadget *gadget) usb_gadget 1416 drivers/usb/gadget/udc/snps_udc_core.c static int udc_wakeup(struct usb_gadget *gadget) usb_gadget 1428 drivers/usb/gadget/udc/snps_udc_core.c static int amd5536_udc_start(struct usb_gadget *g, usb_gadget 1430 drivers/usb/gadget/udc/snps_udc_core.c static int amd5536_udc_stop(struct usb_gadget *g); usb_gadget 1956 drivers/usb/gadget/udc/snps_udc_core.c static int amd5536_udc_start(struct usb_gadget *g, usb_gadget 2002 drivers/usb/gadget/udc/snps_udc_core.c static int amd5536_udc_stop(struct usb_gadget *g) usb_gadget 21 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 85 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 90 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 95 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 100 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 105 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 110 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 115 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 120 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 125 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 130 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 135 drivers/usb/gadget/udc/trace.h TP_PROTO(struct usb_gadget *g, int ret), usb_gadget 178 drivers/usb/gadget/udc/udc-xilinx.c struct usb_gadget gadget; usb_gadget 1210 drivers/usb/gadget/udc/udc-xilinx.c static int xudc_get_frame(struct usb_gadget *gadget) usb_gadget 1229 drivers/usb/gadget/udc/udc-xilinx.c static int xudc_wakeup(struct usb_gadget *gadget) usb_gadget 1269 drivers/usb/gadget/udc/udc-xilinx.c static int xudc_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1366 drivers/usb/gadget/udc/udc-xilinx.c static int xudc_start(struct usb_gadget *gadget, usb_gadget 1406 drivers/usb/gadget/udc/udc-xilinx.c static int xudc_stop(struct usb_gadget *gadget) usb_gadget 33 drivers/usb/isp1760/isp1760-udc.c static inline struct isp1760_udc *gadget_to_udc(struct usb_gadget *gadget) usb_gadget 1151 drivers/usb/isp1760/isp1760-udc.c static int isp1760_udc_get_frame(struct usb_gadget *gadget) usb_gadget 1158 drivers/usb/isp1760/isp1760-udc.c static int isp1760_udc_wakeup(struct usb_gadget *gadget) usb_gadget 1166 drivers/usb/isp1760/isp1760-udc.c static int isp1760_udc_set_selfpowered(struct usb_gadget *gadget, usb_gadget 1179 drivers/usb/isp1760/isp1760-udc.c static int isp1760_udc_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1189 drivers/usb/isp1760/isp1760-udc.c static int isp1760_udc_start(struct usb_gadget *gadget, usb_gadget 1232 drivers/usb/isp1760/isp1760-udc.c static int isp1760_udc_stop(struct usb_gadget *gadget) usb_gadget 70 drivers/usb/isp1760/isp1760-udc.h struct usb_gadget gadget; usb_gadget 347 drivers/usb/mtu3/mtu3.h struct usb_gadget g; /* the gadget */ usb_gadget 369 drivers/usb/mtu3/mtu3.h static inline struct mtu3 *gadget_to_mtu3(struct usb_gadget *g) usb_gadget 446 drivers/usb/mtu3/mtu3_gadget.c static int mtu3_gadget_get_frame(struct usb_gadget *gadget) usb_gadget 453 drivers/usb/mtu3/mtu3_gadget.c static int mtu3_gadget_wakeup(struct usb_gadget *gadget) usb_gadget 478 drivers/usb/mtu3/mtu3_gadget.c static int mtu3_gadget_set_self_powered(struct usb_gadget *gadget, usb_gadget 487 drivers/usb/mtu3/mtu3_gadget.c static int mtu3_gadget_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 512 drivers/usb/mtu3/mtu3_gadget.c static int mtu3_gadget_start(struct usb_gadget *gadget, usb_gadget 573 drivers/usb/mtu3/mtu3_gadget.c static int mtu3_gadget_stop(struct usb_gadget *g) usb_gadget 399 drivers/usb/musb/musb_core.h struct usb_gadget g; /* the gadget */ usb_gadget 414 drivers/usb/musb/musb_core.h static inline struct musb *gadget_to_musb(struct usb_gadget *g) usb_gadget 1504 drivers/usb/musb/musb_gadget.c static int musb_gadget_get_frame(struct usb_gadget *gadget) usb_gadget 1511 drivers/usb/musb/musb_gadget.c static int musb_gadget_wakeup(struct usb_gadget *gadget) usb_gadget 1586 drivers/usb/musb/musb_gadget.c musb_gadget_set_self_powered(struct usb_gadget *gadget, int is_selfpowered) usb_gadget 1610 drivers/usb/musb/musb_gadget.c static int musb_gadget_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 1623 drivers/usb/musb/musb_gadget.c static int musb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) usb_gadget 1646 drivers/usb/musb/musb_gadget.c static int musb_gadget_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1666 drivers/usb/musb/musb_gadget.c static int musb_gadget_start(struct usb_gadget *g, usb_gadget 1668 drivers/usb/musb/musb_gadget.c static int musb_gadget_stop(struct usb_gadget *g); usb_gadget 1829 drivers/usb/musb/musb_gadget.c static int musb_gadget_start(struct usb_gadget *g, usb_gadget 1878 drivers/usb/musb/musb_gadget.c static int musb_gadget_stop(struct usb_gadget *g) usb_gadget 610 drivers/usb/phy/phy-ab8500-usb.c struct usb_gadget *gadget) usb_gadget 600 drivers/usb/phy/phy-fsl-usb.c struct usb_gadget *gadget) usb_gadget 174 drivers/usb/phy/phy-generic.c static int nop_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) usb_gadget 175 drivers/usb/phy/phy-gpio-vbus-usb.c struct usb_gadget *gadget) usb_gadget 1319 drivers/usb/phy/phy-isp1301-omap.c isp1301_set_peripheral(struct usb_otg *otg, struct usb_gadget *gadget) usb_gadget 69 drivers/usb/phy/phy-mv-usb.c struct usb_gadget *gadget) usb_gadget 222 drivers/usb/phy/phy-tahvo.c struct usb_gadget *gadget) usb_gadget 40 drivers/usb/renesas_usbhs/mod_gadget.c struct usb_gadget gadget; usb_gadget 947 drivers/usb/renesas_usbhs/mod_gadget.c static int usbhsg_gadget_start(struct usb_gadget *gadget, usb_gadget 980 drivers/usb/renesas_usbhs/mod_gadget.c static int usbhsg_gadget_stop(struct usb_gadget *gadget) usb_gadget 998 drivers/usb/renesas_usbhs/mod_gadget.c static int usbhsg_get_frame(struct usb_gadget *gadget) usb_gadget 1006 drivers/usb/renesas_usbhs/mod_gadget.c static int usbhsg_pullup(struct usb_gadget *gadget, int is_on) usb_gadget 1023 drivers/usb/renesas_usbhs/mod_gadget.c static int usbhsg_set_selfpowered(struct usb_gadget *gadget, int is_self) usb_gadget 1037 drivers/usb/renesas_usbhs/mod_gadget.c static int usbhsg_vbus_session(struct usb_gadget *gadget, int is_active) usb_gadget 31 drivers/usb/usbip/vudc.h struct usb_gadget *gadget; usb_gadget 87 drivers/usb/usbip/vudc.h struct usb_gadget gadget; usb_gadget 134 drivers/usb/usbip/vudc.h struct usb_gadget *_gadget) usb_gadget 126 drivers/usb/usbip/vudc_dev.c static int vgadget_get_frame(struct usb_gadget *_gadget) usb_gadget 137 drivers/usb/usbip/vudc_dev.c static int vgadget_set_selfpowered(struct usb_gadget *_gadget, int value) usb_gadget 148 drivers/usb/usbip/vudc_dev.c static int vgadget_pullup(struct usb_gadget *_gadget, int value) usb_gadget 193 drivers/usb/usbip/vudc_dev.c static int vgadget_udc_start(struct usb_gadget *g, usb_gadget 207 drivers/usb/usbip/vudc_dev.c static int vgadget_udc_stop(struct usb_gadget *g) usb_gadget 252 include/linux/usb/composite.h int config_ep_by_speed(struct usb_gadget *g, struct usb_function *f, usb_gadget 476 include/linux/usb/composite.h struct usb_gadget *gadget; usb_gadget 524 include/linux/usb/composite.h extern void composite_disconnect(struct usb_gadget *gadget); usb_gadget 525 include/linux/usb/composite.h extern int composite_setup(struct usb_gadget *gadget, usb_gadget 527 include/linux/usb/composite.h extern void composite_suspend(struct usb_gadget *gadget); usb_gadget 528 include/linux/usb/composite.h extern void composite_resume(struct usb_gadget *gadget); usb_gadget 300 include/linux/usb/gadget.h struct usb_gadget; usb_gadget 308 include/linux/usb/gadget.h int (*get_frame)(struct usb_gadget *); usb_gadget 309 include/linux/usb/gadget.h int (*wakeup)(struct usb_gadget *); usb_gadget 310 include/linux/usb/gadget.h int (*set_selfpowered) (struct usb_gadget *, int is_selfpowered); usb_gadget 311 include/linux/usb/gadget.h int (*vbus_session) (struct usb_gadget *, int is_active); usb_gadget 312 include/linux/usb/gadget.h int (*vbus_draw) (struct usb_gadget *, unsigned mA); usb_gadget 313 include/linux/usb/gadget.h int (*pullup) (struct usb_gadget *, int is_on); usb_gadget 314 include/linux/usb/gadget.h int (*ioctl)(struct usb_gadget *, usb_gadget 316 include/linux/usb/gadget.h void (*get_config_params)(struct usb_gadget *, usb_gadget 318 include/linux/usb/gadget.h int (*udc_start)(struct usb_gadget *, usb_gadget 320 include/linux/usb/gadget.h int (*udc_stop)(struct usb_gadget *); usb_gadget 321 include/linux/usb/gadget.h void (*udc_set_speed)(struct usb_gadget *, enum usb_device_speed); usb_gadget 322 include/linux/usb/gadget.h struct usb_ep *(*match_ep)(struct usb_gadget *, usb_gadget 431 include/linux/usb/gadget.h #define work_to_gadget(w) (container_of((w), struct usb_gadget, work)) usb_gadget 433 include/linux/usb/gadget.h static inline void set_gadget_data(struct usb_gadget *gadget, void *data) usb_gadget 435 include/linux/usb/gadget.h static inline void *get_gadget_data(struct usb_gadget *gadget) usb_gadget 437 include/linux/usb/gadget.h static inline struct usb_gadget *dev_to_usb_gadget(struct device *dev) usb_gadget 439 include/linux/usb/gadget.h return container_of(dev, struct usb_gadget, dev); usb_gadget 471 include/linux/usb/gadget.h usb_ep_align_maybe(struct usb_gadget *g, struct usb_ep *ep, size_t len) usb_gadget 481 include/linux/usb/gadget.h static inline int gadget_is_altset_supported(struct usb_gadget *g) usb_gadget 490 include/linux/usb/gadget.h static inline int gadget_is_stall_supported(struct usb_gadget *g) usb_gadget 499 include/linux/usb/gadget.h static inline int gadget_is_zlp_supported(struct usb_gadget *g) usb_gadget 509 include/linux/usb/gadget.h static inline int gadget_avoids_skb_reserve(struct usb_gadget *g) usb_gadget 518 include/linux/usb/gadget.h static inline int gadget_is_dualspeed(struct usb_gadget *g) usb_gadget 527 include/linux/usb/gadget.h static inline int gadget_is_superspeed(struct usb_gadget *g) usb_gadget 537 include/linux/usb/gadget.h static inline int gadget_is_superspeed_plus(struct usb_gadget *g) usb_gadget 549 include/linux/usb/gadget.h static inline int gadget_is_otg(struct usb_gadget *g) usb_gadget 561 include/linux/usb/gadget.h int usb_gadget_frame_number(struct usb_gadget *gadget); usb_gadget 562 include/linux/usb/gadget.h int usb_gadget_wakeup(struct usb_gadget *gadget); usb_gadget 563 include/linux/usb/gadget.h int usb_gadget_set_selfpowered(struct usb_gadget *gadget); usb_gadget 564 include/linux/usb/gadget.h int usb_gadget_clear_selfpowered(struct usb_gadget *gadget); usb_gadget 565 include/linux/usb/gadget.h int usb_gadget_vbus_connect(struct usb_gadget *gadget); usb_gadget 566 include/linux/usb/gadget.h int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA); usb_gadget 567 include/linux/usb/gadget.h int usb_gadget_vbus_disconnect(struct usb_gadget *gadget); usb_gadget 568 include/linux/usb/gadget.h int usb_gadget_connect(struct usb_gadget *gadget); usb_gadget 569 include/linux/usb/gadget.h int usb_gadget_disconnect(struct usb_gadget *gadget); usb_gadget 570 include/linux/usb/gadget.h int usb_gadget_deactivate(struct usb_gadget *gadget); usb_gadget 571 include/linux/usb/gadget.h int usb_gadget_activate(struct usb_gadget *gadget); usb_gadget 573 include/linux/usb/gadget.h static inline int usb_gadget_frame_number(struct usb_gadget *gadget) usb_gadget 575 include/linux/usb/gadget.h static inline int usb_gadget_wakeup(struct usb_gadget *gadget) usb_gadget 577 include/linux/usb/gadget.h static inline int usb_gadget_set_selfpowered(struct usb_gadget *gadget) usb_gadget 579 include/linux/usb/gadget.h static inline int usb_gadget_clear_selfpowered(struct usb_gadget *gadget) usb_gadget 581 include/linux/usb/gadget.h static inline int usb_gadget_vbus_connect(struct usb_gadget *gadget) usb_gadget 583 include/linux/usb/gadget.h static inline int usb_gadget_vbus_draw(struct usb_gadget *gadget, unsigned mA) usb_gadget 585 include/linux/usb/gadget.h static inline int usb_gadget_vbus_disconnect(struct usb_gadget *gadget) usb_gadget 587 include/linux/usb/gadget.h static inline int usb_gadget_connect(struct usb_gadget *gadget) usb_gadget 589 include/linux/usb/gadget.h static inline int usb_gadget_disconnect(struct usb_gadget *gadget) usb_gadget 591 include/linux/usb/gadget.h static inline int usb_gadget_deactivate(struct usb_gadget *gadget) usb_gadget 593 include/linux/usb/gadget.h static inline int usb_gadget_activate(struct usb_gadget *gadget) usb_gadget 675 include/linux/usb/gadget.h int (*bind)(struct usb_gadget *gadget, usb_gadget 677 include/linux/usb/gadget.h void (*unbind)(struct usb_gadget *); usb_gadget 678 include/linux/usb/gadget.h int (*setup)(struct usb_gadget *, usb_gadget 680 include/linux/usb/gadget.h void (*disconnect)(struct usb_gadget *); usb_gadget 681 include/linux/usb/gadget.h void (*suspend)(struct usb_gadget *); usb_gadget 682 include/linux/usb/gadget.h void (*resume)(struct usb_gadget *); usb_gadget 683 include/linux/usb/gadget.h void (*reset)(struct usb_gadget *); usb_gadget 733 include/linux/usb/gadget.h struct usb_gadget *gadget, void (*release)(struct device *dev)); usb_gadget 734 include/linux/usb/gadget.h extern int usb_add_gadget_udc(struct device *parent, struct usb_gadget *gadget); usb_gadget 735 include/linux/usb/gadget.h extern void usb_del_gadget_udc(struct usb_gadget *gadget); usb_gadget 810 include/linux/usb/gadget.h struct usb_gadget *gadget); usb_gadget 811 include/linux/usb/gadget.h int usb_otg_descriptor_init(struct usb_gadget *gadget, usb_gadget 820 include/linux/usb/gadget.h extern int usb_gadget_map_request(struct usb_gadget *gadget, usb_gadget 825 include/linux/usb/gadget.h extern void usb_gadget_unmap_request(struct usb_gadget *gadget, usb_gadget 830 include/linux/usb/gadget.h static inline int usb_gadget_map_request(struct usb_gadget *gadget, usb_gadget 835 include/linux/usb/gadget.h static inline void usb_gadget_unmap_request(struct usb_gadget *gadget, usb_gadget 843 include/linux/usb/gadget.h extern void usb_gadget_set_state(struct usb_gadget *gadget, usb_gadget 849 include/linux/usb/gadget.h extern void usb_gadget_udc_reset(struct usb_gadget *gadget, usb_gadget 863 include/linux/usb/gadget.h extern struct usb_ep *gadget_find_ep_by_name(struct usb_gadget *g, usb_gadget 870 include/linux/usb/gadget.h extern int usb_gadget_ep_match_desc(struct usb_gadget *gadget, usb_gadget 877 include/linux/usb/gadget.h extern void usb_udc_vbus_handler(struct usb_gadget *gadget, bool status); usb_gadget 883 include/linux/usb/gadget.h extern struct usb_ep *usb_ep_autoconfig(struct usb_gadget *, usb_gadget 887 include/linux/usb/gadget.h extern struct usb_ep *usb_ep_autoconfig_ss(struct usb_gadget *, usb_gadget 893 include/linux/usb/gadget.h extern void usb_ep_autoconfig_reset(struct usb_gadget *); usb_gadget 23 include/linux/usb/otg.h struct usb_gadget *gadget; usb_gadget 32 include/linux/usb/otg.h struct usb_gadget *gadget); usb_gadget 96 include/linux/usb/otg.h otg_set_peripheral(struct usb_otg *otg, struct usb_gadget *periph)