Home
last modified time | relevance | path

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

/u-boot/drivers/usb/gadget/
A Dcore.c139 struct usb_interface_instance *interface_instance; in usbd_device_alternate_instance() local
141 …if ((interface_instance = usbd_device_interface_instance (device, port, configuration, interface))… in usbd_device_alternate_instance()
145 if (alternate >= interface_instance->alternates) { in usbd_device_alternate_instance()
149 return interface_instance->alternates_instance_array + alternate; in usbd_device_alternate_instance()
199 struct usb_interface_instance *interface_instance; in usbd_device_interface_descriptor() local
200 …if (!(interface_instance = usbd_device_interface_instance (device, port, configuration, interface)… in usbd_device_interface_descriptor()
203 if ((alternate < 0) || (alternate >= interface_instance->alternates)) { in usbd_device_interface_descriptor()
206 return (interface_instance->alternates_instance_array[alternate].interface_descriptor); in usbd_device_interface_descriptor()
/u-boot/drivers/serial/
A 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()

Completed in 6 milliseconds