Lines Matching defs:hcd

6 /* this file is part of ehci-hcd.c */
39 struct usb_hcd *hcd = ehci_to_hcd(ehci);
82 ehci_hub_control(hcd, SetPortFeature,
100 ehci_hub_control(hcd, GetPortStatus,
213 static int ehci_bus_suspend (struct usb_hcd *hcd)
215 struct ehci_hcd *ehci = hcd_to_ehci (hcd);
238 if (hcd->self.root_hub->do_remote_wakeup) {
270 if (hcd->self.root_hub->do_remote_wakeup) {
359 if (!hcd->self.root_hub->do_remote_wakeup)
376 static int ehci_bus_resume (struct usb_hcd *hcd)
378 struct ehci_hcd *ehci = hcd_to_ehci (hcd);
387 if (!HCD_HW_ACCESSIBLE(hcd) || ehci->shutdown)
391 if (!dbgp_reset_prep(hcd))
394 dbgp_external_startup(hcd);
517 static unsigned long ehci_get_resuming_ports(struct usb_hcd *hcd)
519 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
618 ehci_hub_status_data (struct usb_hcd *hcd, char *buf)
620 struct ehci_hcd *ehci = hcd_to_ehci (hcd);
688 mod_timer(&hcd->rh_timer, jiffies + msecs_to_jiffies(25));
741 struct usb_hcd *hcd,
759 struct usb_hcd *hcd = bus_to_hcd(udev->bus);
787 hcd->self.sysdev,
792 hcd->self.sysdev,
800 static int ehset_single_step_set_feature(struct usb_hcd *hcd, int port)
806 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
811 udev = usb_hub_find_child(hcd->self.root_hub, port);
837 retval = submit_single_step_set_feature(hcd, urb, 1);
853 retval = submit_single_step_set_feature(hcd, urb, 0);
871 struct usb_hcd *hcd,
878 struct ehci_hcd *ehci = hcd_to_ehci (hcd);
942 if ((hcd->self.otg_port == (wIndex + 1))
943 && hcd->self.b_hnp_enable) {
944 otg_start_hnp(hcd->usb_phy->otg);
968 usb_hcd_start_port_resume(&hcd->self, wIndex);
1043 usb_hcd_start_port_resume(&hcd->self, wIndex);
1059 usb_hcd_end_port_resume(&hcd->self, wIndex);
1135 usb_hcd_end_port_resume(&hcd->self, wIndex);
1268 retval = ehset_single_step_set_feature(hcd,
1317 static void ehci_relinquish_port(struct usb_hcd *hcd, int portnum)
1319 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
1326 static int ehci_port_handed_over(struct usb_hcd *hcd, int portnum)
1328 struct ehci_hcd *ehci = hcd_to_ehci(hcd);
1339 struct usb_hcd *hcd = ehci_to_hcd(ehci);
1348 if (hcd->driver->port_power)
1349 hcd->driver->port_power(hcd, portnum, enable);