• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/host/

Lines Matching refs:hcd

30 /* clock device associated with the hcd */
41 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd)
43 return hcd->self.controller->platform_data;
46 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd)
58 info->hcd = hcd;
75 info->hcd = NULL;
93 ohci_s3c2410_hub_status_data (struct usb_hcd *hcd, char *buf)
95 struct s3c2410_hcd_info *info = to_s3c2410_info(hcd);
100 orig = ohci_hub_status_data (hcd, buf);
112 dev_dbg(hcd->self.controller,
151 struct usb_hcd *hcd,
158 struct s3c2410_hcd_info *info = to_s3c2410_info(hcd);
163 dev_dbg(hcd->self.controller,
165 hcd, typeReq, wValue, wIndex, buf, wLength);
171 ret = ohci_hub_control(hcd, typeReq, wValue,
181 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n");
190 dev_dbg(hcd->self.controller,
201 dev_dbg(hcd->self.controller,
211 dev_dbg(hcd->self.controller,
222 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength);
236 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n",
251 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n",
259 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex);
284 struct usb_hcd *hcd;
292 hcd = info->hcd;
326 usb_hcd_s3c2410_remove (struct usb_hcd *hcd, struct platform_device *dev)
328 usb_remove_hcd(hcd);
330 iounmap(hcd->regs);
331 release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
332 usb_put_hcd(hcd);
347 struct usb_hcd *hcd = NULL;
353 hcd = usb_create_hcd(driver, &dev->dev, "s3c24xx");
354 if (hcd == NULL)
357 hcd->rsrc_start = dev->resource[0].start;
358 hcd->rsrc_len = dev->resource[0].end - dev->resource[0].start + 1;
360 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) {
380 s3c2410_start_hc(dev, hcd);
382 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len);
383 if (!hcd->regs) {
389 ohci_hcd_init(hcd_to_ohci(hcd));
391 retval = usb_add_hcd(hcd, dev->resource[1].start, IRQF_DISABLED);
399 iounmap(hcd->regs);
406 release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
409 usb_put_hcd(hcd);
416 ohci_s3c2410_start (struct usb_hcd *hcd)
418 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
425 err ("can't start %s", hcd->self.bus_name);
426 ohci_stop (hcd);
486 struct usb_hcd *hcd = platform_get_drvdata(pdev);
488 usb_hcd_s3c2410_remove(hcd, pdev);