• Home
  • Raw
  • Download

Lines Matching refs:hcd

53 	struct usb_hcd	*hcd,  in ehci_brcm_hub_control()  argument
60 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_hub_control()
87 retval = ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ehci_brcm_hub_control()
93 static int ehci_brcm_reset(struct usb_hcd *hcd) in ehci_brcm_reset() argument
95 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_reset()
100 ehci->caps = (void __iomem *)hcd->regs; in ehci_brcm_reset()
102 ehci->regs = (void __iomem *)(hcd->regs + len); in ehci_brcm_reset()
116 return ehci_setup(hcd); in ehci_brcm_reset()
131 struct usb_hcd *hcd; in ehci_brcm_probe() local
147 hcd = usb_create_hcd(&ehci_brcm_hc_driver, dev, dev_name(dev)); in ehci_brcm_probe()
148 if (!hcd) in ehci_brcm_probe()
151 platform_set_drvdata(pdev, hcd); in ehci_brcm_probe()
152 priv = hcd_to_ehci_priv(hcd); in ehci_brcm_probe()
164 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res_mem); in ehci_brcm_probe()
165 if (IS_ERR(hcd->regs)) { in ehci_brcm_probe()
166 err = PTR_ERR(hcd->regs); in ehci_brcm_probe()
169 hcd->rsrc_start = res_mem->start; in ehci_brcm_probe()
170 hcd->rsrc_len = resource_size(res_mem); in ehci_brcm_probe()
171 err = usb_add_hcd(hcd, irq, IRQF_SHARED); in ehci_brcm_probe()
175 device_wakeup_enable(hcd->self.controller); in ehci_brcm_probe()
176 device_enable_async_suspend(hcd->self.controller); in ehci_brcm_probe()
183 usb_put_hcd(hcd); in ehci_brcm_probe()
190 struct usb_hcd *hcd = platform_get_drvdata(dev); in ehci_brcm_remove() local
191 struct brcm_priv *priv = hcd_to_ehci_priv(hcd); in ehci_brcm_remove()
193 usb_remove_hcd(hcd); in ehci_brcm_remove()
195 usb_put_hcd(hcd); in ehci_brcm_remove()
202 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_brcm_suspend() local
203 struct brcm_priv *priv = hcd_to_ehci_priv(hcd); in ehci_brcm_suspend()
206 ret = ehci_suspend(hcd, do_wakeup); in ehci_brcm_suspend()
215 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_brcm_resume() local
216 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_resume()
217 struct brcm_priv *priv = hcd_to_ehci_priv(hcd); in ehci_brcm_resume()
232 ehci_resume(hcd, false); in ehci_brcm_resume()