/linux-2.6.39/drivers/usb/core/ |
D | hcd.c | 390 rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len) in rh_string() argument 407 s = hcd->self.bus_name; in rh_string() 411 s = hcd->product_desc; in rh_string() 416 init_utsname()->release, hcd->driver->description); in rh_string() 429 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control() argument 445 status = usb_hcd_link_urb_to_ep(hcd, urb); in rh_call_control() 449 urb->hcpriv = hcd; /* Indicate it's queued */ in rh_call_control() 482 tbuf [0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 490 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control() 495 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control() [all …]
|
D | hcd-pci.c | 56 static void companion_common(struct pci_dev *pdev, struct usb_hcd *hcd, in companion_common() argument 90 hcd->self.hs_companion = &companion_hcd->self; in companion_common() 99 companion_hcd->self.hs_companion = &hcd->self; in companion_common() 113 static void set_hs_companion(struct pci_dev *pdev, struct usb_hcd *hcd) in set_hs_companion() argument 116 dev_set_drvdata(&pdev->dev, hcd); in set_hs_companion() 117 companion_common(pdev, hcd, SET_HS_COMPANION); in set_hs_companion() 121 static void clear_hs_companion(struct pci_dev *pdev, struct usb_hcd *hcd) in clear_hs_companion() argument 128 hcd->self.hs_companion = NULL; in clear_hs_companion() 132 companion_common(pdev, hcd, CLEAR_HS_COMPANION); in clear_hs_companion() 136 static void wait_for_companions(struct pci_dev *pdev, struct usb_hcd *hcd) in wait_for_companions() argument [all …]
|
/linux-2.6.39/drivers/usb/host/ |
D | ehci-xilinx-of.c | 40 static int ehci_xilinx_of_setup(struct usb_hcd *hcd) in ehci_xilinx_of_setup() argument 42 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_xilinx_of_setup() 49 retval = ehci_init(hcd); in ehci_xilinx_of_setup() 72 static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_xilinx_port_handed_over() argument 74 dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum); in ehci_xilinx_port_handed_over() 75 if (hcd->has_tt) { in ehci_xilinx_port_handed_over() 76 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 79 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 82 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 84 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() [all …]
|
D | ohci-pnx8550.c | 77 struct usb_hcd *hcd; in usb_hcd_pnx8550_probe() local 85 hcd = usb_create_hcd (driver, &dev->dev, "pnx8550"); in usb_hcd_pnx8550_probe() 86 if (!hcd) in usb_hcd_pnx8550_probe() 88 hcd->rsrc_start = dev->resource[0].start; in usb_hcd_pnx8550_probe() 89 hcd->rsrc_len = dev->resource[0].end - dev->resource[0].start + 1; in usb_hcd_pnx8550_probe() 91 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in usb_hcd_pnx8550_probe() 93 "failed\n", hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pnx8550_probe() 98 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pnx8550_probe() 99 if (!hcd->regs) { in usb_hcd_pnx8550_probe() 101 hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pnx8550_probe() [all …]
|
D | ohci-s3c2410.c | 39 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd) in to_s3c2410_info() argument 41 return hcd->self.controller->platform_data; in to_s3c2410_info() 44 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) in s3c2410_start_hc() argument 56 info->hcd = hcd; in s3c2410_start_hc() 73 info->hcd = NULL; in s3c2410_stop_hc() 91 ohci_s3c2410_hub_status_data (struct usb_hcd *hcd, char *buf) in ohci_s3c2410_hub_status_data() argument 93 struct s3c2410_hcd_info *info = to_s3c2410_info(hcd); in ohci_s3c2410_hub_status_data() 98 orig = ohci_hub_status_data (hcd, buf); in ohci_s3c2410_hub_status_data() 110 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data() 149 struct usb_hcd *hcd, in ohci_s3c2410_hub_control() argument [all …]
|
D | ohci-ep93xx.c | 47 struct usb_hcd *hcd; in usb_hcd_ep93xx_probe() local 54 hcd = usb_create_hcd(driver, &pdev->dev, "ep93xx"); in usb_hcd_ep93xx_probe() 55 if (hcd == NULL) in usb_hcd_ep93xx_probe() 58 hcd->rsrc_start = pdev->resource[0].start; in usb_hcd_ep93xx_probe() 59 hcd->rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1; in usb_hcd_ep93xx_probe() 60 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in usb_hcd_ep93xx_probe() 61 usb_put_hcd(hcd); in usb_hcd_ep93xx_probe() 66 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_ep93xx_probe() 67 if (hcd->regs == NULL) { in usb_hcd_ep93xx_probe() 82 ohci_hcd_init(hcd_to_ohci(hcd)); in usb_hcd_ep93xx_probe() [all …]
|
D | ohci-spear.c | 23 #define to_spear_ohci(hcd) (struct spear_ohci *)hcd_to_ohci(hcd) argument 35 static int __devinit ohci_spear_start(struct usb_hcd *hcd) in ohci_spear_start() argument 37 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_spear_start() 43 ohci->regs = hcd->regs; in ohci_spear_start() 47 dev_err(hcd->self.controller, "can't start\n"); in ohci_spear_start() 48 ohci_stop(hcd); in ohci_spear_start() 96 struct usb_hcd *hcd = NULL; in spear_ohci_hcd_drv_probe() local 123 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in spear_ohci_hcd_drv_probe() 124 if (!hcd) { in spear_ohci_hcd_drv_probe() 135 hcd->rsrc_start = pdev->resource[0].start; in spear_ohci_hcd_drv_probe() [all …]
|
D | isp1760-hcd.c | 47 static inline struct isp1760_hcd *hcd_to_priv(struct usb_hcd *hcd) in hcd_to_priv() argument 49 return (struct isp1760_hcd *) (hcd->hcd_priv); in hcd_to_priv() 278 static void alloc_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) in alloc_mem() argument 280 struct isp1760_hcd *priv = hcd_to_priv(hcd); in alloc_mem() 297 dev_err(hcd->self.controller, in alloc_mem() 302 dev_err(hcd->self.controller, "Pool %2d size %4d status: %d\n", in alloc_mem() 311 static void free_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd) in free_mem() argument 313 struct isp1760_hcd *priv = hcd_to_priv(hcd); in free_mem() 328 dev_err(hcd->self.controller, "%s: Invalid pointer: %08x\n", in free_mem() 333 static void isp1760_init_regs(struct usb_hcd *hcd) in isp1760_init_regs() argument [all …]
|
D | ohci-ppc-soc.c | 35 struct usb_hcd *hcd; in usb_hcd_ppc_soc_probe() local 55 hcd = usb_create_hcd(driver, &pdev->dev, "PPC-SOC USB"); in usb_hcd_ppc_soc_probe() 56 if (!hcd) in usb_hcd_ppc_soc_probe() 58 hcd->rsrc_start = res->start; in usb_hcd_ppc_soc_probe() 59 hcd->rsrc_len = res->end - res->start + 1; in usb_hcd_ppc_soc_probe() 61 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in usb_hcd_ppc_soc_probe() 67 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_ppc_soc_probe() 68 if (!hcd->regs) { in usb_hcd_ppc_soc_probe() 74 ohci = hcd_to_ohci(hcd); in usb_hcd_ppc_soc_probe() 83 retval = usb_add_hcd(hcd, irq, IRQF_DISABLED); in usb_hcd_ppc_soc_probe() [all …]
|
D | ehci-vt8500.c | 21 static int ehci_update_device(struct usb_hcd *hcd, struct usb_device *udev) in ehci_update_device() argument 23 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_update_device() 89 struct usb_hcd *hcd; in vt8500_ehci_drv_probe() local 101 hcd = usb_create_hcd(&vt8500_ehci_hc_driver, &pdev->dev, "VT8500"); in vt8500_ehci_drv_probe() 102 if (!hcd) in vt8500_ehci_drv_probe() 106 hcd->rsrc_start = res->start; in vt8500_ehci_drv_probe() 107 hcd->rsrc_len = resource_size(res); in vt8500_ehci_drv_probe() 109 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in vt8500_ehci_drv_probe() 115 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in vt8500_ehci_drv_probe() 116 if (!hcd->regs) { in vt8500_ehci_drv_probe() [all …]
|
D | ehci-spear.c | 22 #define to_spear_ehci(hcd) (struct spear_ehci *)hcd_to_ehci(hcd) argument 34 static int ehci_spear_setup(struct usb_hcd *hcd) in ehci_spear_setup() argument 36 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_spear_setup() 40 ehci->caps = hcd->regs; in ehci_spear_setup() 41 ehci->regs = hcd->regs + HC_LENGTH(ehci_readl(ehci, in ehci_spear_setup() 49 retval = ehci_init(hcd); in ehci_spear_setup() 95 struct usb_hcd *hcd ; in spear_ehci_hcd_drv_probe() local 126 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in spear_ehci_hcd_drv_probe() 127 if (!hcd) { in spear_ehci_hcd_drv_probe() 138 hcd->rsrc_start = res->start; in spear_ehci_hcd_drv_probe() [all …]
|
D | ehci-fsl.c | 51 struct usb_hcd *hcd; in usb_hcd_fsl_probe() local 88 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in usb_hcd_fsl_probe() 89 if (!hcd) { in usb_hcd_fsl_probe() 102 hcd->rsrc_start = res->start; in usb_hcd_fsl_probe() 103 hcd->rsrc_len = res->end - res->start + 1; in usb_hcd_fsl_probe() 104 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in usb_hcd_fsl_probe() 110 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_fsl_probe() 112 if (hcd->regs == NULL) { in usb_hcd_fsl_probe() 118 pdata->regs = hcd->regs; in usb_hcd_fsl_probe() 130 setbits32(hcd->regs + FSL_SOC_USB_CTRL, 0x4); in usb_hcd_fsl_probe() [all …]
|
D | ehci-sh.c | 17 struct usb_hcd *hcd; member 20 static int ehci_sh_reset(struct usb_hcd *hcd) in ehci_sh_reset() argument 22 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_sh_reset() 25 ehci->caps = hcd->regs; in ehci_sh_reset() 26 ehci->regs = hcd->regs + HC_LENGTH(ehci_readl(ehci, in ehci_sh_reset() 38 ret = ehci_init(hcd); in ehci_sh_reset() 103 struct usb_hcd *hcd; in ehci_hcd_sh_probe() local 128 hcd = usb_create_hcd(&ehci_sh_hc_driver, &pdev->dev, in ehci_hcd_sh_probe() 130 if (!hcd) { in ehci_hcd_sh_probe() 135 hcd->rsrc_start = res->start; in ehci_hcd_sh_probe() [all …]
|
D | ohci-cns3xxx.c | 15 cns3xxx_ohci_start(struct usb_hcd *hcd) in cns3xxx_ohci_start() argument 17 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in cns3xxx_ohci_start() 44 err("can't start %s", hcd->self.bus_name); in cns3xxx_ohci_start() 45 ohci_stop(hcd); in cns3xxx_ohci_start() 76 struct usb_hcd *hcd; in cns3xxx_ohci_probe() local 92 hcd = usb_create_hcd(driver, dev, dev_name(dev)); in cns3xxx_ohci_probe() 93 if (!hcd) in cns3xxx_ohci_probe() 102 hcd->rsrc_start = res->start; in cns3xxx_ohci_probe() 103 hcd->rsrc_len = res->end - res->start + 1; in cns3xxx_ohci_probe() 105 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in cns3xxx_ohci_probe() [all …]
|
D | ehci-cns3xxx.c | 14 static int cns3xxx_ehci_init(struct usb_hcd *hcd) in cns3xxx_ehci_init() argument 16 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in cns3xxx_ehci_init() 35 ehci->caps = hcd->regs; in cns3xxx_ehci_init() 36 ehci->regs = hcd->regs in cns3xxx_ehci_init() 40 hcd->has_tt = 0; in cns3xxx_ehci_init() 43 retval = ehci_init(hcd); in cns3xxx_ehci_init() 82 struct usb_hcd *hcd; in cns3xxx_ehci_probe() local 98 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in cns3xxx_ehci_probe() 99 if (!hcd) in cns3xxx_ehci_probe() 109 hcd->rsrc_start = res->start; in cns3xxx_ehci_probe() [all …]
|
D | ehci-ixp4xx.c | 16 static int ixp4xx_ehci_init(struct usb_hcd *hcd) in ixp4xx_ehci_init() argument 18 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ixp4xx_ehci_init() 24 ehci->caps = hcd->regs + 0x100; in ixp4xx_ehci_init() 25 ehci->regs = hcd->regs + 0x100 in ixp4xx_ehci_init() 29 hcd->has_tt = 1; in ixp4xx_ehci_init() 32 retval = ehci_init(hcd); in ixp4xx_ehci_init() 70 struct usb_hcd *hcd; in ixp4xx_ehci_probe() local 88 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in ixp4xx_ehci_probe() 89 if (!hcd) { in ixp4xx_ehci_probe() 102 hcd->rsrc_start = res->start; in ixp4xx_ehci_probe() [all …]
|
D | ohci-ppc-of.c | 23 ohci_ppc_of_start(struct usb_hcd *hcd) in ohci_ppc_of_start() argument 25 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_ppc_of_start() 33 ohci_stop(hcd); in ohci_ppc_of_start() 86 struct usb_hcd *hcd; in ohci_hcd_ppc_of_probe() local 108 hcd = usb_create_hcd(&ohci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); in ohci_hcd_ppc_of_probe() 109 if (!hcd) in ohci_hcd_ppc_of_probe() 112 hcd->rsrc_start = res.start; in ohci_hcd_ppc_of_probe() 113 hcd->rsrc_len = res.end - res.start + 1; in ohci_hcd_ppc_of_probe() 115 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ohci_hcd_ppc_of_probe() 128 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_ppc_of_probe() [all …]
|
D | ohci-au1xxx.c | 112 static int __devinit ohci_au1xxx_start(struct usb_hcd *hcd) in ohci_au1xxx_start() argument 114 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_au1xxx_start() 123 err ("can't start %s", hcd->self.bus_name); in ohci_au1xxx_start() 124 ohci_stop(hcd); in ohci_au1xxx_start() 176 struct usb_hcd *hcd; in ohci_hcd_au1xxx_drv_probe() local 197 hcd = usb_create_hcd(&ohci_au1xxx_hc_driver, &pdev->dev, "au1xxx"); in ohci_hcd_au1xxx_drv_probe() 198 if (!hcd) in ohci_hcd_au1xxx_drv_probe() 201 hcd->rsrc_start = pdev->resource[0].start; in ohci_hcd_au1xxx_drv_probe() 202 hcd->rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1; in ohci_hcd_au1xxx_drv_probe() 204 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ohci_hcd_au1xxx_drv_probe() [all …]
|
D | ohci-da8xx.c | 85 static int ohci_da8xx_init(struct usb_hcd *hcd) in ohci_da8xx_init() argument 87 struct device *dev = hcd->self.controller; in ohci_da8xx_init() 89 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_da8xx_init() 129 static void ohci_da8xx_stop(struct usb_hcd *hcd) in ohci_da8xx_stop() argument 131 ohci_stop(hcd); in ohci_da8xx_stop() 135 static int ohci_da8xx_start(struct usb_hcd *hcd) in ohci_da8xx_start() argument 137 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_da8xx_start() 142 ohci_da8xx_stop(hcd); in ohci_da8xx_start() 150 static int ohci_da8xx_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_da8xx_hub_status_data() argument 152 int length = ohci_hub_status_data(hcd, buf); in ohci_da8xx_hub_status_data() [all …]
|
D | ehci-w90x900.c | 24 struct usb_hcd *hcd; in usb_w90x900_probe() local 37 hcd = usb_create_hcd(driver, &pdev->dev, "w90x900 EHCI"); in usb_w90x900_probe() 38 if (!hcd) { in usb_w90x900_probe() 43 hcd->rsrc_start = res->start; in usb_w90x900_probe() 44 hcd->rsrc_len = res->end - res->start + 1; in usb_w90x900_probe() 46 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in usb_w90x900_probe() 51 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in usb_w90x900_probe() 52 if (hcd->regs == NULL) { in usb_w90x900_probe() 57 ehci = hcd_to_ehci(hcd); in usb_w90x900_probe() 58 ehci->caps = hcd->regs; in usb_w90x900_probe() [all …]
|
D | ehci-ppc-of.c | 21 static int ehci_ppc_of_setup(struct usb_hcd *hcd) in ehci_ppc_of_setup() argument 23 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_ppc_of_setup() 30 retval = ehci_init(hcd); in ehci_ppc_of_setup() 111 struct usb_hcd *hcd; in ehci_hcd_ppc_of_probe() local 128 hcd = usb_create_hcd(&ehci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); in ehci_hcd_ppc_of_probe() 129 if (!hcd) in ehci_hcd_ppc_of_probe() 132 hcd->rsrc_start = res.start; in ehci_hcd_ppc_of_probe() 133 hcd->rsrc_len = res.end - res.start + 1; in ehci_hcd_ppc_of_probe() 135 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ehci_hcd_ppc_of_probe() 148 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_ppc_of_probe() [all …]
|
D | ohci-ps3.c | 24 static int ps3_ohci_hc_reset(struct usb_hcd *hcd) in ps3_ohci_hc_reset() argument 26 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ps3_ohci_hc_reset() 33 static int __devinit ps3_ohci_hc_start(struct usb_hcd *hcd) in ps3_ohci_hc_start() argument 36 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ps3_ohci_hc_start() 48 err("can't start %s", hcd->self.bus_name); in ps3_ohci_hc_start() 49 ohci_stop(hcd); in ps3_ohci_hc_start() 81 struct usb_hcd *hcd; in ps3_ohci_probe() local 131 hcd = usb_create_hcd(&ps3_ohci_hc_driver, &dev->core, dev_name(&dev->core)); in ps3_ohci_probe() 133 if (!hcd) { in ps3_ohci_probe() 140 hcd->rsrc_start = dev->m_region->lpar_addr; in ps3_ohci_probe() [all …]
|
D | ehci-au1xxx.c | 72 static int au1xxx_ehci_setup(struct usb_hcd *hcd) in au1xxx_ehci_setup() argument 74 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in au1xxx_ehci_setup() 75 int ret = ehci_init(hcd); in au1xxx_ehci_setup() 131 struct usb_hcd *hcd; in ehci_hcd_au1xxx_drv_probe() local 153 hcd = usb_create_hcd(&ehci_au1xxx_hc_driver, &pdev->dev, "Au1xxx"); in ehci_hcd_au1xxx_drv_probe() 154 if (!hcd) in ehci_hcd_au1xxx_drv_probe() 158 hcd->rsrc_start = res->start; in ehci_hcd_au1xxx_drv_probe() 159 hcd->rsrc_len = resource_size(res); in ehci_hcd_au1xxx_drv_probe() 161 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ehci_hcd_au1xxx_drv_probe() 167 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_au1xxx_drv_probe() [all …]
|
D | ohci-at91.c | 56 struct usb_hcd *hcd = platform_get_drvdata(pdev); in at91_start_hc() local 57 struct ohci_regs __iomem *regs = hcd->regs; in at91_start_hc() 74 struct usb_hcd *hcd = platform_get_drvdata(pdev); in at91_stop_hc() local 75 struct ohci_regs __iomem *regs = hcd->regs; in at91_stop_hc() 111 struct usb_hcd *hcd = NULL; in usb_hcd_at91_probe() local 124 hcd = usb_create_hcd(driver, &pdev->dev, "at91"); in usb_hcd_at91_probe() 125 if (!hcd) in usb_hcd_at91_probe() 127 hcd->rsrc_start = pdev->resource[0].start; in usb_hcd_at91_probe() 128 hcd->rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1; in usb_hcd_at91_probe() 130 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in usb_hcd_at91_probe() [all …]
|
D | ehci-ps3.c | 24 static int ps3_ehci_hc_reset(struct usb_hcd *hcd) in ps3_ehci_hc_reset() argument 27 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ps3_ehci_hc_reset() 31 ehci->caps = hcd->regs; in ps3_ehci_hc_reset() 32 ehci->regs = hcd->regs + HC_LENGTH(ehci_readl(ehci, in ps3_ehci_hc_reset() 45 result = ehci_init(hcd); in ps3_ehci_hc_reset() 85 struct usb_hcd *hcd; in ps3_ehci_probe() local 134 hcd = usb_create_hcd(&ps3_ehci_hc_driver, &dev->core, dev_name(&dev->core)); in ps3_ehci_probe() 136 if (!hcd) { in ps3_ehci_probe() 143 hcd->rsrc_start = dev->m_region->lpar_addr; in ps3_ehci_probe() 144 hcd->rsrc_len = dev->m_region->len; in ps3_ehci_probe() [all …]
|