Lines Matching refs:hcd
370 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_hnp_stop() local
384 hcd->self.is_b_host = 0; in musb_hnp_stop()
669 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_stage0_irq() local
709 hcd->self.is_b_host = 1; in musb_stage0_irq()
717 hcd->self.is_b_host = 0; in musb_stage0_irq()
724 if (hcd->status_urb) in musb_stage0_irq()
725 usb_hcd_poll_rh_status(hcd); in musb_stage0_irq()
727 usb_hcd_resume_root_hub(hcd); in musb_stage0_irq()
1833 struct usb_hcd *hcd; in allocate_instance() local
1835 hcd = usb_create_hcd(&musb_hc_driver, dev, dev_name(dev)); in allocate_instance()
1836 if (!hcd) in allocate_instance()
1840 musb = hcd_to_musb(hcd); in allocate_instance()
1851 hcd->uses_new_polling = 1; in allocate_instance()
1852 hcd->has_tt = 1; in allocate_instance()
2033 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_init_controller() local
2035 otg_set_host(musb->xceiv->otg, &hcd->self); in musb_init_controller()
2038 hcd->self.otg_port = 1; in musb_init_controller()
2039 musb->xceiv->otg->host = &hcd->self; in musb_init_controller()
2040 hcd->power_budget = 2 * (plat->power ? : 250); in musb_init_controller()
2056 struct usb_hcd *hcd = musb_to_hcd(musb); in musb_init_controller() local
2065 hcd->self.uses_pio_for_control = 1; in musb_init_controller()