Home
last modified time | relevance | path

Searched refs:udc_device (Results 1 – 3 of 3) sorted by relevance

/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/
Ddesignware_udc.c33 static struct usb_device_instance *udc_device; variable
98 usbd_device_event_irq(udc_device, in udc_state_transition()
103 usbd_device_event_irq(udc_device, DEVICE_RESET, 0); in udc_state_transition()
107 usbd_device_event_irq(udc_device, in udc_state_transition()
112 usbd_device_event_irq(udc_device, DEVICE_CONFIGURED, 0); in udc_state_transition()
121 usbd_device_event_irq(udc_device, in udc_state_transition()
126 usbd_device_event_irq(udc_device, DEVICE_RESET, 0); in udc_state_transition()
130 usbd_device_event_irq(udc_device, in udc_state_transition()
135 usbd_device_event_irq(udc_device, DEVICE_HUB_RESET, 0); in udc_state_transition()
454 for (i = 0; i < udc_device->bus->max_endpoints; i++) { in dw_find_ep()
[all …]
Dpxa27x_udc.c25 static struct usb_device_instance *udc_device; variable
398 usbd_device_event_irq(udc_device, DEVICE_CONFIGURED, 0); in udc_state_changed()
436 usbd_device_event_irq(udc_device, DEVICE_RESET, 0); in udc_irq()
448 udc_handle_ep0(udc_device->bus->endpoint_array); in udc_irq()
451 endpoint = udc_device->bus->endpoint_array; in udc_irq()
452 for (i = 0; i < udc_device->bus->max_endpoints; i++) { in udc_irq()
636 udc_device = device; in udc_enable()
638 ep0_urb = usbd_alloc_urb(udc_device, in udc_enable()
639 udc_device->bus->endpoint_array); in udc_enable()
663 udc_device = NULL; in udc_disable()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/usb/musb/
Dmusb_udc.c102 static struct usb_device_instance *udc_device; variable
196 writeb(udc_device->address, &musbr->faddr); in musb_peri_reset()
256 writeb(udc_device->address, &musbr->faddr); in musb_peri_ep0_set_address()
260 if (udc_device->address == faddr) { in musb_peri_ep0_set_address()
262 usbd_device_event_irq(udc_device, DEVICE_ADDRESS_ASSIGNED, 0); in musb_peri_ep0_set_address()
265 __PRETTY_FUNCTION__, udc_device->address); in musb_peri_ep0_set_address()
271 udc_device->address, faddr); in musb_peri_ep0_set_address()
316 usbd_device_event_irq(udc_device, DEVICE_CONFIGURED, 0); in musb_peri_ep0_zero_data_request()
381 if (udc_device->address != faddr) { in musb_peri_ep0_idle()
385 udc_device->address, faddr); in musb_peri_ep0_idle()
[all …]