/linux-6.6.21/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_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_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_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 | 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_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 | 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 | 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_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_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 | u_gether.h | 19 struct usb_function_instance func_inst; member
|
D | u_ecm.h | 19 struct usb_function_instance func_inst; member
|
D | u_eem.h | 19 struct usb_function_instance func_inst; member
|
D | u_printer.h | 19 struct usb_function_instance func_inst; member
|
D | u_midi.h | 19 struct usb_function_instance func_inst; member
|
D | u_tcm.h | 29 struct usb_function_instance func_inst; member
|
D | u_ncm.h | 19 struct usb_function_instance func_inst; member
|
/linux-6.6.21/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()
|