Lines Matching defs:usb_hcd

115  * @usb_hcd:	Pointer to WUSB Host Controller instance.
118 static int hwahc_op_reset(struct usb_hcd *usb_hcd)
121 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
145 static int hwahc_op_start(struct usb_hcd *usb_hcd)
149 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
161 usb_hcd->uses_new_polling = 1;
162 set_bit(HCD_FLAG_POLL_RH, &usb_hcd->flags);
163 usb_hcd->state = HC_STATE_RUNNING;
182 static void hwahc_op_stop(struct usb_hcd *usb_hcd)
184 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
191 static int hwahc_op_get_frame_number(struct usb_hcd *usb_hcd)
193 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
197 usb_hcd, hwahc);
201 static int hwahc_op_urb_enqueue(struct usb_hcd *usb_hcd, struct urb *urb,
204 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
210 static int hwahc_op_urb_dequeue(struct usb_hcd *usb_hcd, struct urb *urb,
213 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
224 static void hwahc_op_endpoint_disable(struct usb_hcd *usb_hcd,
227 struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
578 .hcd_priv_size = sizeof(struct hwahc) - sizeof(struct usb_hcd),
767 struct usb_hcd *usb_hcd;
773 usb_hcd = usb_create_hcd(&hwahc_hc_driver, &usb_iface->dev, "wusb-hwa");
774 if (usb_hcd == NULL) {
778 usb_hcd->wireless = 1;
779 wusbhc = usb_hcd_to_wusbhc(usb_hcd);
787 result = usb_add_hcd(usb_hcd, 0, 0);
800 usb_remove_hcd(usb_hcd);
804 usb_put_hcd(usb_hcd);
811 struct usb_hcd *usb_hcd;
815 usb_hcd = usb_get_intfdata(usb_iface);
816 wusbhc = usb_hcd_to_wusbhc(usb_hcd);
820 usb_remove_hcd(usb_hcd);
822 usb_put_hcd(usb_hcd);