Home
last modified time | relevance | path

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

/freebsd/sys/dev/oce/
H A Doce_hw.c159 if (sc->devcfg_res != NULL) { in oce_hw_pci_free()
162 PCIR_BAR(pci_cfg_barnum), sc->devcfg_res); in oce_hw_pci_free()
163 sc->devcfg_res = (struct resource *)NULL; in oce_hw_pci_free()
255 sc->devcfg_res = bus_alloc_resource_any(sc->dev, in oce_hw_pci_alloc()
259 sc->devcfg_res = bus_alloc_resource_anywhere(sc->dev, in oce_hw_pci_alloc()
263 if (!sc->devcfg_res) in oce_hw_pci_alloc()
266 sc->devcfg_btag = rman_get_bustag(sc->devcfg_res); in oce_hw_pci_alloc()
267 sc->devcfg_bhandle = rman_get_bushandle(sc->devcfg_res); in oce_hw_pci_alloc()
268 sc->devcfg_vhandle = rman_get_virtual(sc->devcfg_res); in oce_hw_pci_alloc()
H A Doce_if.h801 struct resource *devcfg_res; member