Home
last modified time | relevance | path

Searched refs:hs_descriptors (Results 1 – 20 of 20) sorted by relevance

/linux-3.4.99/drivers/usb/gadget/
Df_subset.c338 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()
Df_eem.c293 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()
Df_ecm.c763 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()
Df_rndis.c741 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()
Df_hid.c503 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()
Df_serial.c230 f->hs_descriptors = usb_copy_descriptors(gser_hs_function); in gser_bind()
267 usb_free_descriptors(f->hs_descriptors); in gser_unbind()
Df_uvc.c472 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()
Df_obex.c349 f->hs_descriptors = usb_copy_descriptors(hs_function); in obex_bind()
386 usb_free_descriptors(f->hs_descriptors); in obex_unbind()
Dcomposite.c142 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()
Df_acm.c680 f->hs_descriptors = usb_copy_descriptors(acm_hs_function); in acm_bind()
725 usb_free_descriptors(f->hs_descriptors); in acm_unbind()
Df_uac1.c671 f->hs_descriptors = usb_copy_descriptors(f_audio_desc); in f_audio_bind()
687 usb_free_descriptors(f->hs_descriptors); in f_audio_unbind()
Df_ncm.c1230 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()
Df_loopback.c209 f->hs_descriptors = hs_loopback_descs; in loopback_bind()
Df_midi.c419 usb_free_descriptors(f->hs_descriptors); in f_midi_unbind()
890 f->hs_descriptors = usb_copy_descriptors(midi_function); in f_midi_bind()
Df_sourcesink.c222 f->hs_descriptors = hs_source_sink_descs; in sourcesink_bind()
Df_mass_storage.c2990 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()
Df_fs.c2035 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()
Df_phonet.c525 fp->function.hs_descriptors = hs_pn_function; in pn_bind()
Df_uac2.c999 fn->hs_descriptors = usb_copy_descriptors(hs_audio_desc); in afunc_bind()
1039 usb_free_descriptors(fn->hs_descriptors); in afunc_unbind()
/linux-3.4.99/include/linux/usb/
Dcomposite.h116 struct usb_descriptor_header **hs_descriptors; member