Home
last modified time | relevance | path

Searched refs:pci_mem (Results 1 – 10 of 10) sorted by relevance

/NextBSD/sys/dev/ixl/
HDixl_pf.h72 struct resource *pci_mem; member
HDixlv.h106 struct resource *pci_mem; member
HDif_ixlv.c1101 sc->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ixlv_allocate_pci_resources()
1104 if (!(sc->pci_mem)) { in ixlv_allocate_pci_resources()
1109 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixlv_allocate_pci_resources()
1110 sc->osdep.mem_bus_space_handle = rman_get_bushandle(sc->pci_mem); in ixlv_allocate_pci_resources()
1111 sc->osdep.mem_bus_space_size = rman_get_size(sc->pci_mem); in ixlv_allocate_pci_resources()
1128 if (sc->pci_mem != NULL) in ixlv_free_pci_resources()
1130 PCIR_BAR(0), sc->pci_mem); in ixlv_free_pci_resources()
HDif_ixl.c1686 pf->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ixl_allocate_pci_resources()
1689 if (!(pf->pci_mem)) { in ixl_allocate_pci_resources()
1695 rman_get_bustag(pf->pci_mem); in ixl_allocate_pci_resources()
1697 rman_get_bushandle(pf->pci_mem); in ixl_allocate_pci_resources()
1698 pf->osdep.mem_bus_space_size = rman_get_size(pf->pci_mem); in ixl_allocate_pci_resources()
1743 if (pf->pci_mem != NULL) in ixl_free_pci_resources()
1745 PCIR_BAR(0), pf->pci_mem); in ixl_free_pci_resources()
/NextBSD/sys/dev/ixgbe/
HDif_ixv.c1420 adapter->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ixv_allocate_pci_resources()
1423 if (!(adapter->pci_mem)) { in ixv_allocate_pci_resources()
1429 rman_get_bustag(adapter->pci_mem); in ixv_allocate_pci_resources()
1431 rman_get_bushandle(adapter->pci_mem); in ixv_allocate_pci_resources()
1505 if (adapter->pci_mem != NULL) in ixv_free_pci_resources()
1507 PCIR_BAR(0), adapter->pci_mem); in ixv_free_pci_resources()
HDixgbe.h467 struct resource *pci_mem; member
HDif_ix.c2678 adapter->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ixgbe_allocate_pci_resources()
2681 if (!(adapter->pci_mem)) { in ixgbe_allocate_pci_resources()
2688 rman_get_bustag(adapter->pci_mem); in ixgbe_allocate_pci_resources()
2690 rman_get_bushandle(adapter->pci_mem); in ixgbe_allocate_pci_resources()
2765 if (adapter->pci_mem != NULL) in ixgbe_free_pci_resources()
2767 PCIR_BAR(0), adapter->pci_mem); in ixgbe_free_pci_resources()
HDif_ixgbe.c3135 adapter->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ixgbe_allocate_pci_resources()
3138 if (!(adapter->pci_mem)) { in ixgbe_allocate_pci_resources()
3144 rman_get_bustag(adapter->pci_mem); in ixgbe_allocate_pci_resources()
3146 rman_get_bushandle(adapter->pci_mem); in ixgbe_allocate_pci_resources()
4288 if (adapter->pci_mem != NULL) in ixgbe_free_pci_resources()
4290 PCIR_BAR(0), adapter->pci_mem); in ixgbe_free_pci_resources()
/NextBSD/sys/dev/e1000/
HDif_igb.h427 struct resource *pci_mem; member
HDif_igb.c2307 adapter->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in igb_allocate_pci_resources()
2309 if (adapter->pci_mem == NULL) { in igb_allocate_pci_resources()
2314 rman_get_bustag(adapter->pci_mem); in igb_allocate_pci_resources()
2316 rman_get_bushandle(adapter->pci_mem); in igb_allocate_pci_resources()
2761 if (adapter->pci_mem != NULL) in igb_free_pci_resources()
2763 PCIR_BAR(0), adapter->pci_mem); in igb_free_pci_resources()