Home
last modified time | relevance | path

Searched refs:sc_bar0res (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/hifn/
H A Dhifn7751var.h131 struct resource *sc_bar0res; member
H A Dhifn7751.c411 sc->sc_bar0res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in hifn_attach()
413 if (sc->sc_bar0res == NULL) { in hifn_attach()
417 sc->sc_st0 = rman_get_bustag(sc->sc_bar0res); in hifn_attach()
418 sc->sc_sh0 = rman_get_bushandle(sc->sc_bar0res); in hifn_attach()
607 bus_release_resource(dev, SYS_RES_MEMORY, HIFN_BAR0, sc->sc_bar0res); in hifn_attach()
649 bus_release_resource(dev, SYS_RES_MEMORY, HIFN_BAR0, sc->sc_bar0res); in hifn_detach()