Lines Matching refs:device_instance
61 static struct usb_device_instance device_instance[1]; variable
559 udc_startup_events (device_instance);/* Enable dev, init udc pointers */ in drv_usbtty_init()
637 memset (device_instance, 0, sizeof (struct usb_device_instance)); in usbtty_init_instances()
638 device_instance->device_state = STATE_INIT; in usbtty_init_instances()
639 device_instance->device_descriptor = &device_descriptor; in usbtty_init_instances()
641 device_instance->qualifier_descriptor = &qualifier_descriptor; in usbtty_init_instances()
643 device_instance->event = usbtty_event_handler; in usbtty_init_instances()
644 device_instance->cdc_recv_setup = usbtty_cdc_setup; in usbtty_init_instances()
645 device_instance->bus = bus_instance; in usbtty_init_instances()
646 device_instance->configurations = NUM_CONFIGS; in usbtty_init_instances()
647 device_instance->configuration_instance_array = config_instance; in usbtty_init_instances()
651 bus_instance->device = device_instance; in usbtty_init_instances()
685 udc_setup_ep (device_instance, 0, &endpoint_instance[0]); in usbtty_init_instances()
714 usbd_alloc_urb (device_instance, in usbtty_init_instances()
718 usbd_alloc_urb (device_instance, in usbtty_init_instances()
729 udc_setup_ep (device_instance, i, &endpoint_instance[i]); in usbtty_init_endpoints()
850 current_urb = next_urb (device_instance, endpoint); in write_buffer()