Lines Matching refs:usb_hcd
234 struct usb_hcd usb_hcd; /* HAS TO BE 1st */ member
292 #define usb_hcd_to_wusbhc(u) container_of((u), struct wusbhc, usb_hcd)
322 struct usb_hcd *usb_hcd_get_by_usb_dev(struct usb_device *usb_dev) in usb_hcd_get_by_usb_dev()
324 struct usb_hcd *usb_hcd; in usb_hcd_get_by_usb_dev() local
325 usb_hcd = bus_to_hcd(usb_dev->bus); in usb_hcd_get_by_usb_dev()
326 return usb_get_hcd(usb_hcd); in usb_hcd_get_by_usb_dev()
336 return usb_get_hcd(&wusbhc->usb_hcd) ? wusbhc : NULL; in wusbhc_get()
352 struct usb_hcd *usb_hcd; in wusbhc_get_by_usb_dev() local
359 usb_hcd = usb_hcd_get_by_usb_dev(usb_dev); in wusbhc_get_by_usb_dev()
360 if (usb_hcd == NULL) in wusbhc_get_by_usb_dev()
362 BUG_ON(usb_hcd->wireless == 0); in wusbhc_get_by_usb_dev()
363 return wusbhc = usb_hcd_to_wusbhc(usb_hcd); in wusbhc_get_by_usb_dev()
369 usb_put_hcd(&wusbhc->usb_hcd); in wusbhc_put()
393 extern int wusbhc_rh_status_data(struct usb_hcd *, char *);
394 extern int wusbhc_rh_control(struct usb_hcd *, u16, u16, u16, char *, u16);
395 extern int wusbhc_rh_start_port_reset(struct usb_hcd *, unsigned);