/drivers/usb/gadget/udc/cdns2/ |
D | cdns2-pci.c | 26 resource_size_t rsrc_start, rsrc_len; in cdns2_pci_probe() local 51 rsrc_len = pci_resource_len(pdev, PCI_BAR_DEV); in cdns2_pci_probe() 53 res = devm_request_mem_region(dev, rsrc_start, rsrc_len, "dev"); in cdns2_pci_probe() 59 priv_dev->regs = devm_ioremap(dev, rsrc_start, rsrc_len); in cdns2_pci_probe()
|
/drivers/usb/host/ |
D | ohci-sm501.c | 128 hcd->rsrc_len = resource_size(res); in ohci_hcd_sm501_drv_probe() 130 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, pdev->name)) { in ohci_hcd_sm501_drv_probe() 136 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_sm501_drv_probe() 179 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_sm501_drv_probe() 195 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_sm501_drv_remove()
|
D | ehci-ps3.c | 148 hcd->rsrc_len = dev->m_region->len; in ps3_ehci_probe() 150 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) in ps3_ehci_probe() 166 (unsigned long)hcd->rsrc_len); in ps3_ehci_probe() 188 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ps3_ehci_probe() 222 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ps3_ehci_remove()
|
D | ohci-ps3.c | 132 hcd->rsrc_len = dev->m_region->len; in ps3_ohci_probe() 134 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) in ps3_ohci_probe() 150 (unsigned long)hcd->rsrc_len); in ps3_ohci_probe() 172 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ps3_ohci_probe() 207 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ps3_ohci_remove()
|
D | ohci-sa1111.c | 195 hcd->rsrc_len = resource_size(&dev->res); in ohci_hcd_sa1111_probe() 228 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ohci_hcd_sa1111_probe() 248 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_sa1111_probe() 267 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_sa1111_remove()
|
D | ohci-omap.c | 220 hcd->rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1; in ohci_hcd_omap_probe() 270 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ohci_hcd_omap_probe() 276 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_omap_probe() 297 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_omap_probe() 337 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_omap_remove()
|
D | ehci-npcm7xx.c | 88 hcd->rsrc_len = resource_size(res); in npcm7xx_ehci_hcd_drv_probe()
|
D | ehci-grlib.c | 99 hcd->rsrc_len = resource_size(&res); in ehci_hcd_grlib_probe()
|
D | ehci-spear.c | 100 hcd->rsrc_len = resource_size(res); in spear_ehci_hcd_drv_probe()
|
D | uhci-grlib.c | 116 hcd->rsrc_len = resource_size(&res); in uhci_hcd_grlib_probe()
|
D | ehci-xilinx-of.c | 143 hcd->rsrc_len = resource_size(&res); in ehci_hcd_xilinx_of_probe()
|
D | ehci-sh.c | 104 hcd->rsrc_len = resource_size(res); in ehci_hcd_sh_probe()
|
D | ohci-ppc-of.c | 115 hcd->rsrc_len = resource_size(&res); in ohci_hcd_ppc_of_probe()
|
D | uhci-platform.c | 100 hcd->rsrc_len = resource_size(res); in uhci_hcd_platform_probe()
|
D | ohci-spear.c | 78 hcd->rsrc_len = resource_size(res); in spear_ohci_hcd_drv_probe()
|
D | ehci-ppc-of.c | 119 hcd->rsrc_len = resource_size(&res); in ehci_hcd_ppc_of_probe()
|
D | ehci-omap.c | 138 hcd->rsrc_len = resource_size(res); in ehci_hcd_omap_probe()
|
D | ehci-atmel.c | 132 hcd->rsrc_len = resource_size(res); in ehci_atmel_drv_probe()
|
D | ohci-nxp.c | 211 hcd->rsrc_len = resource_size(res); in ohci_hcd_nxp_probe()
|
D | ehci-brcm.c | 173 hcd->rsrc_len = resource_size(res_mem); in ehci_brcm_probe()
|
D | ehci-orion.c | 249 hcd->rsrc_len = resource_size(res); in ehci_orion_drv_probe()
|
D | ohci-exynos.c | 158 hcd->rsrc_len = resource_size(res); in exynos_ohci_probe()
|
D | ohci-st.c | 202 hcd->rsrc_len = resource_size(res_mem); in st_ohci_platform_probe()
|
/drivers/usb/cdns3/ |
D | cdnsp-pci.c | 97 resource_size_t rsrc_start, rsrc_len; in cdnsp_pci_probe() local 102 rsrc_len = pci_resource_len(pdev, PCI_BAR_DEV); in cdnsp_pci_probe() 103 res = devm_request_mem_region(dev, rsrc_start, rsrc_len, "dev"); in cdnsp_pci_probe() 110 cdnsp->dev_regs = devm_ioremap(dev, rsrc_start, rsrc_len); in cdnsp_pci_probe()
|
/drivers/usb/core/ |
D | hcd-pci.c | 215 hcd->rsrc_len = pci_resource_len(dev, 0); in usb_hcd_pci_probe() 217 hcd->rsrc_len, driver->description)) { in usb_hcd_pci_probe() 223 hcd->rsrc_len); in usb_hcd_pci_probe() 240 hcd->rsrc_len = pci_resource_len(dev, region); in usb_hcd_pci_probe() 242 hcd->rsrc_len, driver->description)) in usb_hcd_pci_probe()
|