usb_function_instance 335 drivers/usb/gadget/configfs.c static inline struct usb_function_instance *to_usb_function_instance( usb_function_instance 339 drivers/usb/gadget/configfs.c struct usb_function_instance, group); usb_function_instance 376 drivers/usb/gadget/configfs.c struct usb_function_instance *fi = container_of(group, usb_function_instance 377 drivers/usb/gadget/configfs.c struct usb_function_instance, group); usb_function_instance 378 drivers/usb/gadget/configfs.c struct usb_function_instance *a_fi; usb_function_instance 427 drivers/usb/gadget/configfs.c struct usb_function_instance *fi = container_of(group, usb_function_instance 428 drivers/usb/gadget/configfs.c struct usb_function_instance, group); usb_function_instance 538 drivers/usb/gadget/configfs.c struct usb_function_instance *fi; usb_function_instance 586 drivers/usb/gadget/configfs.c struct usb_function_instance *fi = to_usb_function_instance(item); usb_function_instance 726 drivers/usb/gadget/function/f_acm.c static struct usb_function *acm_alloc_func(struct usb_function_instance *fi) usb_function_instance 792 drivers/usb/gadget/function/f_acm.c static void acm_free_instance(struct usb_function_instance *fi) usb_function_instance 801 drivers/usb/gadget/function/f_acm.c static struct usb_function_instance *acm_alloc_instance(void) usb_function_instance 859 drivers/usb/gadget/function/f_ecm.c static void ecm_free_inst(struct usb_function_instance *f) usb_function_instance 871 drivers/usb/gadget/function/f_ecm.c static struct usb_function_instance *ecm_alloc_inst(void) usb_function_instance 922 drivers/usb/gadget/function/f_ecm.c static struct usb_function *ecm_alloc(struct usb_function_instance *fi) usb_function_instance 559 drivers/usb/gadget/function/f_eem.c static void eem_free_inst(struct usb_function_instance *f) usb_function_instance 571 drivers/usb/gadget/function/f_eem.c static struct usb_function_instance *eem_alloc_inst(void) usb_function_instance 612 drivers/usb/gadget/function/f_eem.c static struct usb_function *eem_alloc(struct usb_function_instance *fi) usb_function_instance 3517 drivers/usb/gadget/function/f_fs.c static void ffs_free_inst(struct usb_function_instance *f) usb_function_instance 3528 drivers/usb/gadget/function/f_fs.c static int ffs_set_inst_name(struct usb_function_instance *fi, const char *name) usb_function_instance 3535 drivers/usb/gadget/function/f_fs.c static struct usb_function_instance *ffs_alloc_inst(void) usb_function_instance 3609 drivers/usb/gadget/function/f_fs.c static struct usb_function *ffs_alloc(struct usb_function_instance *fi) usb_function_instance 1002 drivers/usb/gadget/function/f_hid.c static void hidg_free_inst(struct usb_function_instance *f) usb_function_instance 1022 drivers/usb/gadget/function/f_hid.c static struct usb_function_instance *hidg_alloc_inst(void) usb_function_instance 1025 drivers/usb/gadget/function/f_hid.c struct usb_function_instance *ret; usb_function_instance 1085 drivers/usb/gadget/function/f_hid.c static struct usb_function *hidg_alloc(struct usb_function_instance *fi) usb_function_instance 425 drivers/usb/gadget/function/f_loopback.c static struct usb_function *loopback_alloc(struct usb_function_instance *fi) usb_function_instance 561 drivers/usb/gadget/function/f_loopback.c static void lb_free_instance(struct usb_function_instance *fi) usb_function_instance 569 drivers/usb/gadget/function/f_loopback.c static struct usb_function_instance *loopback_alloc_instance(void) usb_function_instance 3336 drivers/usb/gadget/function/f_mass_storage.c static void fsg_free_inst(struct usb_function_instance *fi) usb_function_instance 3345 drivers/usb/gadget/function/f_mass_storage.c static struct usb_function_instance *fsg_alloc_inst(void) usb_function_instance 3410 drivers/usb/gadget/function/f_mass_storage.c static struct usb_function *fsg_alloc(struct usb_function_instance *fi) usb_function_instance 72 drivers/usb/gadget/function/f_mass_storage.h struct usb_function_instance func_inst; usb_function_instance 113 drivers/usb/gadget/function/f_mass_storage.h fsg_opts_from_func_inst(const struct usb_function_instance *fi) usb_function_instance 112 drivers/usb/gadget/function/f_midi.c static void f_midi_free_inst(struct usb_function_instance *f); usb_function_instance 1199 drivers/usb/gadget/function/f_midi.c static void f_midi_free_inst(struct usb_function_instance *f) usb_function_instance 1219 drivers/usb/gadget/function/f_midi.c static struct usb_function_instance *f_midi_alloc_inst(void) usb_function_instance 1288 drivers/usb/gadget/function/f_midi.c static struct usb_function *f_midi_alloc(struct usb_function_instance *fi) usb_function_instance 1578 drivers/usb/gadget/function/f_ncm.c static void ncm_free_inst(struct usb_function_instance *f) usb_function_instance 1591 drivers/usb/gadget/function/f_ncm.c static struct usb_function_instance *ncm_alloc_inst(void) usb_function_instance 1665 drivers/usb/gadget/function/f_ncm.c static struct usb_function *ncm_alloc(struct usb_function_instance *fi) usb_function_instance 416 drivers/usb/gadget/function/f_obex.c static void obex_free_inst(struct usb_function_instance *f) usb_function_instance 425 drivers/usb/gadget/function/f_obex.c static struct usb_function_instance *obex_alloc_inst(void) usb_function_instance 459 drivers/usb/gadget/function/f_obex.c static struct usb_function *obex_alloc(struct usb_function_instance *fi) usb_function_instance 607 drivers/usb/gadget/function/f_phonet.c static void phonet_free_inst(struct usb_function_instance *f) usb_function_instance 619 drivers/usb/gadget/function/f_phonet.c static struct usb_function_instance *phonet_alloc_inst(void) usb_function_instance 664 drivers/usb/gadget/function/f_phonet.c static struct usb_function *phonet_alloc(struct usb_function_instance *fi) usb_function_instance 1287 drivers/usb/gadget/function/f_printer.c static void gprinter_free_inst(struct usb_function_instance *f) usb_function_instance 1306 drivers/usb/gadget/function/f_printer.c static struct usb_function_instance *gprinter_alloc_inst(void) usb_function_instance 1309 drivers/usb/gadget/function/f_printer.c struct usb_function_instance *ret; usb_function_instance 1403 drivers/usb/gadget/function/f_printer.c static struct usb_function *gprinter_alloc(struct usb_function_instance *fi) usb_function_instance 835 drivers/usb/gadget/function/f_rndis.c void rndis_borrow_net(struct usb_function_instance *f, struct net_device *net) usb_function_instance 896 drivers/usb/gadget/function/f_rndis.c static void rndis_free_inst(struct usb_function_instance *f) usb_function_instance 912 drivers/usb/gadget/function/f_rndis.c static struct usb_function_instance *rndis_alloc_inst(void) usb_function_instance 980 drivers/usb/gadget/function/f_rndis.c static struct usb_function *rndis_alloc(struct usb_function_instance *fi) usb_function_instance 287 drivers/usb/gadget/function/f_serial.c static void gser_free_inst(struct usb_function_instance *f) usb_function_instance 296 drivers/usb/gadget/function/f_serial.c static struct usb_function_instance *gser_alloc_inst(void) usb_function_instance 330 drivers/usb/gadget/function/f_serial.c static struct usb_function *gser_alloc(struct usb_function_instance *fi) usb_function_instance 834 drivers/usb/gadget/function/f_sourcesink.c struct usb_function_instance *fi) usb_function_instance 1235 drivers/usb/gadget/function/f_sourcesink.c static void source_sink_free_instance(struct usb_function_instance *fi) usb_function_instance 1243 drivers/usb/gadget/function/f_sourcesink.c static struct usb_function_instance *source_sink_alloc_inst(void) usb_function_instance 417 drivers/usb/gadget/function/f_subset.c static void geth_free_inst(struct usb_function_instance *f) usb_function_instance 429 drivers/usb/gadget/function/f_subset.c static struct usb_function_instance *geth_alloc_inst(void) usb_function_instance 465 drivers/usb/gadget/function/f_subset.c static struct usb_function *geth_alloc(struct usb_function_instance *fi) usb_function_instance 31 drivers/usb/gadget/function/f_tcm.c struct usb_function_instance *func_inst; usb_function_instance 2159 drivers/usb/gadget/function/f_tcm.c static void tcm_free_inst(struct usb_function_instance *f) usb_function_instance 2177 drivers/usb/gadget/function/f_tcm.c static int tcm_register_callback(struct usb_function_instance *f) usb_function_instance 2188 drivers/usb/gadget/function/f_tcm.c static void tcm_unregister_callback(struct usb_function_instance *f) usb_function_instance 2201 drivers/usb/gadget/function/f_tcm.c struct usb_function_instance *f = tpg->fi; usb_function_instance 2212 drivers/usb/gadget/function/f_tcm.c struct usb_function_instance *f = tpg->fi; usb_function_instance 2219 drivers/usb/gadget/function/f_tcm.c static int tcm_set_name(struct usb_function_instance *f, const char *name) usb_function_instance 2232 drivers/usb/gadget/function/f_tcm.c static struct usb_function_instance *tcm_alloc_inst(void) usb_function_instance 2279 drivers/usb/gadget/function/f_tcm.c static struct usb_function *tcm_alloc(struct usb_function_instance *fi) usb_function_instance 716 drivers/usb/gadget/function/f_uac1.c static void f_audio_free_inst(struct usb_function_instance *f) usb_function_instance 724 drivers/usb/gadget/function/f_uac1.c static struct usb_function_instance *f_audio_alloc_inst(void) usb_function_instance 771 drivers/usb/gadget/function/f_uac1.c static struct usb_function *f_audio_alloc(struct usb_function_instance *fi) usb_function_instance 927 drivers/usb/gadget/function/f_uac1_legacy.c static void f_audio_free_inst(struct usb_function_instance *f) usb_function_instance 941 drivers/usb/gadget/function/f_uac1_legacy.c static struct usb_function_instance *f_audio_alloc_inst(void) usb_function_instance 982 drivers/usb/gadget/function/f_uac1_legacy.c static struct usb_function *f_audio_alloc(struct usb_function_instance *fi) usb_function_instance 1056 drivers/usb/gadget/function/f_uac2.c static void afunc_free_inst(struct usb_function_instance *f) usb_function_instance 1064 drivers/usb/gadget/function/f_uac2.c static struct usb_function_instance *afunc_alloc_inst(void) usb_function_instance 1111 drivers/usb/gadget/function/f_uac2.c static struct usb_function *afunc_alloc(struct usb_function_instance *fi) usb_function_instance 769 drivers/usb/gadget/function/f_uvc.c static void uvc_free_inst(struct usb_function_instance *f) usb_function_instance 777 drivers/usb/gadget/function/f_uvc.c static struct usb_function_instance *uvc_alloc_inst(void) usb_function_instance 897 drivers/usb/gadget/function/f_uvc.c static struct usb_function *uvc_alloc(struct usb_function_instance *fi) usb_function_instance 30 drivers/usb/gadget/function/g_zero.h struct usb_function_instance func_inst; usb_function_instance 51 drivers/usb/gadget/function/g_zero.h struct usb_function_instance func_inst; usb_function_instance 46 drivers/usb/gadget/function/tcm.h struct usb_function_instance *fi; usb_function_instance 19 drivers/usb/gadget/function/u_ecm.h struct usb_function_instance func_inst; usb_function_instance 19 drivers/usb/gadget/function/u_eem.h struct usb_function_instance func_inst; usb_function_instance 292 drivers/usb/gadget/function/u_fs.h struct usb_function_instance func_inst; usb_function_instance 298 drivers/usb/gadget/function/u_fs.h static inline struct f_fs_opts *to_f_fs_opts(struct usb_function_instance *fi) usb_function_instance 19 drivers/usb/gadget/function/u_gether.h struct usb_function_instance func_inst; usb_function_instance 19 drivers/usb/gadget/function/u_hid.h struct usb_function_instance func_inst; usb_function_instance 19 drivers/usb/gadget/function/u_midi.h struct usb_function_instance func_inst; usb_function_instance 19 drivers/usb/gadget/function/u_ncm.h struct usb_function_instance func_inst; usb_function_instance 15 drivers/usb/gadget/function/u_phonet.h struct usb_function_instance func_inst; usb_function_instance 19 drivers/usb/gadget/function/u_printer.h struct usb_function_instance func_inst; usb_function_instance 19 drivers/usb/gadget/function/u_rndis.h struct usb_function_instance func_inst; usb_function_instance 44 drivers/usb/gadget/function/u_rndis.h void rndis_borrow_net(struct usb_function_instance *f, struct net_device *net); usb_function_instance 18 drivers/usb/gadget/function/u_serial.h struct usb_function_instance func_inst; usb_function_instance 29 drivers/usb/gadget/function/u_tcm.h struct usb_function_instance func_inst; usb_function_instance 43 drivers/usb/gadget/function/u_tcm.h int (*tcm_register_callback)(struct usb_function_instance *); usb_function_instance 44 drivers/usb/gadget/function/u_tcm.h void (*tcm_unregister_callback)(struct usb_function_instance *); usb_function_instance 24 drivers/usb/gadget/function/u_uac1.h struct usb_function_instance func_inst; usb_function_instance 57 drivers/usb/gadget/function/u_uac1_legacy.h struct usb_function_instance func_inst; usb_function_instance 27 drivers/usb/gadget/function/u_uac2.h struct usb_function_instance func_inst; usb_function_instance 23 drivers/usb/gadget/function/u_uvc.h struct usb_function_instance func_inst; usb_function_instance 12 drivers/usb/gadget/functions.c static struct usb_function_instance *try_get_usb_function_instance(const char *name) usb_function_instance 15 drivers/usb/gadget/functions.c struct usb_function_instance *fi; usb_function_instance 39 drivers/usb/gadget/functions.c struct usb_function_instance *usb_get_function_instance(const char *name) usb_function_instance 41 drivers/usb/gadget/functions.c struct usb_function_instance *fi; usb_function_instance 57 drivers/usb/gadget/functions.c struct usb_function *usb_get_function(struct usb_function_instance *fi) usb_function_instance 69 drivers/usb/gadget/functions.c void usb_put_function_instance(struct usb_function_instance *fi) usb_function_instance 98 drivers/usb/gadget/legacy/acm_ms.c static struct usb_function_instance *f_acm_inst; usb_function_instance 100 drivers/usb/gadget/legacy/acm_ms.c static struct usb_function_instance *fi_msg; usb_function_instance 134 drivers/usb/gadget/legacy/audio.c static struct usb_function_instance *fi_uac2; usb_function_instance 137 drivers/usb/gadget/legacy/audio.c static struct usb_function_instance *fi_uac1; usb_function_instance 81 drivers/usb/gadget/legacy/cdc2.c static struct usb_function_instance *fi_serial; usb_function_instance 84 drivers/usb/gadget/legacy/cdc2.c static struct usb_function_instance *fi_ecm; usb_function_instance 189 drivers/usb/gadget/legacy/ether.c static struct usb_function_instance *fi_ecm; usb_function_instance 192 drivers/usb/gadget/legacy/ether.c static struct usb_function_instance *fi_eem; usb_function_instance 195 drivers/usb/gadget/legacy/ether.c static struct usb_function_instance *fi_geth; usb_function_instance 198 drivers/usb/gadget/legacy/ether.c static struct usb_function_instance *fi_rndis; usb_function_instance 35 drivers/usb/gadget/legacy/g_ffs.c static struct usb_function_instance *fi_ecm; usb_function_instance 37 drivers/usb/gadget/legacy/g_ffs.c static struct usb_function_instance *fi_geth; usb_function_instance 42 drivers/usb/gadget/legacy/g_ffs.c static struct usb_function_instance *fi_rndis; usb_function_instance 160 drivers/usb/gadget/legacy/g_ffs.c static struct usb_function_instance **fi_ffs; usb_function_instance 106 drivers/usb/gadget/legacy/gmidi.c static struct usb_function_instance *fi_midi; usb_function_instance 31 drivers/usb/gadget/legacy/hid.c struct usb_function_instance *fi; usb_function_instance 82 drivers/usb/gadget/legacy/mass_storage.c static struct usb_function_instance *fi_msg; usb_function_instance 123 drivers/usb/gadget/legacy/multi.c static struct usb_function_instance *fi_acm; usb_function_instance 124 drivers/usb/gadget/legacy/multi.c static struct usb_function_instance *fi_msg; usb_function_instance 129 drivers/usb/gadget/legacy/multi.c static struct usb_function_instance *fi_rndis; usb_function_instance 211 drivers/usb/gadget/legacy/multi.c static struct usb_function_instance *fi_ecm; usb_function_instance 88 drivers/usb/gadget/legacy/ncm.c static struct usb_function_instance *f_ncm_inst; usb_function_instance 137 drivers/usb/gadget/legacy/nokia.c static struct usb_function_instance *fi_acm; usb_function_instance 138 drivers/usb/gadget/legacy/nokia.c static struct usb_function_instance *fi_ecm; usb_function_instance 139 drivers/usb/gadget/legacy/nokia.c static struct usb_function_instance *fi_obex1; usb_function_instance 140 drivers/usb/gadget/legacy/nokia.c static struct usb_function_instance *fi_obex2; usb_function_instance 141 drivers/usb/gadget/legacy/nokia.c static struct usb_function_instance *fi_phonet; usb_function_instance 142 drivers/usb/gadget/legacy/nokia.c static struct usb_function_instance *fi_msg; usb_function_instance 57 drivers/usb/gadget/legacy/printer.c static struct usb_function_instance *fi_printer; usb_function_instance 109 drivers/usb/gadget/legacy/serial.c static struct usb_function_instance *fi_serial[MAX_U_SERIAL_PORTS]; usb_function_instance 61 drivers/usb/gadget/legacy/tcm_usb_gadget.c static struct usb_function_instance *fi_tcm; usb_function_instance 95 drivers/usb/gadget/legacy/tcm_usb_gadget.c static int usbg_attach(struct usb_function_instance *f); usb_function_instance 96 drivers/usb/gadget/legacy/tcm_usb_gadget.c static void usbg_detach(struct usb_function_instance *f); usb_function_instance 130 drivers/usb/gadget/legacy/tcm_usb_gadget.c static int usbg_attach(struct usb_function_instance *f) usb_function_instance 135 drivers/usb/gadget/legacy/tcm_usb_gadget.c static void usbg_detach(struct usb_function_instance *f) usb_function_instance 67 drivers/usb/gadget/legacy/webcam.c static struct usb_function_instance *fi_uvc; usb_function_instance 210 drivers/usb/gadget/legacy/zero.c static struct usb_function_instance *func_inst_ss; usb_function_instance 252 drivers/usb/gadget/legacy/zero.c static struct usb_function_instance *func_inst_lb; usb_function_instance 240 include/linux/usb/composite.h const struct usb_function_instance *fi; usb_function_instance 582 include/linux/usb/composite.h struct usb_function_instance *(*alloc_inst)(void); usb_function_instance 583 include/linux/usb/composite.h struct usb_function *(*alloc_func)(struct usb_function_instance *inst); usb_function_instance 590 include/linux/usb/composite.h int (*set_inst_name)(struct usb_function_instance *inst, usb_function_instance 592 include/linux/usb/composite.h void (*free_func_inst)(struct usb_function_instance *inst); usb_function_instance 597 include/linux/usb/composite.h void usb_put_function_instance(struct usb_function_instance *fi); usb_function_instance 599 include/linux/usb/composite.h struct usb_function_instance *usb_get_function_instance(const char *name); usb_function_instance 600 include/linux/usb/composite.h struct usb_function *usb_get_function(struct usb_function_instance *fi);