Lines Matching defs:hcd
42 #include <linux/usb/hcd.h>
50 #include "uhci-hcd.h"
450 static irqreturn_t uhci_irq(struct usb_hcd *hcd)
452 struct uhci_hcd *uhci = hcd_to_uhci(hcd);
487 usb_hc_died(hcd);
491 mod_timer(&hcd->rh_timer, jiffies);
498 usb_hcd_poll_rh_status(hcd);
575 static int uhci_start(struct usb_hcd *hcd)
577 struct uhci_hcd *uhci = hcd_to_uhci(hcd);
582 hcd->uses_new_polling = 1;
584 if (!hcd->localmem_pool)
585 hcd->self.sg_tablesize = ~0;
593 uhci->dentry = debugfs_create_file(hcd->self.bus_name,
710 static void uhci_stop(struct usb_hcd *hcd)
712 struct uhci_hcd *uhci = hcd_to_uhci(hcd);
715 if (HCD_HW_ACCESSIBLE(hcd) && !uhci->dead)
719 synchronize_irq(hcd->irq);
726 static int uhci_rh_suspend(struct usb_hcd *hcd)
728 struct uhci_hcd *uhci = hcd_to_uhci(hcd);
732 if (!HCD_HW_ACCESSIBLE(hcd))
742 else if (hcd->self.root_hub->do_remote_wakeup &&
753 static int uhci_rh_resume(struct usb_hcd *hcd)
755 struct uhci_hcd *uhci = hcd_to_uhci(hcd);
759 if (!HCD_HW_ACCESSIBLE(hcd))
770 static void uhci_hcd_endpoint_disable(struct usb_hcd *hcd,
773 struct uhci_hcd *uhci = hcd_to_uhci(hcd);
795 static int uhci_hcd_get_frame_number(struct usb_hcd *hcd)
797 struct uhci_hcd *uhci = hcd_to_uhci(hcd);
810 static int uhci_count_ports(struct usb_hcd *hcd)
812 struct uhci_hcd *uhci = hcd_to_uhci(hcd);
813 unsigned io_size = (unsigned) hcd->rsrc_len;
862 #error "missing bus glue for uhci-hcd"