Lines Matching full:hcd

42 #include <linux/usb/hcd.h>
50 #include "uhci-hcd.h"
450 static irqreturn_t uhci_irq(struct usb_hcd *hcd) in uhci_irq() argument
452 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_irq()
487 usb_hc_died(hcd); in uhci_irq()
491 mod_timer(&hcd->rh_timer, jiffies); in uhci_irq()
498 usb_hcd_poll_rh_status(hcd); in uhci_irq()
576 static int uhci_start(struct usb_hcd *hcd) in uhci_start() argument
578 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_start()
582 hcd->uses_new_polling = 1; in uhci_start()
584 if (!hcd->localmem_pool) in uhci_start()
585 hcd->self.sg_tablesize = ~0; in uhci_start()
593 debugfs_create_file(hcd->self.bus_name, S_IFREG|S_IRUGO|S_IWUSR, in uhci_start()
703 debugfs_lookup_and_remove(hcd->self.bus_name, uhci_debugfs_root); in uhci_start()
708 static void uhci_stop(struct usb_hcd *hcd) in uhci_stop() argument
710 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_stop()
713 if (HCD_HW_ACCESSIBLE(hcd) && !uhci->dead) in uhci_stop()
717 synchronize_irq(hcd->irq); in uhci_stop()
724 static int uhci_rh_suspend(struct usb_hcd *hcd) in uhci_rh_suspend() argument
726 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_rh_suspend()
730 if (!HCD_HW_ACCESSIBLE(hcd)) in uhci_rh_suspend()
740 else if (hcd->self.root_hub->do_remote_wakeup && in uhci_rh_suspend()
751 static int uhci_rh_resume(struct usb_hcd *hcd) in uhci_rh_resume() argument
753 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_rh_resume()
757 if (!HCD_HW_ACCESSIBLE(hcd)) in uhci_rh_resume()
768 static void uhci_hcd_endpoint_disable(struct usb_hcd *hcd, in uhci_hcd_endpoint_disable() argument
771 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_hcd_endpoint_disable()
793 static int uhci_hcd_get_frame_number(struct usb_hcd *hcd) in uhci_hcd_get_frame_number() argument
795 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_hcd_get_frame_number()
808 static int uhci_count_ports(struct usb_hcd *hcd) in uhci_count_ports() argument
810 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_count_ports()
811 unsigned io_size = (unsigned) hcd->rsrc_len; in uhci_count_ports()
860 #error "missing bus glue for uhci-hcd"