• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/usb/host/

Lines Matching refs:hwahc

66 struct hwahc {
71 static int __hwahc_set_cluster_id(struct hwahc *hwahc, u8 cluster_id)
74 struct wusbhc *wusbhc = &hwahc->wusbhc;
75 struct wahc *wa = &hwahc->wa;
95 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
96 struct wahc *wa = &hwahc->wa;
116 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
117 struct device *dev = &hwahc->wa.usb_iface->dev;
120 wa_nep_disarm(&hwahc->wa);
121 result = __wa_set_feature(&hwahc->wa, WA_RESET);
126 result = __wa_wait_status(&hwahc->wa, WA_STATUS_RESETTING, 0);
141 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
148 result = __hwahc_set_cluster_id(hwahc, addr);
185 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
188 usb_hcd, hwahc);
196 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
198 return wa_urb_enqueue(&hwahc->wa, urb->ep, urb, gfp);
205 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
207 return wa_urb_dequeue(&hwahc->wa, urb);
219 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
221 rpipe_ep_disable(&hwahc->wa, ep);
227 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
228 struct device *dev = &hwahc->wa.usb_iface->dev;
230 result = __wa_set_feature(&hwahc->wa, WA_ENABLE);
235 result = __wa_wait_status(&hwahc->wa, WA_ENABLE, WA_ENABLE);
240 result = wa_nep_arm(&hwahc->wa, GFP_KERNEL);
248 __wa_clear_feature(&hwahc->wa, WA_ENABLE);
254 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
255 struct wahc *wa = &hwahc->wa;
268 wa_nep_disarm(&hwahc->wa);
269 __wa_stop(&hwahc->wa);
282 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
283 struct wahc *wa = &hwahc->wa;
329 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
330 struct wahc *wa = &hwahc->wa;
348 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
349 struct wahc *wa = &hwahc->wa;
367 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
368 struct wahc *wa = &hwahc->wa;
415 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
416 struct wahc *wa = &hwahc->wa;
455 struct hwahc *hwahc = container_of(wusbhc, struct hwahc, wusbhc);
456 struct wahc *wa = &hwahc->wa;
568 .hcd_priv_size = sizeof(struct hwahc) - sizeof(struct usb_hcd),
586 static int hwahc_security_create(struct hwahc *hwahc)
589 struct wusbhc *wusbhc = &hwahc->wusbhc;
590 struct usb_device *usb_dev = hwahc->wa.usb_dev;
662 static void hwahc_security_release(struct hwahc *hwahc)
667 static int hwahc_create(struct hwahc *hwahc, struct usb_interface *iface)
671 struct wusbhc *wusbhc = &hwahc->wusbhc;
672 struct wahc *wa = &hwahc->wa;
704 result = hwahc_security_create(hwahc);
710 result = wusbhc_create(&hwahc->wusbhc);
715 result = wa_create(&hwahc->wa, iface);
721 wusbhc_destroy(&hwahc->wusbhc);
733 static void hwahc_destroy(struct hwahc *hwahc)
735 struct wusbhc *wusbhc = &hwahc->wusbhc;
738 __wa_destroy(&hwahc->wa);
739 wusbhc_destroy(&hwahc->wusbhc);
740 hwahc_security_release(hwahc);
741 hwahc->wusbhc.dev = NULL;
743 usb_put_intf(hwahc->wa.usb_iface);
744 usb_put_dev(hwahc->wa.usb_dev);
748 static void hwahc_init(struct hwahc *hwahc)
750 wa_init(&hwahc->wa);
759 struct hwahc *hwahc;
771 hwahc = container_of(wusbhc, struct hwahc, wusbhc);
772 hwahc_init(hwahc);
773 result = hwahc_create(hwahc, usb_iface);
783 result = wusbhc_b_create(&hwahc->wusbhc);
793 hwahc_destroy(hwahc);
804 struct hwahc *hwahc;
808 hwahc = container_of(wusbhc, struct hwahc, wusbhc);
810 wusbhc_b_destroy(&hwahc->wusbhc);
812 hwahc_destroy(hwahc);