Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/dev/liquidio/
HDlio_main.h72 if (oct->mem_bus_space[baridx].pci_mem != NULL) { in lio_unmap_pci_barx()
75 oct->mem_bus_space[baridx].pci_mem); in lio_unmap_pci_barx()
76 oct->mem_bus_space[baridx].pci_mem = NULL; in lio_unmap_pci_barx()
90 oct->mem_bus_space[baridx].pci_mem = in lio_map_pci_barx()
94 if (oct->mem_bus_space[baridx].pci_mem == NULL) { in lio_map_pci_barx()
101 rman_get_bustag(oct->mem_bus_space[baridx].pci_mem); in lio_map_pci_barx()
103 rman_get_bushandle(oct->mem_bus_space[baridx].pci_mem); in lio_map_pci_barx()
/freebsd-13-stable/sys/dev/netmap/
HDnetmap_freebsd.c763 struct resource *pci_mem; member
811 ptn_dev->pci_mem = bus_alloc_resource(ptn_dev->dev, SYS_RES_MEMORY, in nm_os_pt_memdev_iomap()
813 if (ptn_dev->pci_mem == NULL) { in nm_os_pt_memdev_iomap()
819 *nm_paddr = rman_get_start(ptn_dev->pci_mem); in nm_os_pt_memdev_iomap()
820 *nm_addr = rman_get_virtual(ptn_dev->pci_mem); in nm_os_pt_memdev_iomap()
825 (unsigned long)rman_get_size(ptn_dev->pci_mem), in nm_os_pt_memdev_iomap()
842 if (ptn_dev->pci_mem) { in nm_os_pt_memdev_iounmap()
844 PCIR_BAR(PTNETMAP_MEM_PCI_BAR), ptn_dev->pci_mem); in nm_os_pt_memdev_iounmap()
845 ptn_dev->pci_mem = NULL; in nm_os_pt_memdev_iounmap()
918 if (ptn_dev->pci_mem) { in ptn_memdev_detach()
[all …]
/freebsd-13-stable/sys/dev/ixl/
HDixl_iw.h56 struct resource *pci_mem; member
HDixl_iw.c165 pf_info->pci_mem = pf->pci_mem; in ixl_iw_pf_init()
HDixl_pf_iflib.c338 if (pf->pci_mem != NULL) in ixl_free_pci_resources()
340 rman_get_rid(pf->pci_mem), pf->pci_mem); in ixl_free_pci_resources()
HDif_ixl.c374 pf->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ixl_allocate_pci_resources()
377 if (!(pf->pci_mem)) { in ixl_allocate_pci_resources()
396 rman_get_bustag(pf->pci_mem); in ixl_allocate_pci_resources()
398 rman_get_bushandle(pf->pci_mem); in ixl_allocate_pci_resources()
399 pf->osdep.mem_bus_space_size = rman_get_size(pf->pci_mem); in ixl_allocate_pci_resources()
HDixl_pf.h120 struct resource *pci_mem; member
/freebsd-13-stable/sys/dev/irdma/
HDicrdma.c523 rf->dev_ctx.mem_bus_space_tag = rman_get_bustag(peer->pci_mem); in irdma_fill_device_info()
524 rf->dev_ctx.mem_bus_space_handle = rman_get_bushandle(peer->pci_mem); in irdma_fill_device_info()
525 rf->dev_ctx.mem_bus_space_size = rman_get_size(peer->pci_mem); in irdma_fill_device_info()
528 rf->hw.hw_addr = (u8 *)rman_get_virtual(peer->pci_mem); in irdma_fill_device_info()
567 if_getdunit(peer->ifp), (void *)(uintptr_t)peer->pci_mem->r_bustag); in irdma_probe()
/freebsd-13-stable/sys/dev/iavf/
HDiavf_lib.c102 sc->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in iavf_allocate_pci_resources_common()
105 if (!(sc->pci_mem)) { in iavf_allocate_pci_resources_common()
114 rman_get_bustag(sc->pci_mem); in iavf_allocate_pci_resources_common()
116 rman_get_bushandle(sc->pci_mem); in iavf_allocate_pci_resources_common()
117 sc->osdep.mem_bus_space_size = rman_get_size(sc->pci_mem); in iavf_allocate_pci_resources_common()
HDiavf_iflib.h341 struct resource *pci_mem; member
HDif_iavf_iflib.c1546 if (sc->pci_mem != NULL) in iavf_free_pci_resources()
1548 rman_get_rid(sc->pci_mem), sc->pci_mem); in iavf_free_pci_resources()
/freebsd-13-stable/sys/dev/ice/
HDice_rdma.h246 struct resource *pci_mem; member
HDice_rdma.c645 entry->peer.pci_mem = sc->bar0.res; in ice_rdma_pf_attach_locked()
/freebsd-13-stable/sys/dev/ixgbe/
HDif_ixv.c1122 sc->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in ixv_allocate_pci_resources()
1125 if (!(sc->pci_mem)) { in ixv_allocate_pci_resources()
1131 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixv_allocate_pci_resources()
1132 sc->osdep.mem_bus_space_handle = rman_get_bushandle(sc->pci_mem); in ixv_allocate_pci_resources()
1158 if (sc->pci_mem != NULL) in ixv_free_pci_resources()
1160 rman_get_rid(sc->pci_mem), sc->pci_mem); in ixv_free_pci_resources()
HDixgbe.h364 struct resource *pci_mem; member
HDif_ix.c2938 sc->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in ixgbe_allocate_pci_resources()
2941 if (!(sc->pci_mem)) { in ixgbe_allocate_pci_resources()
2948 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixgbe_allocate_pci_resources()
2950 rman_get_bushandle(sc->pci_mem); in ixgbe_allocate_pci_resources()
4206 if (sc->pci_mem != NULL) in ixgbe_free_pci_resources()
4208 rman_get_rid(sc->pci_mem), sc->pci_mem); in ixgbe_free_pci_resources()
/freebsd-13-stable/sys/dev/liquidio/base/
HDlio_device.h172 struct resource *pci_mem; member