• Home
  • Raw
  • Download

Lines Matching refs:func_inst

31 	struct usb_function_instance	*func_inst;  member
1354 if (tpg_instances[i].func_inst && !tpg_instances[i].tpg) in usbg_make_tpg()
1359 opts = container_of(tpg_instances[i].func_inst, struct f_tcm_opts, in usbg_make_tpg()
1360 func_inst); in usbg_make_tpg()
1371 &opts->func_inst.group.cg_item); in usbg_make_tpg()
1398 tpg->fi = tpg_instances[i].func_inst; in usbg_make_tpg()
1411 configfs_undepend_item_unlocked(&opts->func_inst.group.cg_item); in usbg_make_tpg()
1439 opts = container_of(tpg_instances[i].func_inst, in usbg_drop_tpg()
1440 struct f_tcm_opts, func_inst); in usbg_drop_tpg()
1446 &opts->func_inst.group.cg_item); in usbg_drop_tpg()
1999 opts = container_of(f->fi, struct f_tcm_opts, func_inst); in tcm_bind()
2153 func_inst.group); in to_f_tcm_opts()
2160 usb_put_function_instance(&opts->func_inst); in tcm_attr_release()
2177 opts = container_of(f, struct f_tcm_opts, func_inst); in tcm_free_inst()
2181 if (tpg_instances[i].func_inst == f) in tcm_free_inst()
2184 tpg_instances[i].func_inst = NULL; in tcm_free_inst()
2192 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); in tcm_register_callback()
2203 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); in tcm_unregister_callback()
2207 func_inst.group.cg_item.ci_parent->ci_parent); in tcm_unregister_callback()
2215 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); in usbg_attach()
2226 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); in usbg_detach()
2234 struct f_tcm_opts *opts = container_of(f, struct f_tcm_opts, func_inst); in tcm_set_name()
2257 if (!tpg_instances[i].func_inst) in tcm_alloc_inst()
2265 tpg_instances[i].func_inst = &opts->func_inst; in tcm_alloc_inst()
2269 opts->func_inst.set_inst_name = tcm_set_name; in tcm_alloc_inst()
2270 opts->func_inst.free_func_inst = tcm_free_inst; in tcm_alloc_inst()
2274 config_group_init_type_name(&opts->func_inst.group, "", in tcm_alloc_inst()
2277 return &opts->func_inst; in tcm_alloc_inst()
2299 if (tpg_instances[i].func_inst == fi) in tcm_alloc()