Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/
H A Dconfig.c179 f->hs_descriptors = usb_copy_descriptors(hs); in usb_assign_descriptors()
180 if (!f->hs_descriptors) in usb_assign_descriptors()
204 usb_free_descriptors(f->hs_descriptors); in usb_free_all_descriptors()
205 f->hs_descriptors = NULL; in usb_free_all_descriptors()
H A Dcomposite.c85 descriptors = f->hs_descriptors; in function_descriptors()
189 if (f->hs_descriptors) { in config_ep_by_speed_and_alt()
190 speed_desc = f->hs_descriptors; in config_ep_by_speed_and_alt()
348 if (!config->highspeed && function->hs_descriptors) in usb_add_function()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0014-add-u3-ss-descriptor-support-for-adb.patch142 +static struct func_desc hs_descriptors = {
144 + .bLength = sizeof(hs_descriptors.intf),
154 + .bLength = sizeof(hs_descriptors.source),
161 + .bLength = sizeof(hs_descriptors.sink),
309 + v2_descriptor.hs_descs = hs_descriptors;
333 + v1_descriptor.hs_descs = hs_descriptors;
/openbmc/u-boot/include/linux/usb/
H A Dcomposite.h97 struct usb_descriptor_header **hs_descriptors; member
/openbmc/u-boot/drivers/usb/gadget/
H A Df_dfu.c227 f_dfu->usb_function.hs_descriptors = f_dfu->function; in to_dfu_mode()
235 f_dfu->usb_function.hs_descriptors = dfu_runtime_descs; in to_runtime_mode()
802 f_dfu->usb_function.hs_descriptors = dfu_runtime_descs; in dfu_bind_config()
H A Dcomposite.c57 if (!config->highspeed && function->hs_descriptors) in usb_add_function()
195 descriptors = f->hs_descriptors; in config_buf()
370 descriptors = f->hs_descriptors; in set_config()
H A Df_thor.c841 f->hs_descriptors = (struct usb_descriptor_header **) in thor_func_bind()
844 if (!f->hs_descriptors) in thor_func_bind()
H A Df_fastboot.c184 f->hs_descriptors = fb_hs_function; in fastboot_bind()
H A Df_sdp.c592 sdp_func->usb_function.hs_descriptors = sdp_runtime_descs; in sdp_bind_config()
H A Df_mass_storage.c2644 free(fsg->function.hs_descriptors); in fsg_unbind()
2687 f->hs_descriptors = usb_copy_descriptors(fsg_hs_function); in fsg_bind()
2688 if (unlikely(!f->hs_descriptors)) { in fsg_bind()
H A Df_rockusb.c181 f->hs_descriptors = rkusb_hs_function; in rockusb_bind()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_uvc.c800 f->hs_descriptors = uvc_copy_descriptors(uvc, USB_SPEED_HIGH); in uvc_function_bind()
801 if (IS_ERR(f->hs_descriptors)) { in uvc_function_bind()
802 ret = PTR_ERR(f->hs_descriptors); in uvc_function_bind()
803 f->hs_descriptors = NULL; in uvc_function_bind()
H A Df_midi.c1028 f->hs_descriptors = usb_copy_descriptors(midi_function); in f_midi_bind()
1029 if (!f->hs_descriptors) in f_midi_bind()
H A Df_fs.c2793 } else if (func->function.hs_descriptors) { in __ffs_func_bind_do_descs()
2795 func->function.hs_descriptors[(long)valuep] = desc; in __ffs_func_bind_do_descs()
3139 func->function.hs_descriptors = vla_ptr(vlabuf, d, hs_descs); in _ffs_func_bind()
3562 func->function.hs_descriptors = NULL; in ffs_func_unbind()
H A Df_midi2.c2018 f->hs_descriptors = usb_copy_descriptors(config.list); in f_midi2_bind()
2019 if (!f->hs_descriptors) { in f_midi2_bind()
/openbmc/linux/include/linux/usb/
H A Dcomposite.h185 struct usb_descriptor_header **hs_descriptors; member