Home
last modified time | relevance | path

Searched refs:rl_res (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/rl/
H A Dif_rl.c681 sc->rl_res = bus_alloc_resource_any(dev, sc->rl_res_type, in rl_attach()
684 if (prefer_iomap == 0 || sc->rl_res == NULL) { in rl_attach()
687 sc->rl_res = bus_alloc_resource_any(dev, sc->rl_res_type, in rl_attach()
690 if (sc->rl_res == NULL) { in rl_attach()
703 if ((rman_get_end(sc->rl_res) - rman_get_start(sc->rl_res)) == 0xFF) in rl_attach()
708 sc->rl_btag = rman_get_bustag(sc->rl_res); in rl_attach()
709 sc->rl_bhandle = rman_get_bushandle(sc->rl_res); in rl_attach()
891 if (sc->rl_res) in rl_detach()
893 sc->rl_res); in rl_detach()
H A Dif_rlreg.h869 struct resource *rl_res; member
/freebsd/sys/dev/re/
H A Dif_re.c1256 sc->rl_res = bus_alloc_resource_any(dev, sc->rl_res_type, in re_attach()
1258 if (sc->rl_res == NULL && prefer_iomap == 0) { in re_attach()
1261 sc->rl_res = bus_alloc_resource_any(dev, sc->rl_res_type, in re_attach()
1264 if (sc->rl_res == NULL) { in re_attach()
1270 sc->rl_btag = rman_get_bustag(sc->rl_res); in re_attach()
1271 sc->rl_bhandle = rman_get_bushandle(sc->rl_res); in re_attach()
1837 if (sc->rl_res) in re_detach()
1839 sc->rl_res); in re_detach()