Lines Matching refs:descriptors
64 struct usb_descriptor_header **descriptors; in function_descriptors() local
73 descriptors = f->ssp_descriptors; in function_descriptors()
74 if (descriptors) in function_descriptors()
78 descriptors = f->ss_descriptors; in function_descriptors()
79 if (descriptors) in function_descriptors()
83 descriptors = f->hs_descriptors; in function_descriptors()
84 if (descriptors) in function_descriptors()
88 descriptors = f->fs_descriptors; in function_descriptors()
96 return descriptors; in function_descriptors()
536 if (config->descriptors) { in config_buf()
538 config->descriptors); in config_buf()
547 struct usb_descriptor_header **descriptors; in config_buf() local
549 descriptors = function_descriptors(f, speed); in config_buf()
550 if (!descriptors) in config_buf()
553 (const struct usb_descriptor_header **) descriptors); in config_buf()
907 struct usb_descriptor_header **descriptors; in set_config() local
918 descriptors = function_descriptors(f, gadget->speed); in set_config()
920 for (; *descriptors; ++descriptors) { in set_config()
924 if ((*descriptors)->bDescriptorType != USB_DT_ENDPOINT) in set_config()
927 ep = (struct usb_endpoint_descriptor *)*descriptors; in set_config()
1810 memcpy(req->buf, config->descriptors[0], value); in composite_setup()