Lines Matching refs:usb_state
1205 if (dev->usb_state == USB_STATE_SUSPENDED) {
1840 dev->usb_state = USB_STATE_ATTACHED;
1889 dev->usb_state = USB_STATE_ATTACHED;
2036 dev->usb_state = USB_STATE_ADDRESS;
2429 if (dev->usb_state == USB_STATE_ADDRESS) {
2600 dev->usb_state = USB_STATE_DEFAULT;
2664 dev->usb_state = USB_STATE_DEFAULT;
2679 dev->usb_state = USB_STATE_ATTACHED;
2698 dev->resume_state = dev->usb_state;
2699 dev->usb_state = USB_STATE_SUSPENDED;
2749 dev->usb_state = dev->resume_state;
2818 if (dev->usb_state == USB_STATE_SUSPENDED)
3122 dev->usb_state = USB_STATE_POWERED;
3281 dev->usb_state = USB_STATE_ATTACHED;