Lines Matching refs:descriptors
257 struct usb_descriptor *descriptors; in modify_config_descriptor_byspeed() local
290 descriptors = (struct usb_descriptor *)req->buf; in modify_config_descriptor_byspeed()
295 i += descriptors->bLength; in modify_config_descriptor_byspeed()
296 if (descriptors->bDescriptorType != UDESC_ENDPOINT_SS_COMP) in modify_config_descriptor_byspeed()
299 descriptors, descriptors->bLength); in modify_config_descriptor_byspeed()
305 new_config_len += descriptors->bLength; in modify_config_descriptor_byspeed()
307 descriptors = (struct usb_descriptor *)((char *)descriptors + descriptors->bLength); in modify_config_descriptor_byspeed()
339 struct usb_descriptor *descriptors; in composite_get_config_descriptor() local
351 descriptors = (struct usb_descriptor *)req->buf; in composite_get_config_descriptor()
355 i += descriptors->bLength; in composite_get_config_descriptor()
356 if (descriptors->bDescriptorType != UDESC_ENDPOINT) in composite_get_config_descriptor()
358 descriptors = (struct usb_descriptor *)((char *)descriptors + descriptors->bLength); in composite_get_config_descriptor()
362 ep_des = (struct usb_endpoint_descriptor *)descriptors; in composite_get_config_descriptor()
364 descriptors = (struct usb_descriptor *)((char *)descriptors + descriptors->bLength); in composite_get_config_descriptor()