Lines Matching refs:hcd

51 	struct usb_hcd	*hcd = ehci_to_hcd(ehci);  in ehci_handover_companion_ports()  local
94 ehci_hub_control(hcd, SetPortFeature, in ehci_handover_companion_ports()
112 ehci_hub_control(hcd, GetPortStatus, in ehci_handover_companion_ports()
224 static int ehci_bus_suspend (struct usb_hcd *hcd) in ehci_bus_suspend() argument
226 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_suspend()
249 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend()
281 if (hcd->self.root_hub->do_remote_wakeup) { in ehci_bus_suspend()
357 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_bus_suspend()
374 static int ehci_bus_resume (struct usb_hcd *hcd) in ehci_bus_resume() argument
376 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_resume()
385 if (!HCD_HW_ACCESSIBLE(hcd) || ehci->shutdown) in ehci_bus_resume()
389 if (!dbgp_reset_prep(hcd)) in ehci_bus_resume()
392 dbgp_external_startup(hcd); in ehci_bus_resume()
608 ehci_hub_status_data (struct usb_hcd *hcd, char *buf) in ehci_hub_status_data() argument
610 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_hub_status_data()
678 mod_timer(&hcd->rh_timer, jiffies + msecs_to_jiffies(25)); in ehci_hub_status_data()
731 struct usb_hcd *hcd,
749 struct usb_hcd *hcd = bus_to_hcd(udev->bus); in request_single_step_set_feature_urb() local
777 hcd->self.controller, in request_single_step_set_feature_urb()
782 hcd->self.controller, in request_single_step_set_feature_urb()
790 static int ehset_single_step_set_feature(struct usb_hcd *hcd, int port) in ehset_single_step_set_feature() argument
796 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehset_single_step_set_feature()
801 udev = usb_hub_find_child(hcd->self.root_hub, port); in ehset_single_step_set_feature()
827 retval = submit_single_step_set_feature(hcd, urb, 1); in ehset_single_step_set_feature()
843 retval = submit_single_step_set_feature(hcd, urb, 0); in ehset_single_step_set_feature()
861 struct usb_hcd *hcd, in ehci_hub_control() argument
868 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_hub_control()
924 if ((hcd->self.otg_port == (wIndex + 1)) in ehci_hub_control()
925 && hcd->self.b_hnp_enable) { in ehci_hub_control()
926 otg_start_hnp(hcd->usb_phy->otg); in ehci_hub_control()
950 usb_hcd_start_port_resume(&hcd->self, wIndex); in ehci_hub_control()
1025 usb_hcd_start_port_resume(&hcd->self, wIndex); in ehci_hub_control()
1041 usb_hcd_end_port_resume(&hcd->self, wIndex); in ehci_hub_control()
1117 usb_hcd_end_port_resume(&hcd->self, wIndex); in ehci_hub_control()
1237 retval = ehset_single_step_set_feature(hcd, in ehci_hub_control()
1286 static void ehci_relinquish_port(struct usb_hcd *hcd, int portnum) in ehci_relinquish_port() argument
1288 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_relinquish_port()
1295 static int ehci_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_port_handed_over() argument
1297 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_port_handed_over()
1308 struct usb_hcd *hcd = ehci_to_hcd(ehci); in ehci_port_power() local
1317 if (hcd->driver->port_power) in ehci_port_power()
1318 hcd->driver->port_power(hcd, portnum, enable); in ehci_port_power()