Home
last modified time | relevance | path

Searched refs:usb_function_instance (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.12.1/drivers/usb/gadget/
Dfunctions.c12 static struct usb_function_instance *try_get_usb_function_instance(const char *name) in try_get_usb_function_instance()
15 struct usb_function_instance *fi; in try_get_usb_function_instance()
39 struct usb_function_instance *usb_get_function_instance(const char *name) in usb_get_function_instance()
41 struct usb_function_instance *fi; in usb_get_function_instance()
57 struct usb_function *usb_get_function(struct usb_function_instance *fi) in usb_get_function()
69 void usb_put_function_instance(struct usb_function_instance *fi) in usb_put_function_instance()
/linux-6.12.1/drivers/usb/gadget/function/
Du_tcm.h29 struct usb_function_instance func_inst;
43 int (*tcm_register_callback)(struct usb_function_instance *);
44 void (*tcm_unregister_callback)(struct usb_function_instance *);
Du_rndis.h19 struct usb_function_instance func_inst;
44 void rndis_borrow_net(struct usb_function_instance *f, struct net_device *net);
Dg_zero.h30 struct usb_function_instance func_inst;
51 struct usb_function_instance func_inst;
Du_fs.h290 struct usb_function_instance func_inst;
296 static inline struct f_fs_opts *to_f_fs_opts(struct usb_function_instance *fi) in to_f_fs_opts()
Df_mass_storage.h72 struct usb_function_instance func_inst;
113 fsg_opts_from_func_inst(const struct usb_function_instance *fi) in fsg_opts_from_func_inst()
Du_gether.h19 struct usb_function_instance func_inst;
Du_ecm.h19 struct usb_function_instance func_inst;
Du_eem.h19 struct usb_function_instance func_inst;
Du_printer.h19 struct usb_function_instance func_inst;
Du_midi.h19 struct usb_function_instance func_inst;
Du_ncm.h19 struct usb_function_instance func_inst;
Du_phonet.h15 struct usb_function_instance func_inst;
Du_hid.h19 struct usb_function_instance func_inst;
Df_serial.c306 static void gser_free_inst(struct usb_function_instance *f) in gser_free_inst()
315 static struct usb_function_instance *gser_alloc_inst(void) in gser_alloc_inst()
367 static struct usb_function *gser_alloc(struct usb_function_instance *fi) in gser_alloc()
Df_subset.c415 static void geth_free_inst(struct usb_function_instance *f) in geth_free_inst()
427 static struct usb_function_instance *geth_alloc_inst(void) in geth_alloc_inst()
463 static struct usb_function *geth_alloc(struct usb_function_instance *fi) in geth_alloc()
/linux-6.12.1/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c61 static struct usb_function_instance *fi_tcm;
95 static int usbg_attach(struct usb_function_instance *f);
96 static void usbg_detach(struct usb_function_instance *f);
130 static int usbg_attach(struct usb_function_instance *f) in usbg_attach()
135 static void usbg_detach(struct usb_function_instance *f) in usbg_detach()
Dnokia.c136 static struct usb_function_instance *fi_acm;
137 static struct usb_function_instance *fi_ecm;
138 static struct usb_function_instance *fi_obex1;
139 static struct usb_function_instance *fi_obex2;
140 static struct usb_function_instance *fi_phonet;
141 static struct usb_function_instance *fi_msg;
Dether.c189 static struct usb_function_instance *fi_ecm;
192 static struct usb_function_instance *fi_eem;
195 static struct usb_function_instance *fi_geth;
198 static struct usb_function_instance *fi_rndis;
Dmulti.c123 static struct usb_function_instance *fi_acm;
124 static struct usb_function_instance *fi_msg;
129 static struct usb_function_instance *fi_rndis;
211 static struct usb_function_instance *fi_ecm;
Dg_ffs.c35 static struct usb_function_instance *fi_ecm;
37 static struct usb_function_instance *fi_geth;
42 static struct usb_function_instance *fi_rndis;
160 static struct usb_function_instance **fi_ffs;
Dcdc2.c81 static struct usb_function_instance *fi_serial;
84 static struct usb_function_instance *fi_ecm;
Dacm_ms.c98 static struct usb_function_instance *f_acm_inst;
100 static struct usb_function_instance *fi_msg;
/linux-6.12.1/include/linux/usb/
Dcomposite.h240 const struct usb_function_instance *fi;
578 struct usb_function_instance *(*alloc_inst)(void);
579 struct usb_function *(*alloc_func)(struct usb_function_instance *inst);
582 struct usb_function_instance { struct
586 int (*set_inst_name)(struct usb_function_instance *inst, argument
588 void (*free_func_inst)(struct usb_function_instance *inst); argument
593 void usb_put_function_instance(struct usb_function_instance *fi);
595 struct usb_function_instance *usb_get_function_instance(const char *name);
596 struct usb_function *usb_get_function(struct usb_function_instance *fi);
/linux-6.12.1/net/9p/
Dtrans_usbg.c65 struct usb_function_instance func_inst;
742 static struct usb_function *usb9pfs_alloc(struct usb_function_instance *fi) in usb9pfs_alloc()
782 static inline struct f_usb9pfs_opts *fi_to_f_usb9pfs_opts(struct usb_function_instance *fi) in fi_to_f_usb9pfs_opts()
875 static int usb9pfs_set_inst_tag(struct usb_function_instance *fi, const char *tag) in usb9pfs_set_inst_tag()
882 static void usb9pfs_free_instance(struct usb_function_instance *fi) in usb9pfs_free_instance()
895 static struct usb_function_instance *usb9pfs_alloc_instance(void) in usb9pfs_alloc_instance()

123