| /linux/drivers/usb/gadget/function/ |
| H A D | f_serial.c | 253 func_inst.group); in to_f_serial_opts() 260 usb_put_function_instance(&opts->func_inst); in serial_attr_release() 310 opts = container_of(f, struct f_serial_opts, func_inst); in gser_free_inst() 324 opts->func_inst.free_func_inst = gser_free_inst; in gser_alloc_inst() 330 config_group_init_type_name(&opts->func_inst.group, "", in gser_alloc_inst() 333 return &opts->func_inst; in gser_alloc_inst() 383 opts = container_of(fi, struct f_serial_opts, func_inst); in gser_alloc()
|
| H A D | f_subset.c | 302 gether_opts = container_of(f->fi, struct f_gether_opts, func_inst); in geth_bind() 383 func_inst.group); in to_f_gether_opts() 419 opts = container_of(f, struct f_gether_opts, func_inst); in geth_free_inst() 435 opts->func_inst.free_func_inst = geth_free_inst; in geth_alloc_inst() 443 config_group_init_type_name(&opts->func_inst.group, "", in geth_alloc_inst() 446 return &opts->func_inst; in geth_alloc_inst() 474 opts = container_of(fi, struct f_gether_opts, func_inst); in geth_alloc()
|
| H A D | f_loopback.c | 223 opts = container_of(f->fi, struct f_lb_opts, func_inst); in lb_free_func() 432 lb_opts = container_of(fi, struct f_lb_opts, func_inst); in loopback_alloc() 457 func_inst.group); in to_f_lb_opts() 464 usb_put_function_instance(&lb_opts->func_inst); in lb_attr_release() 563 lb_opts = container_of(fi, struct f_lb_opts, func_inst); in lb_free_instance() 575 lb_opts->func_inst.free_func_inst = lb_free_instance; in loopback_alloc_instance() 579 config_group_init_type_name(&lb_opts->func_inst.group, "", in loopback_alloc_instance() 582 return &lb_opts->func_inst; in loopback_alloc_instance()
|
| H A D | f_obex.c | 383 func_inst.group); in to_f_serial_opts() 390 usb_put_function_instance(&opts->func_inst); in obex_attr_release() 419 opts = container_of(f, struct f_serial_opts, func_inst); in obex_free_inst() 433 opts->func_inst.free_func_inst = obex_free_inst; in obex_alloc_inst() 439 config_group_init_type_name(&opts->func_inst.group, "", in obex_alloc_inst() 442 return &opts->func_inst; in obex_alloc_inst() 468 opts = container_of(fi, struct f_serial_opts, func_inst); in obex_alloc()
|
| H A D | f_tcm.c | 32 struct usb_function_instance *func_inst; member 1657 if (tpg_instances[i].func_inst && !tpg_instances[i].tpg) in usbg_make_tpg() 1662 opts = container_of(tpg_instances[i].func_inst, struct f_tcm_opts, in usbg_make_tpg() 1663 func_inst); in usbg_make_tpg() 1674 &opts->func_inst.group.cg_item); in usbg_make_tpg() 1702 tpg->fi = tpg_instances[i].func_inst; in usbg_make_tpg() 1715 configfs_undepend_item_unlocked(&opts->func_inst.group.cg_item); in usbg_make_tpg() 1743 opts = container_of(tpg_instances[i].func_inst, in usbg_drop_tpg() 1744 struct f_tcm_opts, func_inst); in usbg_drop_tpg() 1750 &opts->func_inst.group.cg_item); in usbg_drop_tpg() [all …]
|
| H A D | f_eem.c | 255 eem_opts = container_of(f->fi, struct f_eem_opts, func_inst); in eem_bind() 563 func_inst.group); in to_f_eem_opts() 599 opts = container_of(f, struct f_eem_opts, func_inst); in eem_free_inst() 615 opts->func_inst.free_func_inst = eem_free_inst; in eem_alloc_inst() 623 config_group_init_type_name(&opts->func_inst.group, "", &eem_func_type); in eem_alloc_inst() 625 return &opts->func_inst; in eem_alloc_inst() 634 opts = container_of(f->fi, struct f_eem_opts, func_inst); in eem_free() 658 opts = container_of(fi, struct f_eem_opts, func_inst); in eem_alloc()
|
| H A D | f_rndis.c | 673 rndis_opts = container_of(f->fi, struct f_rndis_opts, func_inst); in rndis_bind() 811 opts = container_of(f, struct f_rndis_opts, func_inst); in rndis_borrow_net() 824 func_inst.group); in to_f_rndis_opts() 872 opts = container_of(f, struct f_rndis_opts, func_inst); in rndis_free_inst() 897 opts->func_inst.free_func_inst = rndis_free_inst; in rndis_alloc_inst() 912 config_group_init_type_name(&opts->func_inst.group, "", in rndis_alloc_inst() 915 usb_os_desc_prepare_interf_dir(&opts->func_inst.group, 1, descs, in rndis_alloc_inst() 918 rndis_free_inst(&opts->func_inst); in rndis_alloc_inst() 923 return &opts->func_inst; in rndis_alloc_inst() 933 opts = container_of(f->fi, struct f_rndis_opts, func_inst); in rndis_free() [all …]
|
| H A D | u_uvc.h | 20 #define fi_to_f_uvc_opts(f) container_of(f, struct f_uvc_opts, func_inst) 23 struct usb_function_instance func_inst; member
|
| H A D | f_phonet.c | 491 phonet_opts = container_of(f->fi, struct f_phonet_opts, func_inst); in pn_bind() 578 func_inst.group); in to_f_phonet_opts() 585 usb_put_function_instance(&opts->func_inst); in phonet_attr_release() 614 opts = container_of(f, struct f_phonet_opts, func_inst); in phonet_free_inst() 630 opts->func_inst.free_func_inst = phonet_free_inst; in phonet_alloc_inst() 638 config_group_init_type_name(&opts->func_inst.group, "", in phonet_alloc_inst() 641 return &opts->func_inst; in phonet_alloc_inst() 676 opts = container_of(fi, struct f_phonet_opts, func_inst); in phonet_alloc()
|
| H A D | f_uac1_legacy.c | 331 func_inst); in f_audio_out_ep_complete() 586 opts = container_of(f->fi, struct f_uac1_legacy_opts, func_inst); in f_audio_set_alt() 709 audio_opts = container_of(f->fi, struct f_uac1_legacy_opts, func_inst); in f_audio_bind() 805 func_inst.group); in to_f_uac1_opts() 812 usb_put_function_instance(&opts->func_inst); in f_uac1_attr_release() 931 opts = container_of(f, struct f_uac1_legacy_opts, func_inst); in f_audio_free_inst() 950 opts->func_inst.free_func_inst = f_audio_free_inst; in f_audio_alloc_inst() 952 config_group_init_type_name(&opts->func_inst.group, "", in f_audio_alloc_inst() 961 return &opts->func_inst; in f_audio_alloc_inst() 970 opts = container_of(f->fi, struct f_uac1_legacy_opts, func_inst); in f_audio_free() [all …]
|
| H A D | f_acm.c | 724 opts = container_of(f->fi, struct f_serial_opts, func_inst); in acm_free_func() 769 opts = container_of(fi, struct f_serial_opts, func_inst); in acm_alloc_func() 786 func_inst.group); in to_f_serial_opts() 793 usb_put_function_instance(&opts->func_inst); in acm_attr_release() 874 opts = container_of(fi, struct f_serial_opts, func_inst); in acm_free_instance() 889 opts->func_inst.free_func_inst = acm_free_instance; in acm_alloc_instance() 896 config_group_init_type_name(&opts->func_inst.group, "", in acm_alloc_instance() 898 return &opts->func_inst; in acm_alloc_instance()
|
| H A D | f_ecm.c | 689 ecm_opts = container_of(f->fi, struct f_ecm_opts, func_inst); in ecm_bind() 802 func_inst.group); in to_f_ecm_opts() 838 opts = container_of(f, struct f_ecm_opts, func_inst); in ecm_free_inst() 854 opts->func_inst.free_func_inst = ecm_free_inst; in ecm_alloc_inst() 862 config_group_init_type_name(&opts->func_inst.group, "", &ecm_func_type); in ecm_alloc_inst() 864 return &opts->func_inst; in ecm_alloc_inst() 899 opts = container_of(f->fi, struct f_ecm_opts, func_inst); in ecm_free() 934 opts = container_of(fi, struct f_ecm_opts, func_inst); in ecm_alloc()
|
| H A D | u_fs.h | 290 struct usb_function_instance func_inst; member 298 return container_of(fi, struct f_fs_opts, func_inst); in to_f_fs_opts()
|
| H A D | f_mass_storage.h | 72 struct usb_function_instance func_inst; member 115 return container_of(fi, struct fsg_opts, func_inst); in fsg_opts_from_func_inst()
|
| H A D | f_midi.c | 887 opts = container_of(f->fi, struct f_midi_opts, func_inst); in f_midi_bind() 1083 func_inst.group); in to_f_midi_opts() 1090 usb_put_function_instance(&opts->func_inst); in midi_attr_release() 1262 opts = container_of(f, struct f_midi_opts, func_inst); in f_midi_free_inst() 1286 opts->func_inst.free_func_inst = f_midi_free_inst; in f_midi_alloc_inst() 1296 config_group_init_type_name(&opts->func_inst.group, "", in f_midi_alloc_inst() 1299 return &opts->func_inst; in f_midi_alloc_inst() 1309 opts = container_of(f->fi, struct f_midi_opts, func_inst); in f_midi_free() 1320 f_midi_free_inst(&opts->func_inst); in f_midi_free() 1353 opts = container_of(fi, struct f_midi_opts, func_inst); in f_midi_alloc()
|
| H A D | f_sourcesink.c | 458 opts = container_of(f->fi, struct f_ss_opts, func_inst); in sourcesink_free_func() 851 ss_opts = container_of(fi, struct f_ss_opts, func_inst); in source_sink_alloc_func() 883 func_inst.group); in to_f_ss_opts() 890 usb_put_function_instance(&ss_opts->func_inst); in ss_attr_release() 1292 ss_opts = container_of(fi, struct f_ss_opts, func_inst); in source_sink_free_instance() 1304 ss_opts->func_inst.free_func_inst = source_sink_free_instance; in source_sink_alloc_inst() 1311 config_group_init_type_name(&ss_opts->func_inst.group, "", in source_sink_alloc_inst() 1314 return &ss_opts->func_inst; in source_sink_alloc_inst()
|
| H A D | u_gether.h | 19 struct usb_function_instance func_inst; member
|
| H A D | u_eem.h | 19 struct usb_function_instance func_inst; member
|
| H A D | u_ecm.h | 19 struct usb_function_instance func_inst; member
|
| H A D | u_printer.h | 19 struct usb_function_instance func_inst; member
|
| H A D | u_tcm.h | 29 struct usb_function_instance func_inst; member
|
| /linux/net/9p/ |
| H A D | trans_usbg.c | 66 struct usb_function_instance func_inst; member 462 struct f_usb9pfs_opts, func_inst); in p9_usbg_close() 699 opts = container_of(f->fi, struct f_usb9pfs_opts, func_inst); in usb9pfs_func_bind() 730 opts = container_of(f->fi, struct f_usb9pfs_opts, func_inst); in usb9pfs_free_func() 769 usb9pfs_opts = container_of(fi, struct f_usb9pfs_opts, func_inst); in usb9pfs_alloc() 792 func_inst.group); in to_f_usb9pfs_opts() 797 return container_of(fi, struct f_usb9pfs_opts, func_inst); in fi_to_f_usb9pfs_opts() 804 usb_put_function_instance(&usb9pfs_opts->func_inst); in usb9pfs_attr_release() 898 container_of(fi, struct f_usb9pfs_opts, func_inst); in usb9pfs_free_instance() 919 usb9pfs_opts->func_inst.set_inst_name = usb9pfs_set_inst_tag; in usb9pfs_alloc_instance() [all …]
|
| /linux/drivers/usb/gadget/legacy/ |
| H A D | g_ffs.c | 324 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in gfs_bind() 333 func_inst); in gfs_bind() 347 func_inst)->net; in gfs_bind() 369 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in gfs_bind() 375 func_inst); in gfs_bind()
|
| H A D | ether.c | 320 eem_opts = container_of(fi_eem, struct f_eem_opts, func_inst); in eth_bind() 334 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in eth_bind() 347 func_inst); in eth_bind()
|
| H A D | audio.c | 283 uac2_opts = container_of(fi_uac2, struct f_uac2_opts, func_inst); in audio_bind() 301 uac1_opts = container_of(fi_uac1, struct f_uac1_opts, func_inst); in audio_bind() 316 uac1_opts = container_of(fi_uac1, struct f_uac1_legacy_opts, func_inst); in audio_bind()
|