Home
last modified time | relevance | path

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

/NextBSD/sys/dev/oce/
HDoce_hw.c164 if (sc->devcfg_res != NULL) { in oce_hw_pci_free()
167 PCIR_BAR(pci_cfg_barnum), sc->devcfg_res); in oce_hw_pci_free()
168 sc->devcfg_res = (struct resource *)NULL; in oce_hw_pci_free()
267 sc->devcfg_res = bus_alloc_resource_any(sc->dev, in oce_hw_pci_alloc()
271 sc->devcfg_res = bus_alloc_resource(sc->dev, in oce_hw_pci_alloc()
276 if (!sc->devcfg_res) in oce_hw_pci_alloc()
279 sc->devcfg_btag = rman_get_bustag(sc->devcfg_res); in oce_hw_pci_alloc()
280 sc->devcfg_bhandle = rman_get_bushandle(sc->devcfg_res); in oce_hw_pci_alloc()
281 sc->devcfg_vhandle = rman_get_virtual(sc->devcfg_res); in oce_hw_pci_alloc()
HDoce_if.h800 struct resource *devcfg_res; member