Lines Matching refs:usb_hcd

103 static int hwahc_op_reset(struct usb_hcd *usb_hcd)  in hwahc_op_reset()  argument
106 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_reset()
130 static int hwahc_op_start(struct usb_hcd *usb_hcd) in hwahc_op_start() argument
134 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_start()
146 usb_hcd->uses_new_polling = 1; in hwahc_op_start()
147 set_bit(HCD_FLAG_POLL_RH, &usb_hcd->flags); in hwahc_op_start()
148 usb_hcd->state = HC_STATE_RUNNING; in hwahc_op_start()
154 pm_runtime_get_noresume(&usb_hcd->self.root_hub->dev); in hwahc_op_start()
174 static void hwahc_op_stop(struct usb_hcd *usb_hcd) in hwahc_op_stop() argument
176 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_stop()
183 static int hwahc_op_get_frame_number(struct usb_hcd *usb_hcd) in hwahc_op_get_frame_number() argument
185 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_get_frame_number()
197 static int hwahc_op_urb_enqueue(struct usb_hcd *usb_hcd, struct urb *urb, in hwahc_op_urb_enqueue() argument
200 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_urb_enqueue()
206 static int hwahc_op_urb_dequeue(struct usb_hcd *usb_hcd, struct urb *urb, in hwahc_op_urb_dequeue() argument
209 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_urb_dequeue()
220 static void hwahc_op_endpoint_disable(struct usb_hcd *usb_hcd, in hwahc_op_endpoint_disable() argument
223 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_endpoint_disable()
606 .hcd_priv_size = sizeof(struct hwahc) - sizeof(struct usb_hcd),
789 struct usb_hcd *usb_hcd; in hwahc_probe() local
795 usb_hcd = usb_create_hcd(&hwahc_hc_driver, &usb_iface->dev, "wusb-hwa"); in hwahc_probe()
796 if (usb_hcd == NULL) { in hwahc_probe()
800 usb_hcd->wireless = 1; in hwahc_probe()
801 usb_hcd->self.sg_tablesize = ~0; in hwahc_probe()
802 wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_probe()
810 result = usb_add_hcd(usb_hcd, 0, 0); in hwahc_probe()
815 device_wakeup_enable(usb_hcd->self.controller); in hwahc_probe()
824 usb_remove_hcd(usb_hcd); in hwahc_probe()
828 usb_put_hcd(usb_hcd); in hwahc_probe()
835 struct usb_hcd *usb_hcd; in hwahc_disconnect() local
839 usb_hcd = usb_get_intfdata(usb_iface); in hwahc_disconnect()
840 wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_disconnect()
844 usb_remove_hcd(usb_hcd); in hwahc_disconnect()
846 usb_put_hcd(usb_hcd); in hwahc_disconnect()