Searched refs:sc_io_res (Results 1 – 4 of 4) sorted by relevance
114 sc->sc_io_res = ioremap(res->start, res->count); in ehci_pci_attach()115 if (!sc->sc_io_res) { in ehci_pci_attach()119 sc->sc_io_tag = (void *)sc->sc_io_res; in ehci_pci_attach()120 sc->sc_io_hdl = (bus_space_handle_t)sc->sc_io_res; in ehci_pci_attach()173 if (sc->sc_io_res != NULL) { in ehci_pci_attach()174 iounmap((void *)sc->sc_io_res); in ehci_pci_attach()175 sc->sc_io_res = NULL; in ehci_pci_attach()200 if (sc->sc_io_res != NULL) { in ehci_pci_detach()201 iounmap((void *)sc->sc_io_res); in ehci_pci_detach()202 sc->sc_io_res = NULL; in ehci_pci_detach()
101 sc->sc_io_res = ioremap(res->start, res->count); in xhci_pci_attach()102 if (!sc->sc_io_res) { in xhci_pci_attach()105 sc->sc_io_tag = (void *)sc->sc_io_res; in xhci_pci_attach()106 sc->sc_io_hdl = (uintptr_t)sc->sc_io_res; in xhci_pci_attach()158 iounmap((void *)sc->sc_io_res); in xhci_pci_attach()182 if (sc->sc_io_res) { in xhci_pci_detach()183 iounmap((void *)sc->sc_io_res); in xhci_pci_detach()184 sc->sc_io_res = NULL; in xhci_pci_detach()
478 struct resource *sc_io_res; member
327 struct resource *sc_io_res; member