Lines Matching refs:usb_state
1364 udc->usb_state = USB_STATE_ATTACHED;
1519 udc->usb_state = USB_STATE_ADDRESS;
1620 if (udc->usb_state != USB_STATE_CONFIGURED
1621 && udc->usb_state != USB_STATE_ADDRESS
1622 && udc->usb_state != USB_STATE_DEFAULT)
1726 if (udc->usb_state == USB_STATE_ADDRESS) {
1896 udc->usb_state = USB_STATE_DEFAULT;
1918 udc->usb_state = USB_STATE_ATTACHED;
1924 udc->usb_state = udc->resume_state;
1939 udc->resume_state = udc->usb_state;
1940 udc->usb_state = USB_STATE_SUSPENDED;
1974 udc->resume_state = udc->usb_state;
1975 udc->usb_state = USB_STATE_SUSPENDED;
1984 && udc->usb_state == USB_STATE_SUSPENDED) {
1989 udc->usb_state = USB_STATE_DEFAULT;
2238 udc->usb_state = USB_STATE_POWERED;