/openbmc/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 193 static hwaddr xen_phys_offset_to_gaddr(hwaddr phys_offset, ram_addr_t size, in xen_phys_offset_to_gaddr() argument 196 hwaddr addr = phys_offset & page_mask; in xen_phys_offset_to_gaddr() 200 if (range_covers_byte(physmap->phys_offset, physmap->size, addr)) { in xen_phys_offset_to_gaddr() 201 return physmap->start_addr + (phys_offset - physmap->phys_offset); in xen_phys_offset_to_gaddr() 205 return phys_offset; in xen_phys_offset_to_gaddr() 215 xen_domid, (uint64_t)physmap->phys_offset); in xen_save_physmap() 222 xen_domid, (uint64_t)physmap->phys_offset); in xen_save_physmap() 230 xen_domid, (uint64_t)physmap->phys_offset); in xen_save_physmap() 258 hwaddr phys_offset = memory_region_get_ram_addr(mr); in xen_add_to_physmap() local 288 physmap->phys_offset = phys_offset; in xen_add_to_physmap() [all …]
|
/openbmc/u-boot/post/drivers/ |
H A D | memory.c | 470 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument 486 int arch_memory_test_advance(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_advance() argument 492 int arch_memory_test_cleanup(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_cleanup() argument 506 phys_addr_t phys_offset = 0; in memory_regions_post_test() local 509 arch_memory_test_prepare(&vstart, &memsize, &phys_offset); in memory_regions_post_test() 521 phys_addr_t phys_offset = 0; in memory_post_test() local 524 arch_memory_test_prepare(&vstart, &memsize, &phys_offset); in memory_post_test() 533 !arch_memory_test_advance(&vstart, &memsize, &phys_offset)); in memory_post_test() 535 arch_memory_test_cleanup(&vstart, &memsize, &phys_offset); in memory_post_test()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | cpu.c | 575 static int reset_tlb(phys_addr_t p_addr, u32 size, phys_addr_t *phys_offset) in reset_tlb() argument 590 read_tlbcam_entry(ddr_esel, &valid, &tsize, &epn, phys_offset); in reset_tlb() 604 int arch_memory_test_advance(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_advance() argument 616 p_addr = (*vstart) + (*size) + (*phys_offset); in arch_memory_test_advance() 619 if (reset_tlb(p_addr, p_size, phys_offset) == -1) in arch_memory_test_advance() 624 (u64)(*vstart) + (*phys_offset), in arch_memory_test_advance() 625 (u64)(*vstart) + (*phys_offset) + (*size) - 1); in arch_memory_test_advance() 633 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument 639 *phys_offset = 0; in arch_memory_test_prepare() 651 (u64)(*vstart) + (*phys_offset), in arch_memory_test_prepare() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | kvm_page_table_test.c | 232 uint64_t phys_offset; member 261 if (!p->phys_offset) in pre_init_before_test() 265 guest_test_phys_mem = p->phys_offset; in pre_init_before_test() 453 p.phys_offset = strtoull(optarg, NULL, 0); in main()
|
H A D | dirty_log_test.c | 699 uint64_t phys_offset; member 739 if (!p->phys_offset) { in run_test() 744 guest_test_phys_mem = p->phys_offset; in run_test() 895 p.phys_offset = strtoull(optarg, NULL, 0); in main()
|
H A D | dirty_log_perf_test.c | 130 uint64_t phys_offset; member 395 p.phys_offset = strtoull(optarg, NULL, 0); in main()
|
/openbmc/linux/drivers/of/ |
H A D | fdt.c | 1223 const u64 phys_offset = MIN_MEMBLOCK_ADDR; in early_init_dt_add_memory_arch() local 1249 if (base + size < phys_offset) { in early_init_dt_add_memory_arch() 1254 if (base < phys_offset) { in early_init_dt_add_memory_arch() 1256 base, phys_offset); in early_init_dt_add_memory_arch() 1257 size -= phys_offset - base; in early_init_dt_add_memory_arch() 1258 base = phys_offset; in early_init_dt_add_memory_arch()
|
/openbmc/qemu/include/sysemu/ |
H A D | xen-mapcache.h | 15 typedef hwaddr (*phys_offset_to_gaddr_t)(hwaddr phys_offset,
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | kexec.h | 117 unsigned long phys_offset; member
|
/openbmc/linux/arch/arm/mm/ |
H A D | pmsa-v8.c | 103 phys_addr_t phys_offset = PHYS_OFFSET; in pmsav8_adjust_lowmem_bounds() local 108 if (reg_start != phys_offset) in pmsav8_adjust_lowmem_bounds()
|
H A D | pmsa-v7.c | 268 phys_addr_t phys_offset = PHYS_OFFSET; in pmsav7_adjust_lowmem_bounds() local 273 if (reg_start != phys_offset) in pmsav7_adjust_lowmem_bounds()
|
/openbmc/qemu/include/hw/xen/ |
H A D | xen-hvm-common.h | 50 hwaddr phys_offset; member
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | machine_kexec.c | 162 kimage->arch.phys_offset = virt_to_phys(kimage) - (long)kimage; in machine_kexec_post_load()
|
H A D | asm-offsets.c | 195 DEFINE(KIMAGE_ARCH_PHYS_OFFSET, offsetof(struct kimage, arch.phys_offset)); in main()
|
/openbmc/u-boot/board/keymile/km83xx/ |
H A D | km83xx.c | 408 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument
|
/openbmc/u-boot/board/keymile/km_arm/ |
H A D | km_arm.c | 534 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument
|
/openbmc/linux/drivers/usb/musb/ |
H A D | tusb6010_omap.c | 32 unsigned long phys_offset; member
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | sdma.c | 1465 unsigned long phys_offset; in sdma_init() local 1471 phys_offset = (unsigned long)sde->head_dma - in sdma_init() 1473 sde->head_phys = dd->sdma_heads_phys + phys_offset; in sdma_init()
|