Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/gadget/
Dcore.c175 struct usb_interface_instance *interface_instance; in usbd_device_alternate_instance() local
177 …if ((interface_instance = usbd_device_interface_instance (device, port, configuration, interface))… in usbd_device_alternate_instance()
181 if (alternate >= interface_instance->alternates) { in usbd_device_alternate_instance()
185 return interface_instance->alternates_instance_array + alternate; in usbd_device_alternate_instance()
235 struct usb_interface_instance *interface_instance; in usbd_device_interface_descriptor() local
236 …if (!(interface_instance = usbd_device_interface_instance (device, port, configuration, interface)… in usbd_device_interface_descriptor()
239 if ((alternate < 0) || (alternate >= interface_instance->alternates)) { in usbd_device_interface_descriptor()
242 return (interface_instance->alternates_instance_array[alternate].interface_descriptor); in usbd_device_interface_descriptor()
/external/u-boot/drivers/serial/
Dusbtty.c66 static struct usb_interface_instance interface_instance[MAX_INTERFACES]; variable
664 config_instance->interface_instance_array = interface_instance; in usbtty_init_instances()
667 memset (interface_instance, 0, in usbtty_init_instances()
669 interface_instance->alternates = 1; in usbtty_init_instances()
670 interface_instance->alternates_instance_array = alternate_instance; in usbtty_init_instances()