Home
last modified time | relevance | path

Searched refs:sc_io_res (Results 1 – 4 of 4) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/controller/
Dehci_pci.c116 sc->sc_io_res = ioremap(res->start, res->count); in ehci_pci_attach()
117 if (!sc->sc_io_res) { in ehci_pci_attach()
121 sc->sc_io_tag = (void *)sc->sc_io_res; in ehci_pci_attach()
122 sc->sc_io_hdl = (bus_space_handle_t)sc->sc_io_res; in ehci_pci_attach()
175 if (sc->sc_io_res != NULL) { in ehci_pci_attach()
176 iounmap((void *)sc->sc_io_res); in ehci_pci_attach()
177 sc->sc_io_res = NULL; in ehci_pci_attach()
202 if (sc->sc_io_res != NULL) { in ehci_pci_detach()
203 iounmap((void *)sc->sc_io_res); in ehci_pci_detach()
204 sc->sc_io_res = NULL; in ehci_pci_detach()
Dxhci_pci.c99 sc->sc_io_res = ioremap(res->start, res->count); in xhci_pci_attach()
100 if (!sc->sc_io_res) { in xhci_pci_attach()
103 sc->sc_io_tag = (void *)sc->sc_io_res; in xhci_pci_attach()
104 sc->sc_io_hdl = (uintptr_t)sc->sc_io_res; in xhci_pci_attach()
156 iounmap((void *)sc->sc_io_res); in xhci_pci_attach()
180 if (sc->sc_io_res) { in xhci_pci_detach()
181 iounmap((void *)sc->sc_io_res); in xhci_pci_detach()
182 sc->sc_io_res = NULL; in xhci_pci_detach()
Dxhci.h479 struct resource *sc_io_res; member
Dehci.h329 struct resource *sc_io_res; member