Home
last modified time | relevance | path

Searched refs:rsrc_start (Results 1 – 25 of 68) sorted by relevance

123

/linux-3.4.99/drivers/usb/host/
Dohci-pnx8550.c88 hcd->rsrc_start = dev->resource[0].start; 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()
101 hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pnx8550_probe()
117 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pnx8550_probe()
142 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pnx8550_remove()
Dohci-au1xxx.c107 hcd->rsrc_start = pdev->resource[0].start; in ohci_hcd_au1xxx_drv_probe()
110 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ohci_hcd_au1xxx_drv_probe()
116 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_au1xxx_drv_probe()
123 unit = (hcd->rsrc_start == AU1300_USB_OHCI1_PHYS_ADDR) ? in ohci_hcd_au1xxx_drv_probe()
144 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_au1xxx_drv_probe()
155 unit = (hcd->rsrc_start == AU1300_USB_OHCI1_PHYS_ADDR) ? in ohci_hcd_au1xxx_drv_remove()
160 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_au1xxx_drv_remove()
Dohci-cns3xxx.c102 hcd->rsrc_start = res->start; in cns3xxx_ohci_probe()
105 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in cns3xxx_ohci_probe()
112 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in cns3xxx_ohci_probe()
127 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in cns3xxx_ohci_probe()
139 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in cns3xxx_ohci_remove()
Dehci-ls1x.c106 hcd->rsrc_start = res->start; in ehci_hcd_ls1x_probe()
109 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ehci_hcd_ls1x_probe()
115 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_ls1x_probe()
131 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_ls1x_probe()
143 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_ls1x_remove()
Dehci-vt8500.c106 hcd->rsrc_start = res->start; 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()
146 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in vt8500_ehci_drv_probe()
158 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in vt8500_ehci_drv_remove()
Dohci-ppc-soc.c58 hcd->rsrc_start = res->start; 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()
91 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_ppc_soc_probe()
119 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_ppc_soc_remove()
Dohci-xls.c42 hcd->rsrc_start = res->start; in ohci_xls_probe_internal()
45 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in ohci_xls_probe_internal()
52 hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len); in ohci_xls_probe_internal()
67 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_xls_probe_internal()
138 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_xls_remove()
Dehci-cns3xxx.c109 hcd->rsrc_start = res->start; in cns3xxx_ehci_probe()
112 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in cns3xxx_ehci_probe()
119 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in cns3xxx_ehci_probe()
132 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in cns3xxx_ehci_probe()
145 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in cns3xxx_ehci_remove()
Dehci-xls.c71 hcd->rsrc_start = res->start; in ehci_xls_probe_internal()
74 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in ehci_xls_probe_internal()
80 hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len); in ehci_xls_probe_internal()
96 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_xls_probe_internal()
147 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_xls_remove()
Dohci-octeon.c137 hcd->rsrc_start = res_mem->start; in ohci_octeon_drv_probe()
140 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in ohci_octeon_drv_probe()
147 reg_base = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ohci_octeon_drv_probe()
182 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_octeon_drv_probe()
196 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_octeon_drv_remove()
Dehci-ixp4xx.c102 hcd->rsrc_start = res->start; in ixp4xx_ehci_probe()
105 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in ixp4xx_ehci_probe()
112 hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len); in ixp4xx_ehci_probe()
128 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ixp4xx_ehci_probe()
142 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ixp4xx_ehci_remove()
Dehci-w90x900.c43 hcd->rsrc_start = res->start; 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()
93 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_w90x900_probe()
105 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_w90x900_remove()
Dohci-platform.c111 hcd->rsrc_start = res_mem->start; in ohci_platform_probe()
114 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ohci_platform_probe()
120 hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len); in ohci_platform_probe()
134 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_platform_probe()
146 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_platform_remove()
Dehci-octeon.c126 hcd->rsrc_start = res_mem->start; in ehci_octeon_drv_probe()
129 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in ehci_octeon_drv_probe()
136 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ehci_octeon_drv_probe()
177 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_octeon_drv_probe()
191 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_octeon_drv_remove()
Dxhci-plat.c111 hcd->rsrc_start = res->start; in xhci_plat_probe()
114 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in xhci_plat_probe()
121 hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len); in xhci_plat_probe()
164 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in xhci_plat_probe()
182 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in xhci_plat_remove()
Duhci-grlib.c113 hcd->rsrc_start = res.start; in uhci_hcd_grlib_probe()
116 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in uhci_hcd_grlib_probe()
129 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in uhci_hcd_grlib_probe()
151 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in uhci_hcd_grlib_probe()
170 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in uhci_hcd_grlib_remove()
Dehci-platform.c109 hcd->rsrc_start = res_mem->start; in ehci_platform_probe()
112 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ehci_platform_probe()
118 hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len); in ehci_platform_probe()
132 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_platform_probe()
144 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_platform_remove()
Dehci-grlib.c132 hcd->rsrc_start = res.start; in ehci_hcd_grlib_probe()
135 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ehci_hcd_grlib_probe()
148 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_grlib_probe()
184 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_grlib_probe()
204 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_grlib_remove()
Dehci-xilinx-of.c176 hcd->rsrc_start = res.start; in ehci_hcd_xilinx_of_probe()
179 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ehci_hcd_xilinx_of_probe()
192 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_xilinx_of_probe()
236 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_xilinx_of_probe()
260 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_xilinx_of_remove()
Dohci-ep93xx.c58 hcd->rsrc_start = pdev->resource[0].start; in usb_hcd_ep93xx_probe()
60 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in usb_hcd_ep93xx_probe()
66 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_ep93xx_probe()
92 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_ep93xx_probe()
106 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_ep93xx_remove()
Dohci-ppc-of.c112 hcd->rsrc_start = res.start; 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()
178 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_ppc_of_probe()
196 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ohci_hcd_ppc_of_remove()
Dehci-atmel.c165 hcd->rsrc_start = res->start; in ehci_atmel_drv_probe()
168 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in ehci_atmel_drv_probe()
175 hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len); in ehci_atmel_drv_probe()
211 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_atmel_drv_probe()
228 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_atmel_drv_remove()
Dehci-au1xxx.c97 hcd->rsrc_start = res->start; in ehci_hcd_au1xxx_drv_probe()
100 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { in ehci_hcd_au1xxx_drv_probe()
106 hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_au1xxx_drv_probe()
137 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_au1xxx_drv_probe()
150 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_au1xxx_drv_remove()
Dehci-ppc-of.c132 hcd->rsrc_start = res.start; 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()
206 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_ppc_of_probe()
230 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in ehci_hcd_ppc_of_remove()
/linux-3.4.99/drivers/usb/core/
Dhcd-pci.c214 hcd->rsrc_start = pci_resource_start(dev, 0); in usb_hcd_pci_probe()
216 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, in usb_hcd_pci_probe()
222 hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pci_probe()
238 hcd->rsrc_start = pci_resource_start(dev, region); in usb_hcd_pci_probe()
240 if (request_region(hcd->rsrc_start, hcd->rsrc_len, in usb_hcd_pci_probe()
266 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pci_probe()
268 release_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pci_probe()
316 release_mem_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pci_remove()
318 release_region(hcd->rsrc_start, hcd->rsrc_len); in usb_hcd_pci_remove()

123