Lines Matching refs:hcd
152 struct usb_hcd *hcd = ohci_to_hcd (ohci); in ohci_rh_resume() local
199 usb_root_hub_lost_power(hcd->self.root_hub); in ohci_rh_resume()
285 if (hcd->self.bandwidth_isoc_reqs || hcd->self.bandwidth_int_reqs) in ohci_rh_resume()
300 static int ohci_bus_suspend (struct usb_hcd *hcd) in ohci_bus_suspend() argument
302 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_bus_suspend()
307 if (unlikely(!HCD_HW_ACCESSIBLE(hcd))) in ohci_bus_suspend()
318 static int ohci_bus_resume (struct usb_hcd *hcd) in ohci_bus_resume() argument
320 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_bus_resume()
328 if (unlikely(!HCD_HW_ACCESSIBLE(hcd))) in ohci_bus_resume()
336 usb_hcd_poll_rh_status(hcd); in ohci_bus_resume()
462 int ohci_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_hub_status_data() argument
464 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_hub_status_data()
471 if (!HCD_HW_ACCESSIBLE(hcd)) in ohci_hub_status_data()
517 set_bit(HCD_FLAG_POLL_RH, &hcd->flags); in ohci_hub_status_data()
519 clear_bit(HCD_FLAG_POLL_RH, &hcd->flags); in ohci_hub_status_data()
574 static int ohci_start_port_reset (struct usb_hcd *hcd, unsigned port) in ohci_start_port_reset() argument
576 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_start_port_reset()
671 struct usb_hcd *hcd, in ohci_hub_control() argument
678 struct ohci_hcd *ohci = hcd_to_ohci (hcd); in ohci_hub_control()
683 if (unlikely(!HCD_HW_ACCESSIBLE(hcd))) in ohci_hub_control()
769 if (hcd->self.otg_port == (wIndex + 1) in ohci_hub_control()
770 && hcd->self.b_hnp_enable) in ohci_hub_control()