• Home
  • Raw
  • Download

Lines Matching refs:hcd

52 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd)  in to_s3c2410_info()  argument
54 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info()
57 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) in s3c2410_start_hc() argument
69 info->hcd = hcd; in s3c2410_start_hc()
85 info->hcd = NULL; in s3c2410_stop_hc()
102 ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_s3c2410_hub_status_data() argument
104 struct s3c2410_hcd_info *info = to_s3c2410_info(hcd); in ohci_s3c2410_hub_status_data()
109 orig = ohci_hub_status_data(hcd, buf); in ohci_s3c2410_hub_status_data()
121 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data()
160 struct usb_hcd *hcd, in ohci_s3c2410_hub_control() argument
167 struct s3c2410_hcd_info *info = to_s3c2410_info(hcd); in ohci_s3c2410_hub_control()
172 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
174 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
180 ret = ohci_hub_control(hcd, typeReq, wValue, in ohci_s3c2410_hub_control()
190 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_s3c2410_hub_control()
199 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
210 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
219 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
230 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
244 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", in ohci_s3c2410_hub_control()
262 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", in ohci_s3c2410_hub_control()
270 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_s3c2410_hub_control()
293 struct usb_hcd *hcd; in s3c2410_hcd_oc() local
301 hcd = info->hcd; in s3c2410_hcd_oc()
335 usb_hcd_s3c2410_remove(struct usb_hcd *hcd, struct platform_device *dev) in usb_hcd_s3c2410_remove() argument
337 usb_remove_hcd(hcd); in usb_hcd_s3c2410_remove()
339 usb_put_hcd(hcd); in usb_hcd_s3c2410_remove()
354 struct usb_hcd *hcd = NULL; in usb_hcd_s3c2410_probe() local
361 hcd = usb_create_hcd(driver, &dev->dev, "s3c24xx"); in usb_hcd_s3c2410_probe()
362 if (hcd == NULL) in usb_hcd_s3c2410_probe()
365 hcd->rsrc_start = dev->resource[0].start; in usb_hcd_s3c2410_probe()
366 hcd->rsrc_len = resource_size(&dev->resource[0]); in usb_hcd_s3c2410_probe()
368 hcd->regs = devm_ioremap_resource(&dev->dev, &dev->resource[0]); in usb_hcd_s3c2410_probe()
369 if (IS_ERR(hcd->regs)) { in usb_hcd_s3c2410_probe()
370 retval = PTR_ERR(hcd->regs); in usb_hcd_s3c2410_probe()
388 s3c2410_start_hc(dev, hcd); in usb_hcd_s3c2410_probe()
390 retval = usb_add_hcd(hcd, dev->resource[1].start, 0); in usb_hcd_s3c2410_probe()
394 device_wakeup_enable(hcd->self.controller); in usb_hcd_s3c2410_probe()
401 usb_put_hcd(hcd); in usb_hcd_s3c2410_probe()
416 struct usb_hcd *hcd = platform_get_drvdata(pdev); in ohci_hcd_s3c2410_drv_remove() local
418 usb_hcd_s3c2410_remove(hcd, pdev); in ohci_hcd_s3c2410_drv_remove()
425 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_suspend() local
430 rc = ohci_suspend(hcd, do_wakeup); in ohci_hcd_s3c2410_drv_suspend()
441 struct usb_hcd *hcd = dev_get_drvdata(dev); in ohci_hcd_s3c2410_drv_resume() local
444 s3c2410_start_hc(pdev, hcd); in ohci_hcd_s3c2410_drv_resume()
446 ohci_resume(hcd, false); in ohci_hcd_s3c2410_drv_resume()