• Home
  • Raw
  • Download

Lines Matching refs:hcd

43 static void dump_hci_status(struct usb_hcd *hcd, const char *label)
45 unsigned long status = sa1111_readl(hcd->regs + USB_STATUS);
56 static int ohci_sa1111_reset(struct usb_hcd *hcd) in ohci_sa1111_reset() argument
58 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_sa1111_reset()
64 static int ohci_sa1111_start(struct usb_hcd *hcd) in ohci_sa1111_start() argument
66 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_sa1111_start()
72 ohci_stop(hcd); in ohci_sa1111_start()
180 struct usb_hcd *hcd; in ohci_hcd_sa1111_probe() local
192 hcd = usb_create_hcd(&ohci_sa1111_hc_driver, &dev->dev, "sa1111"); in ohci_hcd_sa1111_probe()
193 if (!hcd) in ohci_hcd_sa1111_probe()
196 hcd->rsrc_start = dev->res.start; in ohci_hcd_sa1111_probe()
197 hcd->rsrc_len = resource_size(&dev->res); in ohci_hcd_sa1111_probe()
199 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ohci_hcd_sa1111_probe()
205 hcd->regs = dev->mapbase; in ohci_hcd_sa1111_probe()
211 ret = usb_add_hcd(hcd, dev->irq[1], 0); in ohci_hcd_sa1111_probe()
213 device_wakeup_enable(hcd->self.controller); in ohci_hcd_sa1111_probe()
219 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_sa1111_probe()
221 usb_put_hcd(hcd); in ohci_hcd_sa1111_probe()
234 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_remove() local
236 usb_remove_hcd(hcd); in ohci_hcd_sa1111_remove()
238 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_sa1111_remove()
239 usb_put_hcd(hcd); in ohci_hcd_sa1111_remove()
246 struct usb_hcd *hcd = sa1111_get_drvdata(dev); in ohci_hcd_sa1111_shutdown() local
248 if (test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags)) { in ohci_hcd_sa1111_shutdown()
249 hcd->driver->shutdown(hcd); in ohci_hcd_sa1111_shutdown()