• Home
  • Raw
  • Download

Lines Matching refs:hcd

70 static int ehci_msp_setup(struct usb_hcd *hcd)  in ehci_msp_setup()  argument
72 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_msp_setup()
78 ehci->caps = hcd->regs; in ehci_msp_setup()
79 hcd->has_tt = 1; in ehci_msp_setup()
81 retval = ehci_setup(hcd); in ehci_msp_setup()
161 struct usb_hcd *hcd; in usb_hcd_msp_probe() local
165 hcd = usb_create_hcd(driver, &dev->dev, "pmcmsp"); in usb_hcd_msp_probe()
166 if (!hcd) in usb_hcd_msp_probe()
175 hcd->rsrc_start = res->start; in usb_hcd_msp_probe()
176 hcd->rsrc_len = resource_size(res); in usb_hcd_msp_probe()
177 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, dev->name)) { in usb_hcd_msp_probe()
181 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_msp_probe()
182 if (!hcd->regs) { in usb_hcd_msp_probe()
200 ehci = hcd_to_ehci(hcd); in usb_hcd_msp_probe()
205 retval = usb_add_hcd(hcd, res->start, IRQF_SHARED); in usb_hcd_msp_probe()
207 device_wakeup_enable(hcd->self.controller); in usb_hcd_msp_probe()
211 usb_remove_hcd(hcd); in usb_hcd_msp_probe()
213 iounmap(hcd->regs); in usb_hcd_msp_probe()
215 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_msp_probe()
217 usb_put_hcd(hcd); in usb_hcd_msp_probe()
236 void usb_hcd_msp_remove(struct usb_hcd *hcd, struct platform_device *dev) in usb_hcd_msp_remove() argument
238 usb_remove_hcd(hcd); in usb_hcd_msp_remove()
239 iounmap(hcd->regs); in usb_hcd_msp_remove()
240 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_msp_remove()
241 usb_put_hcd(hcd); in usb_hcd_msp_remove()
307 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ehci_hcd_msp_drv_remove() local
309 usb_hcd_msp_remove(hcd, pdev); in ehci_hcd_msp_drv_remove()