Lines Matching refs:device_state

490 	unsigned int device_state;
1742 if ((xudc->device_state == USB_STATE_CONFIGURED) &&
1746 xudc->device_state = USB_STATE_ADDRESS;
1747 usb_gadget_set_state(&xudc->gadget, xudc->device_state);
1834 if (xudc->device_state == USB_STATE_ADDRESS) {
1839 xudc->device_state = USB_STATE_CONFIGURED;
1840 usb_gadget_set_state(&xudc->gadget, xudc->device_state);
1990 if (xudc->device_state == USB_STATE_SUSPENDED) {
1991 xudc->device_state = xudc->resume_state;
1992 usb_gadget_set_state(&xudc->gadget, xudc->device_state);
2095 xudc->device_state = USB_STATE_DEFAULT;
2096 usb_gadget_set_state(&xudc->gadget, xudc->device_state);
2279 (xudc->device_state == USB_STATE_DEFAULT))
2292 if ((xudc->device_state != USB_STATE_CONFIGURED) ||
2330 if (xudc->device_state != USB_STATE_CONFIGURED)
2356 if ((xudc->device_state == USB_STATE_DEFAULT) ||
2357 ((xudc->device_state == USB_STATE_ADDRESS) &&
2417 if ((xudc->device_state != USB_STATE_CONFIGURED) &&
2418 ((xudc->device_state != USB_STATE_ADDRESS) || (ep != 0)))
2449 if (xudc->device_state == USB_STATE_DEFAULT)
2489 if ((xudc->device_state == USB_STATE_DEFAULT) &&
2491 xudc->device_state = USB_STATE_ADDRESS;
2492 usb_gadget_set_state(&xudc->gadget, xudc->device_state);
2493 } else if ((xudc->device_state == USB_STATE_ADDRESS) &&
2495 xudc->device_state = USB_STATE_DEFAULT;
2496 usb_gadget_set_state(&xudc->gadget, xudc->device_state);
2514 if (xudc->device_state == USB_STATE_CONFIGURED)
2810 xudc->device_state = USB_STATE_DEFAULT;
2811 usb_gadget_set_state(&xudc->gadget, xudc->device_state);
2870 xudc->device_state = USB_STATE_DEFAULT;
2871 usb_gadget_set_state(&xudc->gadget, xudc->device_state);
2921 xudc->device_state = USB_STATE_NOTATTACHED;
2922 usb_gadget_set_state(&xudc->gadget, xudc->device_state);
2944 xudc->resume_state = xudc->device_state;
2945 xudc->device_state = USB_STATE_SUSPENDED;
2946 usb_gadget_set_state(&xudc->gadget, xudc->device_state);