Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/oce/
H A Doce_hw.c166 if (sc->devcfg_res != NULL) { in oce_hw_pci_free()
169 PCIR_BAR(pci_cfg_barnum), sc->devcfg_res); in oce_hw_pci_free()
170 sc->devcfg_res = (struct resource *)NULL; in oce_hw_pci_free()
269 sc->devcfg_res = bus_alloc_resource_any(sc->dev, in oce_hw_pci_alloc()
273 sc->devcfg_res = bus_alloc_resource_anywhere(sc->dev, in oce_hw_pci_alloc()
277 if (!sc->devcfg_res) in oce_hw_pci_alloc()
280 sc->devcfg_btag = rman_get_bustag(sc->devcfg_res); in oce_hw_pci_alloc()
281 sc->devcfg_bhandle = rman_get_bushandle(sc->devcfg_res); in oce_hw_pci_alloc()
282 sc->devcfg_vhandle = rman_get_virtual(sc->devcfg_res); in oce_hw_pci_alloc()
H A Doce_if.h813 struct resource *devcfg_res; member