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

12

/freebsd-10.0-release/sys/arm/allwinner/
H A Da10_ehci.c128 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
129 if (!sc->sc_io_res) {
134 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
135 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
136 bsh = rman_get_bushandle(sc->sc_io_res);
138 sc->sc_io_size = rman_get_size(sc->sc_io_res);
253 if (sc->sc_io_res) {
255 sc->sc_io_res);
256 sc->sc_io_res = NULL;
/freebsd-10.0-release/sys/arm/broadcom/bcm2835/
H A Ddwc_otg_brcm.c104 sc->sc_otg.sc_io_res =
107 if (!(sc->sc_otg.sc_io_res)) {
111 sc->sc_otg.sc_io_tag = rman_get_bustag(sc->sc_otg.sc_io_res);
112 sc->sc_otg.sc_io_hdl = rman_get_bushandle(sc->sc_otg.sc_io_res);
113 sc->sc_otg.sc_io_size = rman_get_size(sc->sc_otg.sc_io_res);
180 if (sc->sc_otg.sc_io_res) {
182 sc->sc_otg.sc_io_res);
183 sc->sc_otg.sc_io_res = NULL;
/freebsd-10.0-release/sys/arm/econa/
H A Dehci_ebus.c115 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY,
117 if (!sc->sc_io_res) {
121 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
122 bsh = rman_get_bushandle(sc->sc_io_res);
201 if (sc->sc_io_res) {
222 if (sc->sc_io_res) {
224 sc->sc_io_res);
225 sc->sc_io_res = NULL;
H A Dohci_ec.c104 sc->sc_ohci.sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
107 if (!(sc->sc_ohci.sc_io_res)) {
111 sc->sc_ohci.sc_io_tag = rman_get_bustag(sc->sc_ohci.sc_io_res);
112 bsh = rman_get_bushandle(sc->sc_ohci.sc_io_res);
120 sc->sc_ohci.sc_io_size = rman_get_size(sc->sc_ohci.sc_io_res);
208 if (sc->sc_ohci.sc_io_res) {
210 sc->sc_ohci.sc_io_res);
211 sc->sc_ohci.sc_io_res = NULL;
/freebsd-10.0-release/sys/dev/usb/controller/
H A Ddwc_otg_atmelarm.c95 sc->sc_otg.sc_io_res =
98 if (!(sc->sc_otg.sc_io_res)) {
102 sc->sc_otg.sc_io_tag = rman_get_bustag(sc->sc_otg.sc_io_res);
103 sc->sc_otg.sc_io_hdl = rman_get_bushandle(sc->sc_otg.sc_io_res);
104 sc->sc_otg.sc_io_size = rman_get_size(sc->sc_otg.sc_io_res);
169 if (sc->sc_otg.sc_io_res) {
171 sc->sc_otg.sc_io_res);
172 sc->sc_otg.sc_io_res = NULL;
H A Dmusb_otg_atmelarm.c147 sc->sc_otg.sc_io_res =
150 if (!(sc->sc_otg.sc_io_res)) {
154 sc->sc_otg.sc_io_tag = rman_get_bustag(sc->sc_otg.sc_io_res);
155 sc->sc_otg.sc_io_hdl = rman_get_bushandle(sc->sc_otg.sc_io_res);
156 sc->sc_otg.sc_io_size = rman_get_size(sc->sc_otg.sc_io_res);
234 if (sc->sc_otg.sc_io_res) {
236 sc->sc_otg.sc_io_res);
237 sc->sc_otg.sc_io_res = NULL;
H A Dohci_atmelarm.c109 sc->sc_ohci.sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
112 if (!(sc->sc_ohci.sc_io_res)) {
116 sc->sc_ohci.sc_io_tag = rman_get_bustag(sc->sc_ohci.sc_io_res);
117 sc->sc_ohci.sc_io_hdl = rman_get_bushandle(sc->sc_ohci.sc_io_res);
118 sc->sc_ohci.sc_io_size = rman_get_size(sc->sc_ohci.sc_io_res);
215 if (sc->sc_ohci.sc_io_res) {
217 sc->sc_ohci.sc_io_res);
218 sc->sc_ohci.sc_io_res = NULL;
H A Dohci_s3c24x0.c97 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
100 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);
186 if (sc->sc_io_res) {
188 sc->sc_io_res);
189 sc->sc_io_res = NULL;
H A Duss820dci_atmelarm.c117 sc->sc_io_res =
120 if (!sc->sc_io_res) {
123 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
124 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
125 sc->sc_io_size = rman_get_size(sc->sc_io_res);
197 if (sc->sc_io_res) {
199 sc->sc_io_res);
200 sc->sc_io_res = NULL;
H A Datmegadci_atmelarm.c111 sc->sc_otg.sc_io_res =
114 if (!(sc->sc_otg.sc_io_res)) {
118 sc->sc_otg.sc_io_tag = rman_get_bustag(sc->sc_otg.sc_io_res);
119 sc->sc_otg.sc_io_hdl = rman_get_bushandle(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 Dehci_mv.c134 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
135 if (!sc->sc_io_res) {
139 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
140 bsh = rman_get_bushandle(sc->sc_io_res);
141 sc->sc_io_size = rman_get_size(sc->sc_io_res) - MV_USB_HOST_OFST;
255 if (sc->sc_io_res) {
288 if (sc->sc_io_res) {
290 sc->sc_io_res);
291 sc->sc_io_res = NULL;
H A Duhci_pci.c275 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_IOPORT, &rid,
277 if (!sc->sc_io_res) {
281 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
282 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
283 sc->sc_io_size = rman_get_size(sc->sc_io_res);
396 if (sc->sc_io_res) {
420 if (sc->sc_io_res) {
422 sc->sc_io_res);
423 sc->sc_io_res = NULL;
H A Dxhci_pci.c183 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
185 if (!sc->sc_io_res) {
189 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
190 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
191 sc->sc_io_size = rman_get_size(sc->sc_io_res);
283 if (sc->sc_io_res) {
301 if (sc->sc_io_res) {
303 sc->sc_io_res);
304 sc->sc_io_res = NULL;
H A Dat91dci_atmelarm.c192 sc->sc_dci.sc_io_res =
195 if (!(sc->sc_dci.sc_io_res)) {
199 sc->sc_dci.sc_io_tag = rman_get_bustag(sc->sc_dci.sc_io_res);
200 sc->sc_dci.sc_io_hdl = rman_get_bushandle(sc->sc_dci.sc_io_res);
201 sc->sc_dci.sc_io_size = rman_get_size(sc->sc_dci.sc_io_res);
289 if (sc->sc_dci.sc_io_res) {
291 sc->sc_dci.sc_io_res);
292 sc->sc_dci.sc_io_res = NULL;
H A Dohci_pci.c232 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
234 if (!sc->sc_io_res) {
238 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
239 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
240 sc->sc_io_size = rman_get_size(sc->sc_io_res);
365 if (sc->sc_io_res) {
367 sc->sc_io_res);
368 sc->sc_io_res = NULL;
H A Dehci_fsl.c245 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
247 if (sc->sc_io_res == NULL) {
256 iot = rman_get_bustag(sc->sc_io_res);
262 ioh = rman_get_bushandle(sc->sc_io_res);
414 if (sc->sc_io_res) {
415 bus_release_resource(self, SYS_RES_MEMORY, 0, sc->sc_io_res);
416 sc->sc_io_res = NULL;
H A Dehci_ixp4xx.c120 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
121 if (!sc->sc_io_res) {
133 isc->iot = rman_get_bustag(sc->sc_io_res);
145 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
239 if (sc->sc_io_res) {
241 sc->sc_io_res);
242 sc->sc_io_res = NULL;
H A Dehci_pci.c297 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
299 if (!sc->sc_io_res) {
303 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
304 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
305 sc->sc_io_size = rman_get_size(sc->sc_io_res);
485 if (sc->sc_io_res) {
487 sc->sc_io_res);
488 sc->sc_io_res = NULL;
/freebsd-10.0-release/sys/mips/atheros/
H A Dar71xx_ohci.c89 sc->sc_ohci.sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
91 if (sc->sc_ohci.sc_io_res == NULL) {
95 sc->sc_ohci.sc_io_tag = rman_get_bustag(sc->sc_ohci.sc_io_res);
96 sc->sc_ohci.sc_io_hdl = rman_get_bushandle(sc->sc_ohci.sc_io_res);
97 sc->sc_ohci.sc_io_size = rman_get_size(sc->sc_ohci.sc_io_res);
181 if (sc->sc_ohci.sc_io_res) {
182 bus_release_resource(dev, SYS_RES_MEMORY, 0, sc->sc_ohci.sc_io_res);
183 sc->sc_ohci.sc_io_res = NULL;
H A Dar71xx_ehci.c105 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid, RF_ACTIVE);
106 if (!sc->sc_io_res) {
116 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
117 sc->sc_io_size = rman_get_size(sc->sc_io_res);
228 if (sc->sc_io_res) {
230 sc->sc_io_res);
231 sc->sc_io_res = NULL;
/freebsd-10.0-release/sys/powerpc/ps3/
H A Dehci_ps3.c98 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
101 if (!sc->sc_io_res) {
106 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
107 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
108 sc->sc_io_size = rman_get_size(sc->sc_io_res);
H A Dohci_ps3.c94 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
97 if (!sc->sc_io_res) {
102 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
103 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
104 sc->sc_io_size = rman_get_size(sc->sc_io_res);
/freebsd-10.0-release/sys/mips/rmi/
H A Dxls_ehci.c104 sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,
106 if (!sc->sc_io_res) {
110 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
111 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
191 if (sc->sc_io_res) {
193 sc->sc_io_res);
194 sc->sc_io_res = NULL;
/freebsd-10.0-release/sys/arm/lpc/
H A Dlpc_ohci.c127 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
128 if (!sc->sc_io_res) {
133 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
134 sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
135 sc->sc_io_size = rman_get_size(sc->sc_io_res);
220 if (sc->sc_io_res)
221 bus_release_resource(dev, SYS_RES_MEMORY, 0, sc->sc_io_res);
/freebsd-10.0-release/sys/arm/xilinx/
H A Dzy7_ehci.c224 sc->sc_io_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
226 if (sc->sc_io_res == NULL) {
232 sc->sc_io_tag = rman_get_bustag(sc->sc_io_res);
233 bsh = rman_get_bushandle(sc->sc_io_res);
331 if (sc->sc_io_res)
333 rman_get_rid(sc->sc_io_res), sc->sc_io_res);

Completed in 141 milliseconds

12