/drivers/usb/gadget/function/ |
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() 377 opts = container_of(fi, struct f_serial_opts, func_inst); in gser_alloc()
|
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()
|
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()
|
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()
|
D | f_tcm.c | 31 struct usb_function_instance *func_inst; member 1330 if (tpg_instances[i].func_inst && !tpg_instances[i].tpg) in usbg_make_tpg() 1335 opts = container_of(tpg_instances[i].func_inst, struct f_tcm_opts, in usbg_make_tpg() 1336 func_inst); in usbg_make_tpg() 1347 &opts->func_inst.group.cg_item); in usbg_make_tpg() 1374 tpg->fi = tpg_instances[i].func_inst; in usbg_make_tpg() 1387 configfs_undepend_item_unlocked(&opts->func_inst.group.cg_item); in usbg_make_tpg() 1415 opts = container_of(tpg_instances[i].func_inst, in usbg_drop_tpg() 1416 struct f_tcm_opts, func_inst); in usbg_drop_tpg() 1422 &opts->func_inst.group.cg_item); in usbg_drop_tpg() [all …]
|
D | f_eem.c | 255 eem_opts = container_of(f->fi, struct f_eem_opts, func_inst); in eem_bind() 558 func_inst.group); in to_f_eem_opts() 594 opts = container_of(f, struct f_eem_opts, func_inst); in eem_free_inst() 610 opts->func_inst.free_func_inst = eem_free_inst; in eem_alloc_inst() 618 config_group_init_type_name(&opts->func_inst.group, "", &eem_func_type); in eem_alloc_inst() 620 return &opts->func_inst; in eem_alloc_inst() 629 opts = container_of(f->fi, struct f_eem_opts, func_inst); in eem_free() 653 opts = container_of(fi, struct f_eem_opts, func_inst); in eem_alloc()
|
D | f_rndis.c | 669 rndis_opts = container_of(f->fi, struct f_rndis_opts, func_inst); in rndis_bind() 826 opts = container_of(f, struct f_rndis_opts, func_inst); in rndis_borrow_net() 839 func_inst.group); in to_f_rndis_opts() 887 opts = container_of(f, struct f_rndis_opts, func_inst); in rndis_free_inst() 912 opts->func_inst.free_func_inst = rndis_free_inst; in rndis_alloc_inst() 927 config_group_init_type_name(&opts->func_inst.group, "", in rndis_alloc_inst() 930 usb_os_desc_prepare_interf_dir(&opts->func_inst.group, 1, descs, in rndis_alloc_inst() 933 rndis_free_inst(&opts->func_inst); in rndis_alloc_inst() 938 return &opts->func_inst; in rndis_alloc_inst() 948 opts = container_of(f->fi, struct f_rndis_opts, func_inst); in rndis_free() [all …]
|
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()
|
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 …]
|
D | g_zero.h | 30 struct usb_function_instance func_inst; member 51 struct usb_function_instance func_inst; member
|
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
|
D | f_ecm.c | 685 ecm_opts = container_of(f->fi, struct f_ecm_opts, func_inst); in ecm_bind() 810 func_inst.group); in to_f_ecm_opts() 846 opts = container_of(f, struct f_ecm_opts, func_inst); in ecm_free_inst() 862 opts->func_inst.free_func_inst = ecm_free_inst; in ecm_alloc_inst() 870 config_group_init_type_name(&opts->func_inst.group, "", &ecm_func_type); in ecm_alloc_inst() 872 return &opts->func_inst; in ecm_alloc_inst() 901 opts = container_of(f->fi, struct f_ecm_opts, func_inst); in ecm_free() 936 opts = container_of(fi, struct f_ecm_opts, func_inst); in ecm_alloc()
|
D | f_acm.c | 763 opts = container_of(fi, struct f_serial_opts, func_inst); in acm_alloc_func() 776 func_inst.group); in to_f_serial_opts() 783 usb_put_function_instance(&opts->func_inst); in acm_attr_release() 833 opts = container_of(fi, struct f_serial_opts, func_inst); in acm_free_instance() 846 opts->func_inst.free_func_inst = acm_free_instance; in acm_alloc_instance() 852 config_group_init_type_name(&opts->func_inst.group, "", in acm_alloc_instance() 854 return &opts->func_inst; in acm_alloc_instance()
|
D | f_midi.c | 795 func_inst); in f_midi_unregister_card() 863 opts = container_of(midi->func.fi, struct f_midi_opts, func_inst); in f_midi_register_card() 1082 func_inst.group); in to_f_midi_opts() 1089 usb_put_function_instance(&opts->func_inst); in midi_attr_release() 1259 opts = container_of(f, struct f_midi_opts, func_inst); in f_midi_free_inst() 1285 opts->func_inst.free_func_inst = f_midi_free_inst; in f_midi_alloc_inst() 1300 config_group_init_type_name(&opts->func_inst.group, "", in f_midi_alloc_inst() 1303 return &opts->func_inst; in f_midi_alloc_inst() 1313 opts = container_of(f->fi, struct f_midi_opts, func_inst); in f_midi_free() 1325 f_midi_free_inst(&opts->func_inst); in f_midi_free() [all …]
|
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()
|
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()
|
D | f_ncm.c | 1428 ncm_opts = container_of(f->fi, struct f_ncm_opts, func_inst); in ncm_bind() 1569 func_inst.group); in to_f_ncm_opts() 1605 opts = container_of(f, struct f_ncm_opts, func_inst); in ncm_free_inst() 1627 opts->func_inst.free_func_inst = ncm_free_inst; in ncm_alloc_inst() 1639 config_group_init_type_name(&opts->func_inst.group, "", &ncm_func_type); in ncm_alloc_inst() 1641 usb_os_desc_prepare_interf_dir(&opts->func_inst.group, 1, descs, in ncm_alloc_inst() 1644 ncm_free_inst(&opts->func_inst); in ncm_alloc_inst() 1649 return &opts->func_inst; in ncm_alloc_inst() 1658 opts = container_of(f->fi, struct f_ncm_opts, func_inst); in ncm_free() 1699 opts = container_of(fi, struct f_ncm_opts, func_inst); in ncm_alloc()
|
D | f_sourcesink.c | 451 opts = container_of(f->fi, struct f_ss_opts, func_inst); in sourcesink_free_func() 844 ss_opts = container_of(fi, struct f_ss_opts, func_inst); in source_sink_alloc_func() 875 func_inst.group); in to_f_ss_opts() 882 usb_put_function_instance(&ss_opts->func_inst); in ss_attr_release() 1240 ss_opts = container_of(fi, struct f_ss_opts, func_inst); in source_sink_free_instance() 1252 ss_opts->func_inst.free_func_inst = source_sink_free_instance; in source_sink_alloc_inst() 1259 config_group_init_type_name(&ss_opts->func_inst.group, "", in source_sink_alloc_inst() 1262 return &ss_opts->func_inst; in source_sink_alloc_inst()
|
D | f_hid.c | 1044 func_inst.group); in to_f_hid_opts() 1051 usb_put_function_instance(&opts->func_inst); in hid_attr_release() 1186 opts = container_of(f, struct f_hid_opts, func_inst); in hidg_free_inst() 1212 opts->func_inst.free_func_inst = hidg_free_inst; in hidg_alloc_inst() 1213 ret = &opts->func_inst; in hidg_alloc_inst() 1234 config_group_init_type_name(&opts->func_inst.group, "", &hid_func_type); in hidg_alloc_inst() 1247 opts = container_of(f->fi, struct f_hid_opts, func_inst); in hidg_free() 1274 opts = container_of(fi, struct f_hid_opts, func_inst); in hidg_alloc()
|
D | u_eem.h | 19 struct usb_function_instance func_inst; member
|
D | u_gether.h | 19 struct usb_function_instance func_inst; member
|
D | u_ecm.h | 19 struct usb_function_instance func_inst; member
|
/drivers/usb/gadget/legacy/ |
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()
|
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()
|
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()
|