Home
last modified time | relevance | path

Searched refs:host_mem (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/pci-host/
H A Dbonito.c657 MemoryRegion *host_mem = get_system_memory(); in bonito_pci_realize() local
671 memory_region_add_subregion(host_mem, BONITO_INTERNAL_REG_BASE, &s->iomem); in bonito_pci_realize()
676 memory_region_add_subregion(host_mem, BONITO_PCICONFIG_BASE, in bonito_pci_realize()
682 memory_region_add_subregion(host_mem, BONITO_SPCICONFIG_BASE, in bonito_pci_realize()
689 memory_region_add_subregion(host_mem, 0x1fe00200, &s->iomem_ldma); in bonito_pci_realize()
694 memory_region_add_subregion(host_mem, 0x1fe00300, &s->iomem_cop); in bonito_pci_realize()
701 memory_region_add_subregion(host_mem, BONITO_PCIIO_BASE, in bonito_pci_realize()
708 memory_region_add_subregion(host_mem, BONITO_DEV_BASE, in bonito_pci_realize()
719 memory_region_add_subregion(host_mem, BONITO_PCIHI_BASE, pcimem_alias); in bonito_pci_realize()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c862 if (region->host_mem < cregion->host_mem) in vm_userspace_mem_region_hva_insert()
865 TEST_ASSERT(region->host_mem != in vm_userspace_mem_region_hva_insert()
866 cregion->host_mem, in vm_userspace_mem_region_hva_insert()
1030 ret = madvise(region->host_mem, npages * vm->page_size, in vm_userspace_mem_region_add()
1033 region->host_mem, npages * vm->page_size, in vm_userspace_mem_region_add()
1045 region->region.userspace_addr = (uintptr_t) region->host_mem; in vm_userspace_mem_region_add()
1488 return (void *)((uintptr_t)region->host_mem in addr_gpa2hva()
1517 if (hva >= region->host_mem) { in addr_hva2gpa()
1518 if (hva <= (region->host_mem in addr_hva2gpa()
1522 + (hva - (uintptr_t)region->host_mem)); in addr_hva2gpa()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.h52 void *host_mem; member
/openbmc/linux/drivers/scsi/
H A Dinitio.c2732 static void i91uSCBPost(u8 * host_mem, u8 * cblk_mem) in i91uSCBPost() argument
2738 host = (struct initio_host *) host_mem; in i91uSCBPost()