Searched refs:pci_mem (Results 1 – 17 of 17) sorted by relevance
/freebsd/sys/dev/liquidio/ |
H A D | lio_main.h | 72 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/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 773 struct resource *pci_mem; member 820 ptn_dev->pci_mem = bus_alloc_resource(ptn_dev->dev, SYS_RES_MEMORY, in nm_os_pt_memdev_iomap() 822 if (ptn_dev->pci_mem == NULL) { in nm_os_pt_memdev_iomap() 828 *nm_paddr = rman_get_start(ptn_dev->pci_mem); in nm_os_pt_memdev_iomap() 829 *nm_addr = rman_get_virtual(ptn_dev->pci_mem); in nm_os_pt_memdev_iomap() 834 (unsigned long)rman_get_size(ptn_dev->pci_mem), in nm_os_pt_memdev_iomap() 851 if (ptn_dev->pci_mem) { in nm_os_pt_memdev_iounmap() 853 PCIR_BAR(PTNETMAP_MEM_PCI_BAR), ptn_dev->pci_mem); in nm_os_pt_memdev_iounmap() 854 ptn_dev->pci_mem = NULL; in nm_os_pt_memdev_iounmap() 923 if (ptn_dev->pci_mem) { in ptn_memdev_detach() [all …]
|
/freebsd/sys/dev/ixl/ |
H A D | ixl_iw.h | 56 struct resource *pci_mem; member
|
H A D | ixl_iw.c | 165 pf_info->pci_mem = pf->pci_mem; in ixl_iw_pf_init()
|
H A D | ixl_pf_iflib.c | 338 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()
|
H A D | if_ixl.c | 369 pf->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ixl_allocate_pci_resources() 372 if (!(pf->pci_mem)) { in ixl_allocate_pci_resources() 391 rman_get_bustag(pf->pci_mem); in ixl_allocate_pci_resources() 393 rman_get_bushandle(pf->pci_mem); in ixl_allocate_pci_resources() 394 pf->osdep.mem_bus_space_size = rman_get_size(pf->pci_mem); in ixl_allocate_pci_resources()
|
H A D | ixl_pf.h | 120 struct resource *pci_mem; member
|
/freebsd/sys/dev/irdma/ |
H A D | icrdma.c | 523 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/sys/dev/iavf/ |
H A D | iavf_lib.c | 102 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()
|
H A D | iavf_iflib.h | 338 struct resource *pci_mem; member
|
H A D | if_iavf_iflib.c | 1546 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/sys/dev/ice/ |
H A D | ice_rdma.h | 224 * @var ice_rdma_peer::pci_mem 246 struct resource *pci_mem; member
|
H A D | ice_rdma.c | 645 entry->peer.pci_mem = sc->bar0.res; in ice_rdma_pf_attach_locked()
|
/freebsd/sys/dev/ixgbe/ |
H A D | if_ixv.c | 1108 sc->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in ixv_allocate_pci_resources() 1111 if (!(sc->pci_mem)) { in ixv_allocate_pci_resources() 1116 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixv_allocate_pci_resources() 1118 rman_get_bushandle(sc->pci_mem); in ixv_allocate_pci_resources() 1144 if (sc->pci_mem != NULL) in ixv_free_pci_resources() 1146 rman_get_rid(sc->pci_mem), sc->pci_mem); in ixv_free_pci_resources()
|
H A D | ixgbe.h | 364 struct resource *pci_mem; member
|
H A D | if_ix.c | 2847 sc->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in ixgbe_allocate_pci_resources() 2850 if (!(sc->pci_mem)) { in ixgbe_allocate_pci_resources() 2856 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixgbe_allocate_pci_resources() 2858 rman_get_bushandle(sc->pci_mem); in ixgbe_allocate_pci_resources() 4103 if (sc->pci_mem != NULL) in ixgbe_free_pci_resources() 4105 rman_get_rid(sc->pci_mem), sc->pci_mem); in ixgbe_free_pci_resources()
|
/freebsd/sys/dev/liquidio/base/ |
H A D | lio_device.h | 172 struct resource *pci_mem; member
|