Home
last modified time | relevance | path

Searched refs:device_state (Results 1 – 6 of 6) sorted by relevance

/u-boot/drivers/usb/gadget/
A Dcore.c553 state = device->device_state; in usbd_device_event_irq()
561 device->device_state = STATE_INIT; in usbd_device_event_irq()
565 device->device_state = STATE_ATTACHED; in usbd_device_event_irq()
569 device->device_state = STATE_POWERED; in usbd_device_event_irq()
573 device->device_state = STATE_DEFAULT; in usbd_device_event_irq()
578 device->device_state = STATE_ADDRESSED; in usbd_device_event_irq()
582 device->device_state = STATE_CONFIGURED; in usbd_device_event_irq()
586 device->device_state = STATE_ADDRESSED; in usbd_device_event_irq()
608 device->device_state = STATE_POWERED; in usbd_device_event_irq()
611 device->device_state = STATE_ATTACHED; in usbd_device_event_irq()
[all …]
A Dep0.c456 if(device->device_state <= STATE_CONFIGURED){ in ep0_recv_setup()
467 switch (device->device_state) { in ep0_recv_setup()
496 usbd_device_states[device->device_state]); in ep0_recv_setup()
511 usbd_device_states[device->device_state]); in ep0_recv_setup()
593 if (device->device_state != STATE_DEFAULT) { in ep0_recv_setup()
596 usbd_device_states[device->device_state]); in ep0_recv_setup()
A Ddesignware_udc.c603 if ((ep != 0) && (udc_device->device_state < STATE_ADDRESSED)) in udc_setup_ep()
814 udc_state_transition(udc_device->device_state, STATE_POWERED); in dw_udc_plug_irq()
819 udc_state_transition(udc_device->device_state, STATE_ATTACHED); in dw_udc_plug_irq()
844 udc_state_transition(udc_device->device_state, STATE_DEFAULT); in dw_udc_dev_irq()
856 udc_state_transition(udc_device->device_state, STATE_ADDRESSED); in dw_udc_dev_irq()
872 udc_state_transition(udc_device->device_state, in dw_udc_dev_irq()
/u-boot/drivers/usb/cdns3/
A Dep0.c155 enum usb_device_state device_state = priv_dev->gadget.state; in cdns3_req_ep0_set_configuration() local
161 switch (device_state) { in cdns3_req_ep0_set_configuration()
212 enum usb_device_state device_state = priv_dev->gadget.state; in cdns3_req_ep0_set_address() local
225 if (device_state == USB_STATE_CONFIGURED) { in cdns3_req_ep0_set_address()
/u-boot/include/
A Dusbdevice.h572 usb_device_state_t device_state; /* current USB Device state */ member
/u-boot/drivers/serial/
A Dusbtty.c640 device_instance->device_state = STATE_INIT; in usbtty_init_instances()

Completed in 11 milliseconds