Home
last modified time | relevance | path

Searched refs:rsrc_len (Results 1 – 25 of 45) sorted by relevance

12

/drivers/usb/gadget/udc/cdns2/
Dcdns2-pci.c26 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/
Dohci-sm501.c128 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()
Dehci-ps3.c148 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()
Dohci-ps3.c132 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()
Dohci-sa1111.c195 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()
Dohci-omap.c220 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()
Dehci-npcm7xx.c88 hcd->rsrc_len = resource_size(res); in npcm7xx_ehci_hcd_drv_probe()
Dehci-grlib.c99 hcd->rsrc_len = resource_size(&res); in ehci_hcd_grlib_probe()
Dehci-spear.c100 hcd->rsrc_len = resource_size(res); in spear_ehci_hcd_drv_probe()
Duhci-grlib.c116 hcd->rsrc_len = resource_size(&res); in uhci_hcd_grlib_probe()
Dehci-xilinx-of.c143 hcd->rsrc_len = resource_size(&res); in ehci_hcd_xilinx_of_probe()
Dehci-sh.c104 hcd->rsrc_len = resource_size(res); in ehci_hcd_sh_probe()
Dohci-ppc-of.c115 hcd->rsrc_len = resource_size(&res); in ohci_hcd_ppc_of_probe()
Duhci-platform.c100 hcd->rsrc_len = resource_size(res); in uhci_hcd_platform_probe()
Dohci-spear.c78 hcd->rsrc_len = resource_size(res); in spear_ohci_hcd_drv_probe()
Dehci-ppc-of.c119 hcd->rsrc_len = resource_size(&res); in ehci_hcd_ppc_of_probe()
Dehci-omap.c138 hcd->rsrc_len = resource_size(res); in ehci_hcd_omap_probe()
Dehci-atmel.c132 hcd->rsrc_len = resource_size(res); in ehci_atmel_drv_probe()
Dohci-nxp.c211 hcd->rsrc_len = resource_size(res); in ohci_hcd_nxp_probe()
Dehci-brcm.c173 hcd->rsrc_len = resource_size(res_mem); in ehci_brcm_probe()
Dehci-orion.c249 hcd->rsrc_len = resource_size(res); in ehci_orion_drv_probe()
Dohci-exynos.c158 hcd->rsrc_len = resource_size(res); in exynos_ohci_probe()
Dohci-st.c202 hcd->rsrc_len = resource_size(res_mem); in st_ohci_platform_probe()
/drivers/usb/cdns3/
Dcdnsp-pci.c97 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/
Dhcd-pci.c215 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()

12