Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c198 hcd->rsrc_len = resource_size(&dev->res); in ohci_hcd_sa1111_probe()
231 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ohci_hcd_sa1111_probe()
251 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_sa1111_probe()
270 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_sa1111_remove()
Dohci-omap.c230 hcd->rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1; in ohci_hcd_omap_probe()
280 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ohci_hcd_omap_probe()
286 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_omap_probe()
307 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_omap_probe()
347 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_omap_remove()
Dohci-tmio.c210 hcd->rsrc_len = resource_size(regs); in ohci_hcd_tmio_drv_probe()
222 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_tmio_drv_probe()
Dehci-npcm7xx.c89 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-xilinx-of.c143 hcd->rsrc_len = resource_size(&res); in ehci_hcd_xilinx_of_probe()
Duhci-grlib.c116 hcd->rsrc_len = resource_size(&res); in uhci_hcd_grlib_probe()
Dehci-spear.c101 hcd->rsrc_len = resource_size(res); in spear_ehci_hcd_drv_probe()
Duhci-platform.c101 hcd->rsrc_len = resource_size(res); in uhci_hcd_platform_probe()
Dohci-ppc-of.c114 hcd->rsrc_len = resource_size(&res); in ohci_hcd_ppc_of_probe()
Dehci-sh.c105 hcd->rsrc_len = resource_size(res); in ehci_hcd_sh_probe()
Dehci-ppc-of.c119 hcd->rsrc_len = resource_size(&res); in ehci_hcd_ppc_of_probe()
Dohci-spear.c79 hcd->rsrc_len = resource_size(res); in spear_ohci_hcd_drv_probe()
Dehci-atmel.c133 hcd->rsrc_len = resource_size(res); in ehci_atmel_drv_probe()
Dehci-omap.c139 hcd->rsrc_len = resource_size(res); in ehci_hcd_omap_probe()
Dohci-nxp.c212 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.c252 hcd->rsrc_len = resource_size(res); in ehci_orion_drv_probe()
Dohci-exynos.c170 hcd->rsrc_len = resource_size(res); in exynos_ohci_probe()
Dohci-st.c203 hcd->rsrc_len = resource_size(res_mem); in st_ohci_platform_probe()
/linux-6.1.9/drivers/usb/cdns3/
Dcdnsp-pci.c104 resource_size_t rsrc_start, rsrc_len; in cdnsp_pci_probe() local
109 rsrc_len = pci_resource_len(pdev, PCI_BAR_DEV); in cdnsp_pci_probe()
110 res = devm_request_mem_region(dev, rsrc_start, rsrc_len, "dev"); in cdnsp_pci_probe()
117 cdnsp->dev_regs = devm_ioremap(dev, rsrc_start, rsrc_len); in cdnsp_pci_probe()
/linux-6.1.9/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