Home
last modified time | relevance | path

Searched refs:alternate_instance (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/usb/gadget/
Dcore.c259 struct usb_alternate_instance *alternate_instance; in usbd_device_endpoint_descriptor_index() local
261 …if (!(alternate_instance = usbd_device_alternate_instance (device, port, configuration, interface,… in usbd_device_endpoint_descriptor_index()
264 if (index >= alternate_instance->endpoints) { in usbd_device_endpoint_descriptor_index()
267 return *(alternate_instance->endpoints_descriptor_array + index); in usbd_device_endpoint_descriptor_index()
283 struct usb_alternate_instance *alternate_instance; in usbd_device_endpoint_transfersize() local
285 …if (!(alternate_instance = usbd_device_alternate_instance (device, port, configuration, interface,… in usbd_device_endpoint_transfersize()
288 if (index >= alternate_instance->endpoints) { in usbd_device_endpoint_transfersize()
291 return *(alternate_instance->endpoint_transfersize_array + index); in usbd_device_endpoint_transfersize()
/external/u-boot/drivers/serial/
Dusbtty.c67 static struct usb_alternate_instance alternate_instance[MAX_INTERFACES]; variable
670 interface_instance->alternates_instance_array = alternate_instance; in usbtty_init_instances()
673 memset (alternate_instance, 0, in usbtty_init_instances()
675 alternate_instance->interface_descriptor = interface_descriptors; in usbtty_init_instances()
676 alternate_instance->endpoints = NUM_ENDPOINTS; in usbtty_init_instances()
677 alternate_instance->endpoints_descriptor_array = ep_descriptor_ptrs; in usbtty_init_instances()