| /freebsd-13-stable/sys/dev/liquidio/ |
| HD | 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-13-stable/sys/dev/netmap/ |
| HD | netmap_freebsd.c | 763 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/ |
| HD | ixl_iw.h | 56 struct resource *pci_mem; member
|
| HD | ixl_iw.c | 165 pf_info->pci_mem = pf->pci_mem; in ixl_iw_pf_init()
|
| HD | 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()
|
| HD | if_ixl.c | 374 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()
|
| HD | ixl_pf.h | 120 struct resource *pci_mem; member
|
| /freebsd-13-stable/sys/dev/irdma/ |
| HD | 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-13-stable/sys/dev/iavf/ |
| HD | 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()
|
| HD | iavf_iflib.h | 341 struct resource *pci_mem; member
|
| HD | 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-13-stable/sys/dev/ice/ |
| HD | ice_rdma.h | 246 struct resource *pci_mem; member
|
| HD | ice_rdma.c | 645 entry->peer.pci_mem = sc->bar0.res; in ice_rdma_pf_attach_locked()
|
| /freebsd-13-stable/sys/dev/ixgbe/ |
| HD | if_ixv.c | 1122 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()
|
| HD | ixgbe.h | 364 struct resource *pci_mem; member
|
| HD | if_ix.c | 2938 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/ |
| HD | lio_device.h | 172 struct resource *pci_mem; member
|