Lines Matching refs:usb_hcd
248 struct usb_hcd usb_hcd; /* HAS TO BE 1st */ member
306 #define usb_hcd_to_wusbhc(u) container_of((u), struct wusbhc, usb_hcd)
336 struct usb_hcd *usb_hcd_get_by_usb_dev(struct usb_device *usb_dev) in usb_hcd_get_by_usb_dev()
338 struct usb_hcd *usb_hcd; in usb_hcd_get_by_usb_dev() local
339 usb_hcd = container_of(usb_dev->bus, struct usb_hcd, self); in usb_hcd_get_by_usb_dev()
340 return usb_get_hcd(usb_hcd); in usb_hcd_get_by_usb_dev()
350 return usb_get_hcd(&wusbhc->usb_hcd) ? wusbhc : NULL; in wusbhc_get()
366 struct usb_hcd *usb_hcd; in wusbhc_get_by_usb_dev() local
373 usb_hcd = usb_hcd_get_by_usb_dev(usb_dev); in wusbhc_get_by_usb_dev()
374 if (usb_hcd == NULL) in wusbhc_get_by_usb_dev()
376 BUG_ON(usb_hcd->wireless == 0); in wusbhc_get_by_usb_dev()
377 return wusbhc = usb_hcd_to_wusbhc(usb_hcd); in wusbhc_get_by_usb_dev()
383 usb_put_hcd(&wusbhc->usb_hcd); in wusbhc_put()
407 extern int wusbhc_rh_status_data(struct usb_hcd *, char *);
408 extern int wusbhc_rh_control(struct usb_hcd *, u16, u16, u16, char *, u16);
409 extern int wusbhc_rh_start_port_reset(struct usb_hcd *, unsigned);