Lines Matching refs:state

395 	ehci->hcd.state = USB_STATE_HALT;  in ehci_reset()
460 if (!HCD_IS_RUNNING (ehci->hcd.state)) in ehci_ready()
473 ehci->hcd.state = USB_STATE_HALT; in ehci_ready()
538 ehci->hcd.state = USB_STATE_HALT; in ehci_ready()
1237 ehci->hcd.state = USB_STATE_RUNNING; in ehci_hc_swreset()
2905 unsigned char state; in qh_completions() local
2959 state = qh->qh_state; in qh_completions()
2961 stopped = (state == QH_STATE_IDLE); in qh_completions()
3163 && HCD_IS_RUNNING (ehci->hcd.state))) { in qh_completions()
3228 if (state == QH_STATE_IDLE in qh_completions()
3367 qh->qh_state = state; in qh_completions()
5053 ehci->hcd.state = USB_STATE_RUNNING; in qh_link_async()
5192 ehci->hcd.state = USB_STATE_RUNNING;
5836 && HCD_IS_RUNNING (ehci->hcd.state)) in end_unlink_async()
5841 if (HCD_IS_RUNNING (ehci->hcd.state) in end_unlink_async()
5969 if (ehci->hcd.state != USB_STATE_HALT) { in start_unlink_async()
6037 if (unlikely (ehci->hcd.state == USB_STATE_HALT)) { in start_unlink_async()
7316 ehci->hcd.state = USB_STATE_RUNNING; in ehci_start()
7434 if (hcd->state == USB_STATE_RUNNING) in ehci_start()
7511 if (hcd->state == USB_STATE_RUNNING) in ehci_stop()
7652 int ehci_suspend (struct usb_hcd *hcd, U32 state) in ehci_suspend() argument
7658 ehci_dbg (ehci, "suspend to %d\n", state); in ehci_suspend()
7662 if (hcd->state == USB_STATE_RUNNING) in ehci_suspend()
7796 hcd->state = USB_STATE_RUNNING; in ehci_resume()
8487 && HCD_IS_RUNNING (ehci->hcd.state) in ehci_urb_dequeue()
8498 } else if (!HCD_IS_RUNNING (ehci->hcd.state) && ehci->reclaim) in ehci_urb_dequeue()
8746 && HCD_IS_RUNNING (ehci->hcd.state)) { in ehci_urb_dequeue()
8991 if (!HCD_IS_RUNNING (ehci->hcd.state)) in ehci_endpoint_disable()
9349 usb_info ("remove: %s, state %x", hcd->self.bus_name, hcd->state); in usb_hcd_cpe_ehci_remove()
9351 if (HCD_IS_RUNNING (hcd->state)) in usb_hcd_cpe_ehci_remove()
9352 hcd->state = USB_STATE_QUIESCING; in usb_hcd_cpe_ehci_remove()
9358 hcd->state = USB_STATE_HALT; in usb_hcd_cpe_ehci_remove()
9376 switch (hcd->state) { in usb_hcd_cpe_ehci_suspend()
9384 hcd->state = USB_STATE_QUIESCING; in usb_hcd_cpe_ehci_suspend()
9396 if (hcd->state != USB_STATE_SUSPENDED) { in usb_hcd_cpe_ehci_resume()
9400 hcd->state = USB_STATE_RESUMING; in usb_hcd_cpe_ehci_resume()
9404 if (!HCD_IS_RUNNING (hcd->state)) { in usb_hcd_cpe_ehci_resume()
9429 extern int ehci_suspend (struct usb_hcd *hcd, U32 state);
9532 int ehci_hcd_cpe_ehci_drv_suspend(struct device_s *_dev, U32 state, U32 level) in ehci_hcd_cpe_ehci_drv_suspend() argument