Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.1.9/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.h292 struct usb_function_instance func_inst;
298 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_ecm.h19 struct usb_function_instance func_inst;
Du_eem.h19 struct usb_function_instance func_inst;
Du_gether.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_hid.h19 struct usb_function_instance func_inst;
Du_phonet.h15 struct usb_function_instance func_inst;
Df_serial.c308 static void gser_free_inst(struct usb_function_instance *f) in gser_free_inst()
317 static struct usb_function_instance *gser_alloc_inst(void) in gser_alloc_inst()
369 static struct usb_function *gser_alloc(struct usb_function_instance *fi) in gser_alloc()
Du_uac1.h32 struct usb_function_instance func_inst;
Du_uvc.h23 struct usb_function_instance func_inst;
/linux-6.1.9/include/linux/usb/
Dcomposite.h226 const struct usb_function_instance *fi;
573 struct usb_function_instance *(*alloc_inst)(void);
574 struct usb_function *(*alloc_func)(struct usb_function_instance *inst);
577 struct usb_function_instance { struct
581 int (*set_inst_name)(struct usb_function_instance *inst, argument
583 void (*free_func_inst)(struct usb_function_instance *inst); argument
588 void usb_put_function_instance(struct usb_function_instance *fi);
590 struct usb_function_instance *usb_get_function_instance(const char *name);
591 struct usb_function *usb_get_function(struct usb_function_instance *fi);
/linux-6.1.9/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;

123