Searched refs:sc_io_res (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-10.2-release/sys/dev/usb/controller/
H A Dohci_fdt.c116 sc->sc_ohci.sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
119 if (!(sc->sc_ohci.sc_io_res)) {
123 sc->sc_ohci.sc_io_tag = rman_get_bustag(sc->sc_ohci.sc_io_res);
124 sc->sc_ohci.sc_io_hdl = rman_get_bushandle(sc->sc_ohci.sc_io_res);
125 sc->sc_ohci.sc_io_size = rman_get_size(sc->sc_ohci.sc_io_res);
185 if (sc->sc_ohci.sc_io_res != NULL) {
219 if (sc->sc_ohci.sc_io_res) {
221 sc->sc_ohci.sc_io_res);
222 sc->sc_ohci.sc_io_res = NULL;
H A Ddwc_otg_atmelarm.c96 sc->sc_otg.sc_io_res =
99 if (!(sc->sc_otg.sc_io_res)) {
103 sc->sc_otg.sc_io_tag = rman_get_bustag(sc->sc_otg.sc_io_res);
104 sc->sc_otg.sc_io_hdl = rman_get_bushandle(sc->sc_otg.sc_io_res);
105 sc->sc_otg.sc_io_size = rman_get_size(sc->sc_otg.sc_io_res);
170 if (sc->sc_otg.sc_io_res) {
172 sc->sc_otg.sc_io_res);
173 sc->sc_otg.sc_io_res = NULL;
H A Ddwc_otg_fdt.c109 sc->sc_otg.sc_io_res =
112 if (!(sc->sc_otg.sc_io_res)) {
116 sc->sc_otg.sc_io_tag = rman_get_bustag(sc->sc_otg.sc_io_res);
117 sc->sc_otg.sc_io_hdl = rman_get_bushandle(sc->sc_otg.sc_io_res);
118 sc->sc_otg.sc_io_size = rman_get_size(sc->sc_otg.sc_io_res);
185 if (sc->sc_otg.sc_io_res) {
187 sc->sc_otg.sc_io_res);
188 sc->sc_otg.sc_io_res = NULL;
H A Dmusb_otg_atmelarm.c148 sc->sc_otg.sc_io_res =
151 if (!(sc->sc_otg.sc_io_res)) {
155 sc->sc_otg.sc_io_tag = rman_get_bustag(sc->sc_otg.sc_io_res);
156 sc->sc_otg.sc_io_hdl = rman_get_bushandle(sc->sc_otg.sc_io_res);
157 sc->sc_otg.sc_io_size = rman_get_size(sc->sc_otg.sc_io_res);
235 if (sc->sc_otg.sc_io_res) {
237 sc->sc_otg.sc_io_res);
238 sc->sc_otg.sc_io_res = NULL;
H A Dohci_atmelarm.c110 sc->sc_ohci.sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
113 if (!(sc->sc_ohci.sc_io_res)) {
117 sc->sc_ohci.sc_io_tag = rman_get_bustag(sc->sc_ohci.sc_io_res);
118 sc->sc_ohci.sc_io_hdl = rman_get_bushandle(sc->sc_ohci.sc_io_res);
119 sc->sc_ohci.sc_io_size = rman_get_size(sc->sc_ohci.sc_io_res);
211 if (sc->sc_ohci.sc_io_res) {
213 sc->sc_ohci.sc_io_res);
214 sc->sc_ohci.sc_io_res = NULL;
H A Dohci_s3c24x0.c98 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
101 if (!(sc->sc_io_res)) {
105 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
106 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
107 sc->sc_io_size = rman_get_size(sc->sc_io_res);
187 if (sc->sc_io_res) {
189 sc->sc_io_res);
190 sc->sc_io_res = NULL;
H A Duss820dci_atmelarm.c118 sc->sc_io_res =
121 if (!sc->sc_io_res) {
124 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
125 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
126 sc->sc_io_size = rman_get_size(sc->sc_io_res);
198 if (sc->sc_io_res) {
200 sc->sc_io_res);
201 sc->sc_io_res = NULL;
H A Datmegadci_atmelarm.c112 sc->sc_otg.sc_io_res =
115 if (!(sc->sc_otg.sc_io_res)) {
119 sc->sc_otg.sc_io_tag = rman_get_bustag(sc->sc_otg.sc_io_res);
120 sc->sc_otg.sc_io_hdl = rman_get_bushandle(sc->sc_otg.sc_io_res);
186 if (sc->sc_otg.sc_io_res) {
188 sc->sc_otg.sc_io_res);
189 sc->sc_otg.sc_io_res = NULL;
H A Dehci_mv.c138 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
139 if (!sc->sc_io_res) {
143 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
144 bsh = rman_get_bushandle(sc->sc_io_res);
145 sc->sc_io_size = rman_get_size(sc->sc_io_res) - MV_USB_HOST_OFST;
259 if (sc->sc_io_res) {
292 if (sc->sc_io_res) {
294 sc->sc_io_res);
295 sc->sc_io_res = NULL;
H A Duhci_pci.c276 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_IOPORT, &rid,
278 if (!sc->sc_io_res) {
282 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
283 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
284 sc->sc_io_size = rman_get_size(sc->sc_io_res);
397 if (sc->sc_io_res) {
421 if (sc->sc_io_res) {
423 sc->sc_io_res);
424 sc->sc_io_res = NULL;
H A Dxhci_pci.c186 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
188 if (!sc->sc_io_res) {
192 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
193 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
194 sc->sc_io_size = rman_get_size(sc->sc_io_res);
209 sc->sc_io_res);
328 if (sc->sc_io_res) {
330 sc->sc_io_res);
331 sc->sc_io_res = NULL;
H A Dat91dci_atmelarm.c193 sc->sc_dci.sc_io_res =
196 if (!(sc->sc_dci.sc_io_res)) {
200 sc->sc_dci.sc_io_tag = rman_get_bustag(sc->sc_dci.sc_io_res);
201 sc->sc_dci.sc_io_hdl = rman_get_bushandle(sc->sc_dci.sc_io_res);
202 sc->sc_dci.sc_io_size = rman_get_size(sc->sc_dci.sc_io_res);
285 if (sc->sc_dci.sc_io_res) {
287 sc->sc_dci.sc_io_res);
288 sc->sc_dci.sc_io_res = NULL;
H A Dat91dci_fdt.c199 sc->sc_dci.sc_io_res =
202 if (!(sc->sc_dci.sc_io_res)) {
206 sc->sc_dci.sc_io_tag = rman_get_bustag(sc->sc_dci.sc_io_res);
207 sc->sc_dci.sc_io_hdl = rman_get_bushandle(sc->sc_dci.sc_io_res);
208 sc->sc_dci.sc_io_size = rman_get_size(sc->sc_dci.sc_io_res);
291 if (sc->sc_dci.sc_io_res) {
293 sc->sc_dci.sc_io_res);
294 sc->sc_dci.sc_io_res = NULL;
H A Dohci_pci.c233 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
235 if (!sc->sc_io_res) {
239 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
240 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
241 sc->sc_io_size = rman_get_size(sc->sc_io_res);
366 if (sc->sc_io_res) {
368 sc->sc_io_res);
369 sc->sc_io_res = NULL;
H A Dehci_fsl.c249 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
251 if (sc->sc_io_res == NULL) {
260 iot = rman_get_bustag(sc->sc_io_res);
266 ioh = rman_get_bushandle(sc->sc_io_res);
418 if (sc->sc_io_res) {
419 bus_release_resource(self, SYS_RES_MEMORY, 0, sc->sc_io_res);
420 sc->sc_io_res = NULL;
H A Dehci_ixp4xx.c121 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
122 if (!sc->sc_io_res) {
134 isc->iot = rman_get_bustag(sc->sc_io_res);
146 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
240 if (sc->sc_io_res) {
242 sc->sc_io_res);
243 sc->sc_io_res = NULL;
/freebsd-10.2-release/sys/arm/allwinner/
H A Da10_ehci.c133 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
134 if (!sc->sc_io_res) {
139 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
140 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
141 bsh = rman_get_bushandle(sc->sc_io_res);
143 sc->sc_io_size = rman_get_size(sc->sc_io_res);
258 if (sc->sc_io_res) {
260 sc->sc_io_res);
261 sc->sc_io_res = NULL;
/freebsd-10.2-release/sys/mips/atheros/
H A Dar71xx_ohci.c90 sc->sc_ohci.sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
92 if (sc->sc_ohci.sc_io_res == NULL) {
96 sc->sc_ohci.sc_io_tag = rman_get_bustag(sc->sc_ohci.sc_io_res);
97 sc->sc_ohci.sc_io_hdl = rman_get_bushandle(sc->sc_ohci.sc_io_res);
98 sc->sc_ohci.sc_io_size = rman_get_size(sc->sc_ohci.sc_io_res);
182 if (sc->sc_ohci.sc_io_res) {
183 bus_release_resource(dev, SYS_RES_MEMORY, 0, sc->sc_ohci.sc_io_res);
184 sc->sc_ohci.sc_io_res = NULL;
H A Dar71xx_ehci.c106 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
107 if (!sc->sc_io_res) {
117 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
118 sc->sc_io_size = rman_get_size(sc->sc_io_res);
229 if (sc->sc_io_res) {
231 sc->sc_io_res);
232 sc->sc_io_res = NULL;
/freebsd-10.2-release/sys/arm/cavium/cns11xx/
H A Dehci_ebus.c116 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY,
118 if (!sc->sc_io_res) {
122 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
123 bsh = rman_get_bushandle(sc->sc_io_res);
202 if (sc->sc_io_res) {
223 if (sc->sc_io_res) {
225 sc->sc_io_res);
226 sc->sc_io_res = NULL;
H A Dohci_ec.c105 sc->sc_ohci.sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
108 if (!(sc->sc_ohci.sc_io_res)) {
112 sc->sc_ohci.sc_io_tag = rman_get_bustag(sc->sc_ohci.sc_io_res);
113 bsh = rman_get_bushandle(sc->sc_ohci.sc_io_res);
121 sc->sc_ohci.sc_io_size = rman_get_size(sc->sc_ohci.sc_io_res);
209 if (sc->sc_ohci.sc_io_res) {
211 sc->sc_ohci.sc_io_res);
212 sc->sc_ohci.sc_io_res = NULL;
/freebsd-10.2-release/sys/powerpc/ps3/
H A Dehci_ps3.c100 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
103 if (!sc->sc_io_res) {
108 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
109 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
110 sc->sc_io_size = rman_get_size(sc->sc_io_res);
H A Dohci_ps3.c96 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
99 if (!sc->sc_io_res) {
104 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
105 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
106 sc->sc_io_size = rman_get_size(sc->sc_io_res);
/freebsd-10.2-release/sys/mips/rmi/
H A Dxls_ehci.c105 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
107 if (!sc->sc_io_res) {
111 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
112 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
192 if (sc->sc_io_res) {
194 sc->sc_io_res);
195 sc->sc_io_res = NULL;
/freebsd-10.2-release/sys/arm/xilinx/
H A Dzy7_ehci.c228 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
230 if (sc->sc_io_res == NULL) {
236 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
237 bsh = rman_get_bushandle(sc->sc_io_res);
335 if (sc->sc_io_res)
337 rman_get_rid(sc->sc_io_res), sc->sc_io_res);

Completed in 675 milliseconds

12