Searched refs:hs_descriptors (Results 1 – 20 of 20) sorted by relevance
338 f->hs_descriptors = usb_copy_descriptors(hs_eth_function); in geth_bind()339 if (!f->hs_descriptors) in geth_bind()369 if (f->hs_descriptors) in geth_bind()370 usb_free_descriptors(f->hs_descriptors); in geth_bind()389 usb_free_descriptors(f->hs_descriptors); in geth_unbind()
293 f->hs_descriptors = usb_copy_descriptors(eem_hs_function); in eem_bind()294 if (!f->hs_descriptors) in eem_bind()319 if (f->hs_descriptors) in eem_bind()320 usb_free_descriptors(f->hs_descriptors); in eem_bind()342 usb_free_descriptors(f->hs_descriptors); in eem_unbind()
763 f->hs_descriptors = usb_copy_descriptors(ecm_hs_function); in ecm_bind()764 if (!f->hs_descriptors) in ecm_bind()800 if (f->hs_descriptors) in ecm_bind()801 usb_free_descriptors(f->hs_descriptors); in ecm_bind()831 usb_free_descriptors(f->hs_descriptors); in ecm_unbind()
741 f->hs_descriptors = usb_copy_descriptors(eth_hs_function); in rndis_bind()742 if (!f->hs_descriptors) in rndis_bind()793 if (gadget_is_dualspeed(c->cdev->gadget) && f->hs_descriptors) in rndis_bind()794 usb_free_descriptors(f->hs_descriptors); in rndis_bind()827 usb_free_descriptors(f->hs_descriptors); in rndis_unbind()
503 f->hs_descriptors = usb_copy_descriptors(hidg_hs_descriptors); in hidg_bind()504 if (!f->hs_descriptors) in hidg_bind()532 usb_free_descriptors(f->hs_descriptors); in hidg_bind()552 usb_free_descriptors(f->hs_descriptors); in hidg_unbind()
230 f->hs_descriptors = usb_copy_descriptors(gser_hs_function); in gser_bind()267 usb_free_descriptors(f->hs_descriptors); in gser_unbind()
472 kfree(f->hs_descriptors); in uvc_function_unbind()519 f->hs_descriptors = uvc_copy_descriptors(uvc, USB_SPEED_HIGH); in uvc_function_bind()568 kfree(f->hs_descriptors); in uvc_function_bind()
349 f->hs_descriptors = usb_copy_descriptors(hs_function); in obex_bind()386 usb_free_descriptors(f->hs_descriptors); in obex_unbind()
142 speed_desc = f->hs_descriptors; in config_ep_by_speed()239 if (!config->highspeed && function->hs_descriptors) in usb_add_function()391 descriptors = f->hs_descriptors; in config_buf()649 descriptors = f->hs_descriptors; in set_config()
680 f->hs_descriptors = usb_copy_descriptors(acm_hs_function); in acm_bind()725 usb_free_descriptors(f->hs_descriptors); in acm_unbind()
671 f->hs_descriptors = usb_copy_descriptors(f_audio_desc); in f_audio_bind()687 usb_free_descriptors(f->hs_descriptors); in f_audio_unbind()
1230 f->hs_descriptors = usb_copy_descriptors(ncm_hs_function); in ncm_bind()1231 if (!f->hs_descriptors) in ncm_bind()1280 usb_free_descriptors(f->hs_descriptors); in ncm_unbind()
209 f->hs_descriptors = hs_loopback_descs; in loopback_bind()
419 usb_free_descriptors(f->hs_descriptors); in f_midi_unbind()890 f->hs_descriptors = usb_copy_descriptors(midi_function); in f_midi_bind()
222 f->hs_descriptors = hs_source_sink_descs; in sourcesink_bind()
2990 usb_free_descriptors(fsg->function.hs_descriptors); in fsg_unbind()3035 f->hs_descriptors = usb_copy_descriptors(fsg_hs_function); in fsg_bind()3036 if (unlikely(!f->hs_descriptors)) { in fsg_bind()3058 usb_free_descriptors(f->hs_descriptors); in fsg_bind()
2035 const int isHS = func->function.hs_descriptors != NULL; in __ffs_func_bind_do_descs()2042 func->function.hs_descriptors[(long)valuep] = desc; in __ffs_func_bind_do_descs()2208 func->function.hs_descriptors = data->hs_descs; in ffs_func_bind()
525 fp->function.hs_descriptors = hs_pn_function; in pn_bind()
999 fn->hs_descriptors = usb_copy_descriptors(hs_audio_desc); in afunc_bind()1039 usb_free_descriptors(fn->hs_descriptors); in afunc_unbind()
116 struct usb_descriptor_header **hs_descriptors; member