Lines Matching full:ehci

3  * Enhanced Host Controller Interface (EHCI) driver for USB.
43 * EHCI hc_driver implementation ... experimental, incomplete.
57 #define DRIVER_DESC "USB 2.0 'Enhanced' Host Controller (EHCI) Driver"
97 #include "ehci.h"
110 static unsigned ehci_moschip_read_frame_index(struct ehci_hcd *ehci) in ehci_moschip_read_frame_index() argument
114 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
116 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
120 static inline unsigned ehci_read_frame_index(struct ehci_hcd *ehci) in ehci_read_frame_index() argument
122 if (ehci->frame_index_bug) in ehci_read_frame_index()
123 return ehci_moschip_read_frame_index(ehci); in ehci_read_frame_index()
124 return ehci_readl(ehci, &ehci->regs->frame_index); in ehci_read_frame_index()
127 #include "ehci-dbg.c"
148 int ehci_handshake(struct ehci_hcd *ehci, void __iomem *ptr, in ehci_handshake() argument
154 result = ehci_readl(ehci, ptr); in ehci_handshake()
168 static int tdi_in_host_mode (struct ehci_hcd *ehci) in tdi_in_host_mode() argument
172 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_in_host_mode()
177 * Force HC to halt state from unknown (EHCI spec section 2.3).
180 static int ehci_halt (struct ehci_hcd *ehci) in ehci_halt() argument
184 spin_lock_irq(&ehci->lock); in ehci_halt()
187 ehci_writel(ehci, 0, &ehci->regs->intr_enable); in ehci_halt()
189 if (ehci_is_TDI(ehci) && !tdi_in_host_mode(ehci)) { in ehci_halt()
190 spin_unlock_irq(&ehci->lock); in ehci_halt()
195 * This routine gets called during probe before ehci->command in ehci_halt()
198 ehci->command &= ~CMD_RUN; in ehci_halt()
199 temp = ehci_readl(ehci, &ehci->regs->command); in ehci_halt()
201 ehci_writel(ehci, temp, &ehci->regs->command); in ehci_halt()
203 spin_unlock_irq(&ehci->lock); in ehci_halt()
204 synchronize_irq(ehci_to_hcd(ehci)->irq); in ehci_halt()
206 return ehci_handshake(ehci, &ehci->regs->status, in ehci_halt()
210 /* put TDI/ARC silicon into EHCI mode */
211 static void tdi_reset (struct ehci_hcd *ehci) in tdi_reset() argument
215 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_reset()
221 if (ehci_big_endian_mmio(ehci)) in tdi_reset()
223 ehci_writel(ehci, tmp, &ehci->regs->usbmode); in tdi_reset()
230 int ehci_reset(struct ehci_hcd *ehci) in ehci_reset() argument
233 u32 command = ehci_readl(ehci, &ehci->regs->command); in ehci_reset()
235 /* If the EHCI debug controller is active, special care must be in ehci_reset()
237 if (ehci->debug && !dbgp_reset_prep(ehci_to_hcd(ehci))) in ehci_reset()
238 ehci->debug = NULL; in ehci_reset()
241 dbg_cmd (ehci, "reset", command); in ehci_reset()
242 ehci_writel(ehci, command, &ehci->regs->command); in ehci_reset()
243 ehci->rh_state = EHCI_RH_HALTED; in ehci_reset()
244 ehci->next_statechange = jiffies; in ehci_reset()
245 retval = ehci_handshake(ehci, &ehci->regs->command, in ehci_reset()
248 if (ehci->has_hostpc) { in ehci_reset()
249 ehci_writel(ehci, USBMODE_EX_HC | USBMODE_EX_VBPS, in ehci_reset()
250 &ehci->regs->usbmode_ex); in ehci_reset()
251 ehci_writel(ehci, TXFIFO_DEFAULT, &ehci->regs->txfill_tuning); in ehci_reset()
256 if (ehci_is_TDI(ehci)) in ehci_reset()
257 tdi_reset (ehci); in ehci_reset()
259 if (ehci->debug) in ehci_reset()
260 dbgp_external_startup(ehci_to_hcd(ehci)); in ehci_reset()
262 ehci->port_c_suspend = ehci->suspended_ports = in ehci_reset()
263 ehci->resuming_ports = 0; in ehci_reset()
272 static void ehci_quiesce (struct ehci_hcd *ehci) in ehci_quiesce() argument
276 if (ehci->rh_state != EHCI_RH_RUNNING) in ehci_quiesce()
280 temp = (ehci->command << 10) & (STS_ASS | STS_PSS); in ehci_quiesce()
281 ehci_handshake(ehci, &ehci->regs->status, STS_ASS | STS_PSS, temp, in ehci_quiesce()
285 spin_lock_irq(&ehci->lock); in ehci_quiesce()
286 ehci->command &= ~(CMD_ASE | CMD_PSE); in ehci_quiesce()
287 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_quiesce()
288 spin_unlock_irq(&ehci->lock); in ehci_quiesce()
291 ehci_handshake(ehci, &ehci->regs->status, STS_ASS | STS_PSS, 0, in ehci_quiesce()
297 static void end_iaa_cycle(struct ehci_hcd *ehci);
298 static void end_unlink_async(struct ehci_hcd *ehci);
299 static void unlink_empty_async(struct ehci_hcd *ehci);
300 static void ehci_work(struct ehci_hcd *ehci);
301 static void start_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh);
302 static void end_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh);
303 static int ehci_port_power(struct ehci_hcd *ehci, int portnum, bool enable);
305 #include "ehci-timer.c"
306 #include "ehci-hub.c"
307 #include "ehci-mem.c"
308 #include "ehci-q.c"
309 #include "ehci-sched.c"
310 #include "ehci-sysfs.c"
318 static void ehci_turn_off_all_ports(struct ehci_hcd *ehci) in ehci_turn_off_all_ports() argument
320 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_turn_off_all_ports()
323 spin_unlock_irq(&ehci->lock); in ehci_turn_off_all_ports()
324 ehci_port_power(ehci, port, false); in ehci_turn_off_all_ports()
325 spin_lock_irq(&ehci->lock); in ehci_turn_off_all_ports()
326 ehci_writel(ehci, PORT_RWC_BITS, in ehci_turn_off_all_ports()
327 &ehci->regs->port_status[port]); in ehci_turn_off_all_ports()
335 static void ehci_silence_controller(struct ehci_hcd *ehci) in ehci_silence_controller() argument
337 ehci_halt(ehci); in ehci_silence_controller()
339 spin_lock_irq(&ehci->lock); in ehci_silence_controller()
340 ehci->rh_state = EHCI_RH_HALTED; in ehci_silence_controller()
341 ehci_turn_off_all_ports(ehci); in ehci_silence_controller()
344 ehci_writel(ehci, 0, &ehci->regs->configured_flag); in ehci_silence_controller()
347 ehci_readl(ehci, &ehci->regs->configured_flag); in ehci_silence_controller()
348 spin_unlock_irq(&ehci->lock); in ehci_silence_controller()
357 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_shutdown() local
365 if (!ehci->sbrn) in ehci_shutdown()
368 spin_lock_irq(&ehci->lock); in ehci_shutdown()
369 ehci->shutdown = true; in ehci_shutdown()
370 ehci->rh_state = EHCI_RH_STOPPING; in ehci_shutdown()
371 ehci->enabled_hrtimer_events = 0; in ehci_shutdown()
372 spin_unlock_irq(&ehci->lock); in ehci_shutdown()
374 ehci_silence_controller(ehci); in ehci_shutdown()
376 hrtimer_cancel(&ehci->hrtimer); in ehci_shutdown()
383 * it calls driver completion functions, after dropping ehci->lock.
385 static void ehci_work (struct ehci_hcd *ehci) in ehci_work() argument
387 /* another CPU may drop ehci->lock during a schedule scan while in ehci_work()
391 if (ehci->scanning) { in ehci_work()
392 ehci->need_rescan = true; in ehci_work()
395 ehci->scanning = true; in ehci_work()
398 ehci->need_rescan = false; in ehci_work()
399 if (ehci->async_count) in ehci_work()
400 scan_async(ehci); in ehci_work()
401 if (ehci->intr_count > 0) in ehci_work()
402 scan_intr(ehci); in ehci_work()
403 if (ehci->isoc_count > 0) in ehci_work()
404 scan_isoc(ehci); in ehci_work()
405 if (ehci->need_rescan) in ehci_work()
407 ehci->scanning = false; in ehci_work()
413 turn_on_io_watchdog(ehci); in ehci_work()
421 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_stop() local
423 ehci_dbg (ehci, "stop\n"); in ehci_stop()
427 spin_lock_irq(&ehci->lock); in ehci_stop()
428 ehci->enabled_hrtimer_events = 0; in ehci_stop()
429 spin_unlock_irq(&ehci->lock); in ehci_stop()
431 ehci_quiesce(ehci); in ehci_stop()
432 ehci_silence_controller(ehci); in ehci_stop()
433 ehci_reset (ehci); in ehci_stop()
435 hrtimer_cancel(&ehci->hrtimer); in ehci_stop()
436 remove_sysfs_files(ehci); in ehci_stop()
437 remove_debug_files (ehci); in ehci_stop()
440 spin_lock_irq (&ehci->lock); in ehci_stop()
441 end_free_itds(ehci); in ehci_stop()
442 spin_unlock_irq (&ehci->lock); in ehci_stop()
443 ehci_mem_cleanup (ehci); in ehci_stop()
445 if (ehci->amd_pll_fix == 1) in ehci_stop()
448 dbg_status (ehci, "ehci_stop completed", in ehci_stop()
449 ehci_readl(ehci, &ehci->regs->status)); in ehci_stop()
455 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_init() local
461 spin_lock_init(&ehci->lock); in ehci_init()
466 ehci->need_io_watchdog = 1; in ehci_init()
468 hrtimer_init(&ehci->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); in ehci_init()
469 ehci->hrtimer.function = ehci_hrtimer_func; in ehci_init()
470 ehci->next_hrtimer_event = EHCI_HRTIMER_NO_EVENT; in ehci_init()
472 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_init()
478 ehci->uframe_periodic_max = 100; in ehci_init()
484 ehci->periodic_size = DEFAULT_I_TDPS; in ehci_init()
485 INIT_LIST_HEAD(&ehci->async_unlink); in ehci_init()
486 INIT_LIST_HEAD(&ehci->async_idle); in ehci_init()
487 INIT_LIST_HEAD(&ehci->intr_unlink_wait); in ehci_init()
488 INIT_LIST_HEAD(&ehci->intr_unlink); in ehci_init()
489 INIT_LIST_HEAD(&ehci->intr_qh_list); in ehci_init()
490 INIT_LIST_HEAD(&ehci->cached_itd_list); in ehci_init()
491 INIT_LIST_HEAD(&ehci->cached_sitd_list); in ehci_init()
492 INIT_LIST_HEAD(&ehci->tt_list); in ehci_init()
497 case 0: ehci->periodic_size = 1024; break; in ehci_init()
498 case 1: ehci->periodic_size = 512; break; in ehci_init()
499 case 2: ehci->periodic_size = 256; break; in ehci_init()
503 if ((retval = ehci_mem_init(ehci, GFP_KERNEL)) < 0) in ehci_init()
508 ehci->i_thresh = 0; in ehci_init()
510 ehci->i_thresh = 2 + HCC_ISOC_THRES(hcc_params); in ehci_init()
519 ehci->async->qh_next.qh = NULL; in ehci_init()
520 hw = ehci->async->hw; in ehci_init()
521 hw->hw_next = QH_NEXT(ehci, ehci->async->qh_dma); in ehci_init()
522 hw->hw_info1 = cpu_to_hc32(ehci, QH_HEAD); in ehci_init()
524 hw->hw_info1 |= cpu_to_hc32(ehci, QH_INACTIVATE); in ehci_init()
526 hw->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT); in ehci_init()
527 hw->hw_qtd_next = EHCI_LIST_END(ehci); in ehci_init()
528 ehci->async->qh_state = QH_STATE_LINKED; in ehci_init()
529 hw->hw_alt_next = QTD_NEXT(ehci, ehci->async->dummy->qtd_dma); in ehci_init()
536 ehci->has_ppcd = 1; in ehci_init()
537 ehci_dbg(ehci, "enable per-port change event\n"); in ehci_init()
553 ehci_dbg(ehci, "park %d\n", park); in ehci_init()
560 ehci->command = temp; in ehci_init()
567 ehci->old_current = ~0; in ehci_init()
574 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_run() local
580 /* EHCI spec section 4.1 */ in ehci_run()
582 ehci_writel(ehci, ehci->periodic_dma, &ehci->regs->frame_list); in ehci_run()
583 ehci_writel(ehci, (u32)ehci->async->qh_dma, &ehci->regs->async_next); in ehci_run()
586 * hcc_params controls whether ehci->regs->segment must (!!!) in ehci_run()
597 hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params); in ehci_run()
599 ehci_writel(ehci, 0, &ehci->regs->segment); in ehci_run()
603 ehci_info(ehci, "enabled 64bit DMA\n"); in ehci_run()
610 ehci->command &= ~(CMD_LRESET|CMD_IAAD|CMD_PSE|CMD_ASE|CMD_RESET); in ehci_run()
611 ehci->command |= CMD_RUN; in ehci_run()
612 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_run()
613 dbg_cmd (ehci, "init", ehci->command); in ehci_run()
622 * from the companions to the EHCI controller. If any of the in ehci_run()
630 ehci->rh_state = EHCI_RH_RUNNING; in ehci_run()
631 ehci_writel(ehci, FLAG_CF, &ehci->regs->configured_flag); in ehci_run()
632 ehci_readl(ehci, &ehci->regs->command); /* unblock posted writes */ in ehci_run()
635 ehci->last_periodic_enable = ktime_get_real(); in ehci_run()
637 temp = HC_VERSION(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_run()
638 ehci_info (ehci, in ehci_run()
639 "USB %x.%x started, EHCI %x.%02x%s\n", in ehci_run()
640 ((ehci->sbrn & 0xf0)>>4), (ehci->sbrn & 0x0f), in ehci_run()
644 ehci_writel(ehci, INTR_MASK, in ehci_run()
645 &ehci->regs->intr_enable); /* Turn On Interrupts */ in ehci_run()
651 create_debug_files(ehci); in ehci_run()
652 create_sysfs_files(ehci); in ehci_run()
659 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_setup() local
662 ehci->regs = (void __iomem *)ehci->caps + in ehci_setup()
663 HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); in ehci_setup()
664 dbg_hcs_params(ehci, "reset"); in ehci_setup()
665 dbg_hcc_params(ehci, "reset"); in ehci_setup()
668 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_setup()
670 ehci->sbrn = HCD_USB2; in ehci_setup()
677 retval = ehci_halt(ehci); in ehci_setup()
679 ehci_mem_cleanup(ehci); in ehci_setup()
683 ehci_reset(ehci); in ehci_setup()
693 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_irq() local
700 * deadlock with ehci hrtimer callback, because hrtimer callbacks run in ehci_irq()
704 spin_lock_irqsave(&ehci->lock, flags); in ehci_irq()
706 status = ehci_readl(ehci, &ehci->regs->status); in ehci_irq()
710 ehci_dbg (ehci, "device removed\n"); in ehci_irq()
721 if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { in ehci_irq()
722 spin_unlock_irqrestore(&ehci->lock, flags); in ehci_irq()
727 ehci_writel(ehci, masked_status, &ehci->regs->status); in ehci_irq()
728 cmd = ehci_readl(ehci, &ehci->regs->command); in ehci_irq()
734 INCR(ehci->stats.normal); in ehci_irq()
736 INCR(ehci->stats.error); in ehci_irq()
744 ehci->enabled_hrtimer_events &= ~BIT(EHCI_HRTIMER_IAA_WATCHDOG); in ehci_irq()
753 if (ehci->next_hrtimer_event == EHCI_HRTIMER_IAA_WATCHDOG) in ehci_irq()
754 ++ehci->next_hrtimer_event; in ehci_irq()
758 ehci_dbg(ehci, "IAA with IAAD still set?\n"); in ehci_irq()
759 if (ehci->iaa_in_progress) in ehci_irq()
760 INCR(ehci->stats.iaa); in ehci_irq()
761 end_iaa_cycle(ehci); in ehci_irq()
766 unsigned i = HCS_N_PORTS (ehci->hcs_params); in ehci_irq()
773 if (ehci->rh_state == EHCI_RH_SUSPENDED) in ehci_irq()
777 if (ehci->has_ppcd) in ehci_irq()
786 pstatus = ehci_readl(ehci, in ehci_irq()
787 &ehci->regs->port_status[i]); in ehci_irq()
791 if (!(test_bit(i, &ehci->suspended_ports) && in ehci_irq()
795 ehci->reset_done[i] == 0)) in ehci_irq()
802 ehci->reset_done[i] = jiffies + in ehci_irq()
804 set_bit(i, &ehci->resuming_ports); in ehci_irq()
805 ehci_dbg (ehci, "port %d remote wakeup\n", i + 1); in ehci_irq()
807 mod_timer(&hcd->rh_timer, ehci->reset_done[i]); in ehci_irq()
813 ehci_err(ehci, "fatal error\n"); in ehci_irq()
814 dbg_cmd(ehci, "fatal", cmd); in ehci_irq()
815 dbg_status(ehci, "fatal", status); in ehci_irq()
820 ehci->shutdown = true; in ehci_irq()
821 ehci->rh_state = EHCI_RH_STOPPING; in ehci_irq()
822 ehci->command &= ~(CMD_RUN | CMD_ASE | CMD_PSE); in ehci_irq()
823 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_irq()
824 ehci_writel(ehci, 0, &ehci->regs->intr_enable); in ehci_irq()
825 ehci_handle_controller_death(ehci); in ehci_irq()
832 ehci_work (ehci); in ehci_irq()
833 spin_unlock_irqrestore(&ehci->lock, flags); in ehci_irq()
858 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_urb_enqueue() local
873 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue()
875 return submit_async(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue()
878 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue()
880 return intr_submit(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue()
884 return itd_submit (ehci, urb, mem_flags); in ehci_urb_enqueue()
886 return sitd_submit (ehci, urb, mem_flags); in ehci_urb_enqueue()
896 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_urb_dequeue() local
901 spin_lock_irqsave (&ehci->lock, flags); in ehci_urb_dequeue()
918 start_unlink_intr(ehci, qh); in ehci_urb_dequeue()
920 start_unlink_async(ehci, qh); in ehci_urb_dequeue()
931 qh_completions(ehci, qh); in ehci_urb_dequeue()
936 spin_unlock_irqrestore (&ehci->lock, flags); in ehci_urb_dequeue()
947 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_endpoint_disable() local
955 spin_lock_irqsave (&ehci->lock, flags); in ehci_endpoint_disable()
970 reserve_release_iso_bandwidth(ehci, stream, -1); in ehci_endpoint_disable()
983 start_unlink_async(ehci, qh); in ehci_endpoint_disable()
985 start_unlink_intr(ehci, qh); in ehci_endpoint_disable()
991 spin_unlock_irqrestore (&ehci->lock, flags); in ehci_endpoint_disable()
999 reserve_release_intr_bandwidth(ehci, qh, -1); in ehci_endpoint_disable()
1000 qh_destroy(ehci, qh); in ehci_endpoint_disable()
1008 ehci_err (ehci, "qh %p (#%02x) state %d%s\n", in ehci_endpoint_disable()
1015 spin_unlock_irqrestore (&ehci->lock, flags); in ehci_endpoint_disable()
1021 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_endpoint_reset() local
1031 spin_lock_irqsave(&ehci->lock, flags); in ehci_endpoint_reset()
1050 start_unlink_async(ehci, qh); in ehci_endpoint_reset()
1052 start_unlink_intr(ehci, qh); in ehci_endpoint_reset()
1055 spin_unlock_irqrestore(&ehci->lock, flags); in ehci_endpoint_reset()
1060 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_get_frame() local
1061 return (ehci_read_frame_index(ehci) >> 3) % ehci->periodic_size; in ehci_get_frame()
1070 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_remove_device() local
1072 spin_lock_irq(&ehci->lock); in ehci_remove_device()
1074 spin_unlock_irq(&ehci->lock); in ehci_remove_device()
1087 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_suspend() local
1089 if (time_before(jiffies, ehci->next_statechange)) in ehci_suspend()
1097 ehci_prepare_ports_for_controller_suspend(ehci, do_wakeup); in ehci_suspend()
1099 spin_lock_irq(&ehci->lock); in ehci_suspend()
1100 ehci_writel(ehci, 0, &ehci->regs->intr_enable); in ehci_suspend()
1101 (void) ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_suspend()
1104 spin_unlock_irq(&ehci->lock); in ehci_suspend()
1121 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_resume() local
1123 if (time_before(jiffies, ehci->next_statechange)) in ehci_resume()
1129 if (ehci->shutdown) in ehci_resume()
1137 if (ehci_readl(ehci, &ehci->regs->configured_flag) == FLAG_CF && in ehci_resume()
1141 ehci_prepare_ports_for_controller_resume(ehci); in ehci_resume()
1143 spin_lock_irq(&ehci->lock); in ehci_resume()
1144 if (ehci->shutdown) in ehci_resume()
1149 ehci_writel(ehci, mask, &ehci->regs->intr_enable); in ehci_resume()
1150 ehci_readl(ehci, &ehci->regs->intr_enable); in ehci_resume()
1152 spin_unlock_irq(&ehci->lock); in ehci_resume()
1161 (void) ehci_halt(ehci); in ehci_resume()
1162 (void) ehci_reset(ehci); in ehci_resume()
1164 spin_lock_irq(&ehci->lock); in ehci_resume()
1165 if (ehci->shutdown) in ehci_resume()
1168 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_resume()
1169 ehci_writel(ehci, FLAG_CF, &ehci->regs->configured_flag); in ehci_resume()
1170 ehci_readl(ehci, &ehci->regs->command); /* unblock posted writes */ in ehci_resume()
1172 ehci->rh_state = EHCI_RH_SUSPENDED; in ehci_resume()
1173 spin_unlock_irq(&ehci->lock); in ehci_resume()
1190 .product_desc = "EHCI Host Controller",
1261 #include "ehci-sh.c"
1266 #include "ehci-ps3.c"
1271 #include "ehci-ppc-of.c"
1276 #include "ehci-xilinx-of.c"
1281 #include "ehci-pmcmsp.c"
1286 #include "ehci-grlib.c"
1310 ehci_debug_root = debugfs_create_dir("ehci", usb_debug_root); in ehci_hcd_init()