Home
last modified time | relevance | path

Searched refs:pci_resource (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/ntb/ntb_hw/
H A Dntb_hw_amd.c1121 bar->pci_bus_tag = rman_get_bustag(bar->pci_resource); in save_bar_parameters()
1122 bar->pci_bus_handle = rman_get_bushandle(bar->pci_resource); in save_bar_parameters()
1123 bar->pbase = rman_get_start(bar->pci_resource); in save_bar_parameters()
1124 bar->size = rman_get_size(bar->pci_resource); in save_bar_parameters()
1125 bar->vbase = rman_get_virtual(bar->pci_resource); in save_bar_parameters()
1132 bar->pci_resource = bus_alloc_resource_any(ntb->device, SYS_RES_MEMORY, in map_bar()
1134 if (bar->pci_resource == NULL) in map_bar()
1193 if (bar_info->pci_resource != NULL) in amd_ntb_unmap_pci_bars()
1195 bar_info->pci_resource_id, bar_info->pci_resource); in amd_ntb_unmap_pci_bars()
H A Dntb_hw_intel.c141 struct resource *pci_resource; member
989 if (bar->pci_resource == NULL) in map_mmr_bar()
1008 if (bar->pci_resource == NULL) in map_memory_window_bar()
1037 bar->pci_resource, bar->pbase, in map_memory_window_bar()
1097 if (bar->pci_resource != NULL) in intel_ntb_unmap_pci_bar()
1099 bar->pci_resource_id, bar->pci_resource); in intel_ntb_unmap_pci_bar()
3856 bar->pci_bus_tag = rman_get_bustag(bar->pci_resource); in save_bar_parameters()
3857 bar->pci_bus_handle = rman_get_bushandle(bar->pci_resource); in save_bar_parameters()
3858 bar->pbase = rman_get_start(bar->pci_resource); in save_bar_parameters()
3859 bar->size = rman_get_size(bar->pci_resource); in save_bar_parameters()
[all …]
H A Dntb_hw_amd.h124 struct resource *pci_resource; member
/freebsd/sys/crypto/ccp/
H A Dccp.h158 struct resource *pci_resource; member
H A Dccp_hardware.c345 sc->pci_resource = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ccp_map_pci_bar()
347 if (sc->pci_resource == NULL) { in ccp_map_pci_bar()
358 sc->pci_resource); in ccp_map_pci_bar()
362 sc->pci_bus_tag = rman_get_bustag(sc->pci_resource); in ccp_map_pci_bar()
363 sc->pci_bus_handle = rman_get_bushandle(sc->pci_resource); in ccp_map_pci_bar()
377 sc->pci_resource); in ccp_unmap_pci_bar()
/freebsd/sys/dev/ioat/
H A Dioat.c406 if (ioat->pci_resource != NULL) in ioat_detach()
408 ioat->pci_resource_id, ioat->pci_resource); in ioat_detach()
677 ioat->pci_resource = bus_alloc_resource_any(ioat->device, in ioat_map_pci_bar()
680 if (ioat->pci_resource == NULL) { in ioat_map_pci_bar()
685 ioat->pci_bus_tag = rman_get_bustag(ioat->pci_resource); in ioat_map_pci_bar()
686 ioat->pci_bus_handle = rman_get_bushandle(ioat->pci_resource); in ioat_map_pci_bar()
H A Dioat_internal.h448 struct resource *pci_resource; member