usb_function 60 drivers/usb/gadget/composite.c function_descriptors(struct usb_function *f, usb_function 146 drivers/usb/gadget/composite.c struct usb_function *f, usb_function 257 drivers/usb/gadget/composite.c struct usb_function *function) usb_function 309 drivers/usb/gadget/composite.c void usb_remove_function(struct usb_configuration *c, struct usb_function *f) usb_function 343 drivers/usb/gadget/composite.c int usb_function_deactivate(struct usb_function *function) usb_function 371 drivers/usb/gadget/composite.c int usb_function_activate(struct usb_function *function) usb_function 416 drivers/usb/gadget/composite.c struct usb_function *function) usb_function 456 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 754 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 811 drivers/usb/gadget/composite.c struct usb_function *f = c->interface[tmp]; usb_function 935 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 938 drivers/usb/gadget/composite.c struct usb_function, list); usb_function 964 drivers/usb/gadget/composite.c struct usb_function *f = config->interface[i]; usb_function 988 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 991 drivers/usb/gadget/composite.c struct usb_function, list); usb_function 1081 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 1432 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 1457 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 1488 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 1506 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 1524 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 1594 drivers/usb/gadget/composite.c struct usb_function *f = NULL; usb_function 1963 drivers/usb/gadget/composite.c f = list_first_entry(&c->functions, struct usb_function, usb_function 2270 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 2294 drivers/usb/gadget/composite.c struct usb_function *f; usb_function 159 drivers/usb/gadget/config.c int usb_assign_descriptors(struct usb_function *f, usb_function 194 drivers/usb/gadget/config.c void usb_free_all_descriptors(struct usb_function *f) usb_function 379 drivers/usb/gadget/configfs.c struct usb_function *f; usb_function 429 drivers/usb/gadget/configfs.c struct usb_function *f; usb_function 1215 drivers/usb/gadget/configfs.c struct usb_function *f, *tmp; usb_function 1330 drivers/usb/gadget/configfs.c struct usb_function *f; usb_function 1331 drivers/usb/gadget/configfs.c struct usb_function *tmp; usb_function 74 drivers/usb/gadget/function/f_acm.c static inline struct f_acm *func_to_acm(struct usb_function *f) usb_function 336 drivers/usb/gadget/function/f_acm.c static int acm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) usb_function 420 drivers/usb/gadget/function/f_acm.c static int acm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 464 drivers/usb/gadget/function/f_acm.c static void acm_disable(struct usb_function *f) usb_function 606 drivers/usb/gadget/function/f_acm.c acm_bind(struct usb_configuration *c, struct usb_function *f) usb_function 709 drivers/usb/gadget/function/f_acm.c static void acm_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 719 drivers/usb/gadget/function/f_acm.c static void acm_free_func(struct usb_function *f) usb_function 726 drivers/usb/gadget/function/f_acm.c static struct usb_function *acm_alloc_func(struct usb_function_instance *fi) usb_function 63 drivers/usb/gadget/function/f_ecm.c static inline struct f_ecm *func_to_ecm(struct usb_function *f) usb_function 468 drivers/usb/gadget/function/f_ecm.c static int ecm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) usb_function 533 drivers/usb/gadget/function/f_ecm.c static int ecm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 611 drivers/usb/gadget/function/f_ecm.c static int ecm_get_alt(struct usb_function *f, unsigned intf) usb_function 620 drivers/usb/gadget/function/f_ecm.c static void ecm_disable(struct usb_function *f) usb_function 683 drivers/usb/gadget/function/f_ecm.c ecm_bind(struct usb_configuration *c, struct usb_function *f) usb_function 892 drivers/usb/gadget/function/f_ecm.c static void ecm_free(struct usb_function *f) usb_function 905 drivers/usb/gadget/function/f_ecm.c static void ecm_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 922 drivers/usb/gadget/function/f_ecm.c static struct usb_function *ecm_alloc(struct usb_function_instance *fi) usb_function 33 drivers/usb/gadget/function/f_eem.c static inline struct f_eem *func_to_eem(struct usb_function *f) usb_function 166 drivers/usb/gadget/function/f_eem.c static int eem_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) usb_function 182 drivers/usb/gadget/function/f_eem.c static int eem_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 225 drivers/usb/gadget/function/f_eem.c static void eem_disable(struct usb_function *f) usb_function 240 drivers/usb/gadget/function/f_eem.c static int eem_bind(struct usb_configuration *c, struct usb_function *f) usb_function 592 drivers/usb/gadget/function/f_eem.c static void eem_free(struct usb_function *f) usb_function 605 drivers/usb/gadget/function/f_eem.c static void eem_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 612 drivers/usb/gadget/function/f_eem.c static struct usb_function *eem_alloc(struct usb_function_instance *fi) usb_function 77 drivers/usb/gadget/function/f_fs.c struct usb_function function; usb_function 81 drivers/usb/gadget/function/f_fs.c static struct ffs_function *ffs_func_from_usb(struct usb_function *f) usb_function 99 drivers/usb/gadget/function/f_fs.c struct usb_function *); usb_function 100 drivers/usb/gadget/function/f_fs.c static int ffs_func_set_alt(struct usb_function *, unsigned, unsigned); usb_function 101 drivers/usb/gadget/function/f_fs.c static void ffs_func_disable(struct usb_function *); usb_function 102 drivers/usb/gadget/function/f_fs.c static int ffs_func_setup(struct usb_function *, usb_function 104 drivers/usb/gadget/function/f_fs.c static bool ffs_func_req_match(struct usb_function *, usb_function 107 drivers/usb/gadget/function/f_fs.c static void ffs_func_suspend(struct usb_function *); usb_function 108 drivers/usb/gadget/function/f_fs.c static void ffs_func_resume(struct usb_function *); usb_function 3043 drivers/usb/gadget/function/f_fs.c static inline struct f_fs_opts *ffs_do_functionfs_bind(struct usb_function *f, usb_function 3091 drivers/usb/gadget/function/f_fs.c struct usb_function *f) usb_function 3254 drivers/usb/gadget/function/f_fs.c struct usb_function *f) usb_function 3280 drivers/usb/gadget/function/f_fs.c static int ffs_func_set_alt(struct usb_function *f, usb_function 3319 drivers/usb/gadget/function/f_fs.c static void ffs_func_disable(struct usb_function *f) usb_function 3324 drivers/usb/gadget/function/f_fs.c static int ffs_func_setup(struct usb_function *f, usb_function 3384 drivers/usb/gadget/function/f_fs.c static bool ffs_func_req_match(struct usb_function *f, usb_function 3406 drivers/usb/gadget/function/f_fs.c static void ffs_func_suspend(struct usb_function *f) usb_function 3412 drivers/usb/gadget/function/f_fs.c static void ffs_func_resume(struct usb_function *f) usb_function 3561 drivers/usb/gadget/function/f_fs.c static void ffs_free(struct usb_function *f) usb_function 3567 drivers/usb/gadget/function/f_fs.c struct usb_function *f) usb_function 3609 drivers/usb/gadget/function/f_fs.c static struct usb_function *ffs_alloc(struct usb_function_instance *fi) usb_function 62 drivers/usb/gadget/function/f_hid.c struct usb_function func; usb_function 68 drivers/usb/gadget/function/f_hid.c static inline struct f_hidg *func_to_hidg(struct usb_function *f) usb_function 496 drivers/usb/gadget/function/f_hid.c static int hidg_setup(struct usb_function *f, usb_function 608 drivers/usb/gadget/function/f_hid.c static void hidg_disable(struct usb_function *f) usb_function 635 drivers/usb/gadget/function/f_hid.c static int hidg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 744 drivers/usb/gadget/function/f_hid.c static int hidg_bind(struct usb_configuration *c, struct usb_function *f) usb_function 1061 drivers/usb/gadget/function/f_hid.c static void hidg_free(struct usb_function *f) usb_function 1075 drivers/usb/gadget/function/f_hid.c static void hidg_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 1085 drivers/usb/gadget/function/f_hid.c static struct usb_function *hidg_alloc(struct usb_function_instance *fi) usb_function 29 drivers/usb/gadget/function/f_loopback.c struct usb_function function; usb_function 38 drivers/usb/gadget/function/f_loopback.c static inline struct f_loopback *func_to_loop(struct usb_function *f) usb_function 166 drivers/usb/gadget/function/f_loopback.c static int loopback_bind(struct usb_configuration *c, struct usb_function *f) usb_function 221 drivers/usb/gadget/function/f_loopback.c static void lb_free_func(struct usb_function *f) usb_function 407 drivers/usb/gadget/function/f_loopback.c static int loopback_set_alt(struct usb_function *f, usb_function 418 drivers/usb/gadget/function/f_loopback.c static void loopback_disable(struct usb_function *f) usb_function 425 drivers/usb/gadget/function/f_loopback.c static struct usb_function *loopback_alloc(struct usb_function_instance *fi) usb_function 320 drivers/usb/gadget/function/f_mass_storage.c struct usb_function function; usb_function 348 drivers/usb/gadget/function/f_mass_storage.c static inline struct fsg_dev *fsg_from_func(struct usb_function *f) usb_function 486 drivers/usb/gadget/function/f_mass_storage.c static int fsg_setup(struct usb_function *f, usb_function 2292 drivers/usb/gadget/function/f_mass_storage.c static int fsg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 2300 drivers/usb/gadget/function/f_mass_storage.c static void fsg_disable(struct usb_function *f) usb_function 2894 drivers/usb/gadget/function/f_mass_storage.c static int fsg_bind(struct usb_configuration *c, struct usb_function *f) usb_function 2994 drivers/usb/gadget/function/f_mass_storage.c static void fsg_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 3395 drivers/usb/gadget/function/f_mass_storage.c static void fsg_free(struct usb_function *f) usb_function 3410 drivers/usb/gadget/function/f_mass_storage.c static struct usb_function *fsg_alloc(struct usb_function_instance *fi) usb_function 80 drivers/usb/gadget/function/f_midi.c struct usb_function func; usb_function 105 drivers/usb/gadget/function/f_midi.c static inline struct f_midi *func_to_midi(struct usb_function *f) usb_function 338 drivers/usb/gadget/function/f_midi.c struct usb_function *f, usb_function 363 drivers/usb/gadget/function/f_midi.c static int f_midi_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 417 drivers/usb/gadget/function/f_midi.c static void f_midi_disable(struct usb_function *f) usb_function 865 drivers/usb/gadget/function/f_midi.c static int f_midi_bind(struct usb_configuration *c, struct usb_function *f) usb_function 1243 drivers/usb/gadget/function/f_midi.c static void f_midi_free(struct usb_function *f) usb_function 1269 drivers/usb/gadget/function/f_midi.c static void f_midi_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 1288 drivers/usb/gadget/function/f_midi.c static struct usb_function *f_midi_alloc(struct usb_function_instance *fi) usb_function 80 drivers/usb/gadget/function/f_ncm.c static inline struct f_ncm *func_to_ncm(struct usb_function *f) usb_function 658 drivers/usb/gadget/function/f_ncm.c struct usb_function *f = req->context; usb_function 684 drivers/usb/gadget/function/f_ncm.c static int ncm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) usb_function 864 drivers/usb/gadget/function/f_ncm.c static int ncm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 947 drivers/usb/gadget/function/f_ncm.c static int ncm_get_alt(struct usb_function *f, unsigned intf) usb_function 1319 drivers/usb/gadget/function/f_ncm.c static void ncm_disable(struct usb_function *f) usb_function 1386 drivers/usb/gadget/function/f_ncm.c static int ncm_bind(struct usb_configuration *c, struct usb_function *f) usb_function 1629 drivers/usb/gadget/function/f_ncm.c static void ncm_free(struct usb_function *f) usb_function 1642 drivers/usb/gadget/function/f_ncm.c static void ncm_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 1665 drivers/usb/gadget/function/f_ncm.c static struct usb_function *ncm_alloc(struct usb_function_instance *fi) usb_function 37 drivers/usb/gadget/function/f_obex.c static inline struct f_obex *func_to_obex(struct usb_function *f) usb_function 189 drivers/usb/gadget/function/f_obex.c static int obex_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 241 drivers/usb/gadget/function/f_obex.c static int obex_get_alt(struct usb_function *f, unsigned intf) usb_function 248 drivers/usb/gadget/function/f_obex.c static void obex_disable(struct usb_function *f) usb_function 302 drivers/usb/gadget/function/f_obex.c static int obex_bind(struct usb_configuration *c, struct usb_function *f) usb_function 446 drivers/usb/gadget/function/f_obex.c static void obex_free(struct usb_function *f) usb_function 454 drivers/usb/gadget/function/f_obex.c static void obex_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 459 drivers/usb/gadget/function/f_obex.c static struct usb_function *obex_alloc(struct usb_function_instance *fi) usb_function 42 drivers/usb/gadget/function/f_phonet.c struct usb_function function; usb_function 56 drivers/usb/gadget/function/f_phonet.c static inline struct f_phonet *func_to_pn(struct usb_function *f) usb_function 377 drivers/usb/gadget/function/f_phonet.c static void __pn_reset(struct usb_function *f) usb_function 394 drivers/usb/gadget/function/f_phonet.c static int pn_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 444 drivers/usb/gadget/function/f_phonet.c static int pn_get_alt(struct usb_function *f, unsigned intf) usb_function 464 drivers/usb/gadget/function/f_phonet.c static void pn_disconnect(struct usb_function *f) usb_function 478 drivers/usb/gadget/function/f_phonet.c static int pn_bind(struct usb_configuration *c, struct usb_function *f) usb_function 641 drivers/usb/gadget/function/f_phonet.c static void phonet_free(struct usb_function *f) usb_function 649 drivers/usb/gadget/function/f_phonet.c static void pn_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 664 drivers/usb/gadget/function/f_phonet.c static struct usb_function *phonet_alloc(struct usb_function_instance *fi) usb_function 90 drivers/usb/gadget/function/f_printer.c struct usb_function function; usb_function 93 drivers/usb/gadget/function/f_printer.c static inline struct printer_dev *func_to_printer(struct usb_function *f) usb_function 891 drivers/usb/gadget/function/f_printer.c static bool gprinter_req_match(struct usb_function *f, usb_function 933 drivers/usb/gadget/function/f_printer.c static int printer_func_setup(struct usb_function *f, usb_function 1014 drivers/usb/gadget/function/f_printer.c struct usb_function *f) usb_function 1123 drivers/usb/gadget/function/f_printer.c static int printer_func_set_alt(struct usb_function *f, usb_function 1135 drivers/usb/gadget/function/f_printer.c static void printer_func_disable(struct usb_function *f) usb_function 1347 drivers/usb/gadget/function/f_printer.c static void gprinter_free(struct usb_function *f) usb_function 1360 drivers/usb/gadget/function/f_printer.c struct usb_function *f) usb_function 1403 drivers/usb/gadget/function/f_printer.c static struct usb_function *gprinter_alloc(struct usb_function_instance *fi) usb_function 82 drivers/usb/gadget/function/f_rndis.c static inline struct f_rndis *func_to_rndis(struct usb_function *f) usb_function 463 drivers/usb/gadget/function/f_rndis.c rndis_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) usb_function 537 drivers/usb/gadget/function/f_rndis.c static int rndis_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 607 drivers/usb/gadget/function/f_rndis.c static void rndis_disable(struct usb_function *f) usb_function 667 drivers/usb/gadget/function/f_rndis.c rndis_bind(struct usb_configuration *c, struct usb_function *f) usb_function 954 drivers/usb/gadget/function/f_rndis.c static void rndis_free(struct usb_function *f) usb_function 968 drivers/usb/gadget/function/f_rndis.c static void rndis_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 980 drivers/usb/gadget/function/f_rndis.c static struct usb_function *rndis_alloc(struct usb_function_instance *fi) usb_function 33 drivers/usb/gadget/function/f_serial.c static inline struct f_gser *func_to_gser(struct usb_function *f) usb_function 146 drivers/usb/gadget/function/f_serial.c static int gser_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 172 drivers/usb/gadget/function/f_serial.c static void gser_disable(struct usb_function *f) usb_function 186 drivers/usb/gadget/function/f_serial.c static int gser_bind(struct usb_configuration *c, struct usb_function *f) usb_function 317 drivers/usb/gadget/function/f_serial.c static void gser_free(struct usb_function *f) usb_function 325 drivers/usb/gadget/function/f_serial.c static void gser_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 330 drivers/usb/gadget/function/f_serial.c static struct usb_function *gser_alloc(struct usb_function_instance *fi) usb_function 35 drivers/usb/gadget/function/f_sourcesink.c struct usb_function function; usb_function 53 drivers/usb/gadget/function/f_sourcesink.c static inline struct f_sourcesink *func_to_ss(struct usb_function *f) usb_function 317 drivers/usb/gadget/function/f_sourcesink.c sourcesink_bind(struct usb_configuration *c, struct usb_function *f) usb_function 448 drivers/usb/gadget/function/f_sourcesink.c sourcesink_free_func(struct usb_function *f) usb_function 735 drivers/usb/gadget/function/f_sourcesink.c static int sourcesink_set_alt(struct usb_function *f, usb_function 745 drivers/usb/gadget/function/f_sourcesink.c static int sourcesink_get_alt(struct usb_function *f, unsigned intf) usb_function 752 drivers/usb/gadget/function/f_sourcesink.c static void sourcesink_disable(struct usb_function *f) usb_function 761 drivers/usb/gadget/function/f_sourcesink.c static int sourcesink_setup(struct usb_function *f, usb_function 833 drivers/usb/gadget/function/f_sourcesink.c static struct usb_function *source_sink_alloc_func( usb_function 55 drivers/usb/gadget/function/f_subset.c static inline struct f_gether *func_to_geth(struct usb_function *f) usb_function 253 drivers/usb/gadget/function/f_subset.c static int geth_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 278 drivers/usb/gadget/function/f_subset.c static void geth_disable(struct usb_function *f) usb_function 292 drivers/usb/gadget/function/f_subset.c geth_bind(struct usb_configuration *c, struct usb_function *f) usb_function 451 drivers/usb/gadget/function/f_subset.c static void geth_free(struct usb_function *f) usb_function 459 drivers/usb/gadget/function/f_subset.c static void geth_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 465 drivers/usb/gadget/function/f_subset.c static struct usb_function *geth_alloc(struct usb_function_instance *fi) usb_function 39 drivers/usb/gadget/function/f_tcm.c static inline struct f_uas *to_f_uas(struct usb_function *f) usb_function 389 drivers/usb/gadget/function/f_tcm.c struct usb_function *f = &fu->function; usb_function 419 drivers/usb/gadget/function/f_tcm.c static int usbg_bot_setup(struct usb_function *f, usb_function 843 drivers/usb/gadget/function/f_tcm.c struct usb_function *f = &fu->function; usb_function 1987 drivers/usb/gadget/function/f_tcm.c static int tcm_bind(struct usb_configuration *c, struct usb_function *f) usb_function 2096 drivers/usb/gadget/function/f_tcm.c static int tcm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 2115 drivers/usb/gadget/function/f_tcm.c static void tcm_disable(struct usb_function *f) usb_function 2126 drivers/usb/gadget/function/f_tcm.c static int tcm_setup(struct usb_function *f, usb_function 2267 drivers/usb/gadget/function/f_tcm.c static void tcm_free(struct usb_function *f) usb_function 2274 drivers/usb/gadget/function/f_tcm.c static void tcm_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 2279 drivers/usb/gadget/function/f_tcm.c static struct usb_function *tcm_alloc(struct usb_function_instance *fi) usb_function 28 drivers/usb/gadget/function/f_uac1.c static inline struct f_uac1 *func_to_uac1(struct usb_function *f) usb_function 321 drivers/usb/gadget/function/f_uac1.c static int audio_set_endpoint_req(struct usb_function *f, usb_function 357 drivers/usb/gadget/function/f_uac1.c static int audio_get_endpoint_req(struct usb_function *f, usb_function 386 drivers/usb/gadget/function/f_uac1.c f_audio_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) usb_function 429 drivers/usb/gadget/function/f_uac1.c static int f_audio_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 474 drivers/usb/gadget/function/f_uac1.c static int f_audio_get_alt(struct usb_function *f, unsigned intf) usb_function 495 drivers/usb/gadget/function/f_uac1.c static void f_audio_disable(struct usb_function *f) usb_function 508 drivers/usb/gadget/function/f_uac1.c static int f_audio_bind(struct usb_configuration *c, struct usb_function *f) usb_function 748 drivers/usb/gadget/function/f_uac1.c static void f_audio_free(struct usb_function *f) usb_function 761 drivers/usb/gadget/function/f_uac1.c static void f_audio_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 771 drivers/usb/gadget/function/f_uac1.c static struct usb_function *f_audio_alloc(struct usb_function_instance *fi) usb_function 294 drivers/usb/gadget/function/f_uac1_legacy.c static inline struct f_audio *func_to_audio(struct usb_function *f) usb_function 382 drivers/usb/gadget/function/f_uac1_legacy.c static int audio_set_intf_req(struct usb_function *f, usb_function 418 drivers/usb/gadget/function/f_uac1_legacy.c static int audio_get_intf_req(struct usb_function *f, usb_function 456 drivers/usb/gadget/function/f_uac1_legacy.c static int audio_set_endpoint_req(struct usb_function *f, usb_function 492 drivers/usb/gadget/function/f_uac1_legacy.c static int audio_get_endpoint_req(struct usb_function *f, usb_function 521 drivers/usb/gadget/function/f_uac1_legacy.c f_audio_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) usb_function 572 drivers/usb/gadget/function/f_uac1_legacy.c static int f_audio_set_alt(struct usb_function *f, unsigned intf, unsigned alt) usb_function 653 drivers/usb/gadget/function/f_uac1_legacy.c static int f_audio_get_alt(struct usb_function *f, unsigned intf) usb_function 669 drivers/usb/gadget/function/f_uac1_legacy.c static void f_audio_disable(struct usb_function *f) usb_function 698 drivers/usb/gadget/function/f_uac1_legacy.c f_audio_bind(struct usb_configuration *c, struct usb_function *f) usb_function 964 drivers/usb/gadget/function/f_uac1_legacy.c static void f_audio_free(struct usb_function *f) usb_function 977 drivers/usb/gadget/function/f_uac1_legacy.c static void f_audio_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 982 drivers/usb/gadget/function/f_uac1_legacy.c static struct usb_function *f_audio_alloc(struct usb_function_instance *fi) usb_function 51 drivers/usb/gadget/function/f_uac2.c static inline struct f_uac2 *func_to_uac2(struct usb_function *f) usb_function 593 drivers/usb/gadget/function/f_uac2.c afunc_bind(struct usb_configuration *cfg, struct usb_function *fn) usb_function 735 drivers/usb/gadget/function/f_uac2.c afunc_set_alt(struct usb_function *fn, unsigned intf, unsigned alt) usb_function 781 drivers/usb/gadget/function/f_uac2.c afunc_get_alt(struct usb_function *fn, unsigned intf) usb_function 801 drivers/usb/gadget/function/f_uac2.c afunc_disable(struct usb_function *fn) usb_function 812 drivers/usb/gadget/function/f_uac2.c in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) usb_function 853 drivers/usb/gadget/function/f_uac2.c in_rq_range(struct usb_function *fn, const struct usb_ctrlrequest *cr) usb_function 895 drivers/usb/gadget/function/f_uac2.c ac_rq_in(struct usb_function *fn, const struct usb_ctrlrequest *cr) usb_function 906 drivers/usb/gadget/function/f_uac2.c out_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) usb_function 919 drivers/usb/gadget/function/f_uac2.c setup_rq_inf(struct usb_function *fn, const struct usb_ctrlrequest *cr) usb_function 941 drivers/usb/gadget/function/f_uac2.c afunc_setup(struct usb_function *fn, const struct usb_ctrlrequest *cr) usb_function 1088 drivers/usb/gadget/function/f_uac2.c static void afunc_free(struct usb_function *f) usb_function 1101 drivers/usb/gadget/function/f_uac2.c static void afunc_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 1111 drivers/usb/gadget/function/f_uac2.c static struct usb_function *afunc_alloc(struct usb_function_instance *fi) usb_function 223 drivers/usb/gadget/function/f_uvc.c uvc_function_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) usb_function 260 drivers/usb/gadget/function/f_uvc.c uvc_function_get_alt(struct usb_function *f, unsigned interface) usb_function 275 drivers/usb/gadget/function/f_uvc.c uvc_function_set_alt(struct usb_function *f, unsigned interface, unsigned alt) usb_function 360 drivers/usb/gadget/function/f_uvc.c uvc_function_disable(struct usb_function *f) usb_function 585 drivers/usb/gadget/function/f_uvc.c uvc_function_bind(struct usb_configuration *c, struct usb_function *f) usb_function 871 drivers/usb/gadget/function/f_uvc.c static void uvc_free(struct usb_function *f) usb_function 880 drivers/usb/gadget/function/f_uvc.c static void uvc_unbind(struct usb_configuration *c, struct usb_function *f) usb_function 897 drivers/usb/gadget/function/f_uvc.c static struct usb_function *uvc_alloc(struct usb_function_instance *fi) usb_function 110 drivers/usb/gadget/function/tcm.h struct usb_function function; usb_function 29 drivers/usb/gadget/function/u_audio.h struct usb_function func; usb_function 46 drivers/usb/gadget/function/u_audio.h static inline struct g_audio *func_to_g_audio(struct usb_function *f) usb_function 53 drivers/usb/gadget/function/u_ether.h struct usb_function func; usb_function 35 drivers/usb/gadget/function/u_serial.h struct usb_function func; usb_function 45 drivers/usb/gadget/function/u_uac1_legacy.h struct usb_function func; usb_function 116 drivers/usb/gadget/function/uvc.h struct usb_function func; usb_function 140 drivers/usb/gadget/function/uvc.h static inline struct uvc_device *to_uvc(struct usb_function *f) usb_function 57 drivers/usb/gadget/functions.c struct usb_function *usb_get_function(struct usb_function_instance *fi) usb_function 59 drivers/usb/gadget/functions.c struct usb_function *f; usb_function 82 drivers/usb/gadget/functions.c void usb_put_function(struct usb_function *f) usb_function 97 drivers/usb/gadget/legacy/acm_ms.c static struct usb_function *f_acm; usb_function 101 drivers/usb/gadget/legacy/acm_ms.c static struct usb_function *f_msg; usb_function 135 drivers/usb/gadget/legacy/audio.c static struct usb_function *f_uac2; usb_function 138 drivers/usb/gadget/legacy/audio.c static struct usb_function *f_uac1; usb_function 80 drivers/usb/gadget/legacy/cdc2.c static struct usb_function *f_acm; usb_function 83 drivers/usb/gadget/legacy/cdc2.c static struct usb_function *f_ecm; usb_function 190 drivers/usb/gadget/legacy/ether.c static struct usb_function *f_ecm; usb_function 193 drivers/usb/gadget/legacy/ether.c static struct usb_function *f_eem; usb_function 196 drivers/usb/gadget/legacy/ether.c static struct usb_function *f_geth; usb_function 199 drivers/usb/gadget/legacy/ether.c static struct usb_function *f_rndis; usb_function 36 drivers/usb/gadget/legacy/g_ffs.c static struct usb_function *f_ecm; usb_function 38 drivers/usb/gadget/legacy/g_ffs.c static struct usb_function *f_geth; usb_function 43 drivers/usb/gadget/legacy/g_ffs.c static struct usb_function *f_rndis; usb_function 161 drivers/usb/gadget/legacy/g_ffs.c static struct usb_function **f_ffs[] = { usb_function 107 drivers/usb/gadget/legacy/gmidi.c static struct usb_function *f_midi; usb_function 32 drivers/usb/gadget/legacy/hid.c struct usb_function *f; usb_function 83 drivers/usb/gadget/legacy/mass_storage.c static struct usb_function *f_msg; usb_function 130 drivers/usb/gadget/legacy/multi.c static struct usb_function *f_acm_rndis; usb_function 131 drivers/usb/gadget/legacy/multi.c static struct usb_function *f_rndis; usb_function 132 drivers/usb/gadget/legacy/multi.c static struct usb_function *f_msg_rndis; usb_function 212 drivers/usb/gadget/legacy/multi.c static struct usb_function *f_acm_multi; usb_function 213 drivers/usb/gadget/legacy/multi.c static struct usb_function *f_ecm; usb_function 214 drivers/usb/gadget/legacy/multi.c static struct usb_function *f_msg_multi; usb_function 89 drivers/usb/gadget/legacy/ncm.c static struct usb_function *f_ncm; usb_function 107 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_acm_cfg1; usb_function 108 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_acm_cfg2; usb_function 109 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_ecm_cfg1; usb_function 110 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_ecm_cfg2; usb_function 111 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_obex1_cfg1; usb_function 112 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_obex2_cfg1; usb_function 113 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_obex1_cfg2; usb_function 114 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_obex2_cfg2; usb_function 115 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_phonet_cfg1; usb_function 116 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_phonet_cfg2; usb_function 117 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_msg_cfg1; usb_function 118 drivers/usb/gadget/legacy/nokia.c static struct usb_function *f_msg_cfg2; usb_function 146 drivers/usb/gadget/legacy/nokia.c struct usb_function *f_acm; usb_function 147 drivers/usb/gadget/legacy/nokia.c struct usb_function *f_phonet = NULL; usb_function 148 drivers/usb/gadget/legacy/nokia.c struct usb_function *f_obex1 = NULL; usb_function 149 drivers/usb/gadget/legacy/nokia.c struct usb_function *f_ecm; usb_function 150 drivers/usb/gadget/legacy/nokia.c struct usb_function *f_obex2 = NULL; usb_function 151 drivers/usb/gadget/legacy/nokia.c struct usb_function *f_msg; usb_function 58 drivers/usb/gadget/legacy/printer.c static struct usb_function *f_printer; usb_function 110 drivers/usb/gadget/legacy/serial.c static struct usb_function *f_serial[MAX_U_SERIAL_PORTS]; usb_function 62 drivers/usb/gadget/legacy/tcm_usb_gadget.c static struct usb_function *f_tcm; usb_function 68 drivers/usb/gadget/legacy/webcam.c static struct usb_function *f_uvc; usb_function 209 drivers/usb/gadget/legacy/zero.c static struct usb_function *func_ss; usb_function 251 drivers/usb/gadget/legacy/zero.c static struct usb_function *func_lb; usb_function 212 include/linux/usb/composite.h struct usb_function *); usb_function 214 include/linux/usb/composite.h struct usb_function *); usb_function 215 include/linux/usb/composite.h void (*free_func)(struct usb_function *f); usb_function 219 include/linux/usb/composite.h int (*set_alt)(struct usb_function *, usb_function 221 include/linux/usb/composite.h int (*get_alt)(struct usb_function *, usb_function 223 include/linux/usb/composite.h void (*disable)(struct usb_function *); usb_function 224 include/linux/usb/composite.h int (*setup)(struct usb_function *, usb_function 226 include/linux/usb/composite.h bool (*req_match)(struct usb_function *, usb_function 229 include/linux/usb/composite.h void (*suspend)(struct usb_function *); usb_function 230 include/linux/usb/composite.h void (*resume)(struct usb_function *); usb_function 233 include/linux/usb/composite.h int (*get_status)(struct usb_function *); usb_function 234 include/linux/usb/composite.h int (*func_suspend)(struct usb_function *, usb_function 245 include/linux/usb/composite.h int usb_add_function(struct usb_configuration *, struct usb_function *); usb_function 247 include/linux/usb/composite.h int usb_function_deactivate(struct usb_function *); usb_function 248 include/linux/usb/composite.h int usb_function_activate(struct usb_function *); usb_function 250 include/linux/usb/composite.h int usb_interface_id(struct usb_configuration *, struct usb_function *); usb_function 252 include/linux/usb/composite.h int config_ep_by_speed(struct usb_gadget *g, struct usb_function *f, usb_function 331 include/linux/usb/composite.h struct usb_function *interface[MAX_CONFIG_INTERFACES]; usb_function 583 include/linux/usb/composite.h struct usb_function *(*alloc_func)(struct usb_function_instance *inst); usb_function 598 include/linux/usb/composite.h void usb_put_function(struct usb_function *f); usb_function 600 include/linux/usb/composite.h struct usb_function *usb_get_function(struct usb_function_instance *fi); usb_function 606 include/linux/usb/composite.h void usb_remove_function(struct usb_configuration *c, struct usb_function *f); usb_function 801 include/linux/usb/gadget.h struct usb_function; usb_function 802 include/linux/usb/gadget.h int usb_assign_descriptors(struct usb_function *f, usb_function 807 include/linux/usb/gadget.h void usb_free_all_descriptors(struct usb_function *f);