/freebsd-10.0-release/sys/arm/allwinner/ |
H A D | a10_ehci.c | 128 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 D | dwc_otg_brcm.c | 104 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 D | ehci_ebus.c | 115 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 D | ohci_ec.c | 104 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 D | dwc_otg_atmelarm.c | 95 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 D | musb_otg_atmelarm.c | 147 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 D | ohci_atmelarm.c | 109 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 D | ohci_s3c24x0.c | 97 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 D | uss820dci_atmelarm.c | 117 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 D | atmegadci_atmelarm.c | 111 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 D | ehci_mv.c | 134 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 D | uhci_pci.c | 275 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 D | xhci_pci.c | 183 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 D | at91dci_atmelarm.c | 192 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 D | ohci_pci.c | 232 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 D | ehci_fsl.c | 245 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 D | ehci_ixp4xx.c | 120 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 D | ehci_pci.c | 297 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 D | ar71xx_ohci.c | 89 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 D | ar71xx_ehci.c | 105 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 D | ehci_ps3.c | 98 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 D | ohci_ps3.c | 94 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 D | xls_ehci.c | 104 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 D | lpc_ohci.c | 127 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 D | zy7_ehci.c | 224 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);
|