Lines Matching refs:usb_hcd

117 static int hwahc_op_reset(struct usb_hcd *usb_hcd)  in hwahc_op_reset()  argument
120 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_reset()
144 static int hwahc_op_start(struct usb_hcd *usb_hcd) in hwahc_op_start() argument
148 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_start()
160 usb_hcd->uses_new_polling = 1; in hwahc_op_start()
161 set_bit(HCD_FLAG_POLL_RH, &usb_hcd->flags); in hwahc_op_start()
162 usb_hcd->state = HC_STATE_RUNNING; in hwahc_op_start()
168 pm_runtime_get_noresume(&usb_hcd->self.root_hub->dev); in hwahc_op_start()
188 static void hwahc_op_stop(struct usb_hcd *usb_hcd) in hwahc_op_stop() argument
190 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_stop()
197 static int hwahc_op_get_frame_number(struct usb_hcd *usb_hcd) in hwahc_op_get_frame_number() argument
199 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_get_frame_number()
211 static int hwahc_op_urb_enqueue(struct usb_hcd *usb_hcd, struct urb *urb, in hwahc_op_urb_enqueue() argument
214 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_urb_enqueue()
220 static int hwahc_op_urb_dequeue(struct usb_hcd *usb_hcd, struct urb *urb, in hwahc_op_urb_dequeue() argument
223 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_urb_dequeue()
234 static void hwahc_op_endpoint_disable(struct usb_hcd *usb_hcd, in hwahc_op_endpoint_disable() argument
237 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_op_endpoint_disable()
620 .hcd_priv_size = sizeof(struct hwahc) - sizeof(struct usb_hcd),
803 struct usb_hcd *usb_hcd; in hwahc_probe() local
809 usb_hcd = usb_create_hcd(&hwahc_hc_driver, &usb_iface->dev, "wusb-hwa"); in hwahc_probe()
810 if (usb_hcd == NULL) { in hwahc_probe()
814 usb_hcd->wireless = 1; in hwahc_probe()
815 usb_hcd->self.sg_tablesize = ~0; in hwahc_probe()
816 wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_probe()
824 result = usb_add_hcd(usb_hcd, 0, 0); in hwahc_probe()
829 device_wakeup_enable(usb_hcd->self.controller); in hwahc_probe()
838 usb_remove_hcd(usb_hcd); in hwahc_probe()
842 usb_put_hcd(usb_hcd); in hwahc_probe()
849 struct usb_hcd *usb_hcd; in hwahc_disconnect() local
853 usb_hcd = usb_get_intfdata(usb_iface); in hwahc_disconnect()
854 wusbhc = usb_hcd_to_wusbhc(usb_hcd); in hwahc_disconnect()
858 usb_remove_hcd(usb_hcd); in hwahc_disconnect()
860 usb_put_hcd(usb_hcd); in hwahc_disconnect()