Searched refs:usb_function_instance (Results 1 – 25 of 62) sorted by relevance
123
12 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()
29 struct usb_function_instance func_inst;43 int (*tcm_register_callback)(struct usb_function_instance *);44 void (*tcm_unregister_callback)(struct usb_function_instance *);
19 struct usb_function_instance func_inst;44 void rndis_borrow_net(struct usb_function_instance *f, struct net_device *net);
30 struct usb_function_instance func_inst;51 struct usb_function_instance func_inst;
290 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()
72 struct usb_function_instance func_inst;113 fsg_opts_from_func_inst(const struct usb_function_instance *fi) in fsg_opts_from_func_inst()
19 struct usb_function_instance func_inst;
15 struct usb_function_instance func_inst;
306 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()
415 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()
61 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()
136 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;
189 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;
123 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;
35 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;
81 static struct usb_function_instance *fi_serial;84 static struct usb_function_instance *fi_ecm;
98 static struct usb_function_instance *f_acm_inst;100 static struct usb_function_instance *fi_msg;
240 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 { struct586 int (*set_inst_name)(struct usb_function_instance *inst, argument588 void (*free_func_inst)(struct usb_function_instance *inst); argument593 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);
65 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()