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 | 775 struct resource *pci_mem; member 822 ptn_dev->pci_mem = bus_alloc_resource(ptn_dev->dev, SYS_RES_MEMORY, in nm_os_pt_memdev_iomap() 824 if (ptn_dev->pci_mem == NULL) { in nm_os_pt_memdev_iomap() 830 *nm_paddr = rman_get_start(ptn_dev->pci_mem); in nm_os_pt_memdev_iomap() 831 *nm_addr = rman_get_virtual(ptn_dev->pci_mem); in nm_os_pt_memdev_iomap() 836 (unsigned long)rman_get_size(ptn_dev->pci_mem), in nm_os_pt_memdev_iomap() 853 if (ptn_dev->pci_mem) { in nm_os_pt_memdev_iounmap() 855 PCIR_BAR(PTNETMAP_MEM_PCI_BAR), ptn_dev->pci_mem); in nm_os_pt_memdev_iounmap() 856 ptn_dev->pci_mem = NULL; in nm_os_pt_memdev_iounmap() 925 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 | 543 rf->dev_ctx.mem_bus_space_tag = rman_get_bustag(peer->pci_mem); in irdma_fill_device_info() 544 rf->dev_ctx.mem_bus_space_handle = rman_get_bushandle(peer->pci_mem); in irdma_fill_device_info() 545 rf->dev_ctx.mem_bus_space_size = rman_get_size(peer->pci_mem); in irdma_fill_device_info() 548 rf->hw.hw_addr = (u8 *)rman_get_virtual(peer->pci_mem); in irdma_fill_device_info() 588 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 | 1543 if (sc->pci_mem != NULL) in iavf_free_pci_resources() 1545 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 | 1127 sc->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in ixv_allocate_pci_resources() 1130 if (!(sc->pci_mem)) { in ixv_allocate_pci_resources() 1136 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixv_allocate_pci_resources() 1137 sc->osdep.mem_bus_space_handle = rman_get_bushandle(sc->pci_mem); in ixv_allocate_pci_resources() 1163 if (sc->pci_mem != NULL) in ixv_free_pci_resources() 1165 rman_get_rid(sc->pci_mem), sc->pci_mem); in ixv_free_pci_resources()
|
| H A D | ixgbe.h | 375 struct resource *pci_mem; member
|
| H A D | if_ix.c | 3548 sc->pci_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in ixgbe_allocate_pci_resources() 3551 if (!(sc->pci_mem)) { in ixgbe_allocate_pci_resources() 3558 sc->osdep.mem_bus_space_tag = rman_get_bustag(sc->pci_mem); in ixgbe_allocate_pci_resources() 3560 rman_get_bushandle(sc->pci_mem); in ixgbe_allocate_pci_resources() 4965 if (sc->pci_mem != NULL) in ixgbe_free_pci_resources() 4967 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
|