/freebsd-10.2-release/sys/dev/usb/controller/ |
H A D | ohci_fdt.c | 116 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 D | dwc_otg_atmelarm.c | 96 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 D | dwc_otg_fdt.c | 109 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 D | musb_otg_atmelarm.c | 148 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 D | ohci_atmelarm.c | 110 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 D | ohci_s3c24x0.c | 98 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 D | uss820dci_atmelarm.c | 118 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 D | atmegadci_atmelarm.c | 112 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 D | ehci_mv.c | 138 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 D | uhci_pci.c | 276 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 D | xhci_pci.c | 186 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 D | at91dci_atmelarm.c | 193 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 D | at91dci_fdt.c | 199 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 D | ohci_pci.c | 233 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 D | ehci_fsl.c | 249 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 D | ehci_ixp4xx.c | 121 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 D | a10_ehci.c | 133 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 D | ar71xx_ohci.c | 90 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 D | ar71xx_ehci.c | 106 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 D | ehci_ebus.c | 116 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 D | ohci_ec.c | 105 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 D | ehci_ps3.c | 100 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 D | ohci_ps3.c | 96 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 D | xls_ehci.c | 105 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 D | zy7_ehci.c | 228 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);
|