Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Dcore.c174 struct usb_interface_instance *interface_instance; in usbd_device_alternate_instance() local
176 …if ((interface_instance = usbd_device_interface_instance (device, port, configuration, interface))… in usbd_device_alternate_instance()
180 if (alternate >= interface_instance->alternates) { in usbd_device_alternate_instance()
184 return interface_instance->alternates_instance_array + alternate; in usbd_device_alternate_instance()
234 struct usb_interface_instance *interface_instance; in usbd_device_interface_descriptor() local
235 …if (!(interface_instance = usbd_device_interface_instance (device, port, configuration, interface)… in usbd_device_interface_descriptor()
238 if ((alternate < 0) || (alternate >= interface_instance->alternates)) { in usbd_device_interface_descriptor()
241 return (interface_instance->alternates_instance_array[alternate].interface_descriptor); in usbd_device_interface_descriptor()
/openbmc/u-boot/drivers/serial/
H A Dusbtty.c64 static struct usb_interface_instance interface_instance[MAX_INTERFACES]; variable
662 config_instance->interface_instance_array = interface_instance; in usbtty_init_instances()
665 memset (interface_instance, 0, in usbtty_init_instances()
667 interface_instance->alternates = 1; in usbtty_init_instances()
668 interface_instance->alternates_instance_array = alternate_instance; in usbtty_init_instances()