Home
last modified time | relevance | path

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

/openbmc/qemu/hw/i386/xen/
H A Dxen-hvm.c199 static hwaddr xen_phys_offset_to_gaddr(hwaddr phys_offset, ram_addr_t size, in xen_phys_offset_to_gaddr() argument
202 hwaddr addr = phys_offset & page_mask; in xen_phys_offset_to_gaddr()
206 if (range_covers_byte(physmap->phys_offset, physmap->size, addr)) { in xen_phys_offset_to_gaddr()
207 return physmap->start_addr + (phys_offset - physmap->phys_offset); in xen_phys_offset_to_gaddr()
211 return phys_offset; in xen_phys_offset_to_gaddr()
221 xen_domid, (uint64_t)physmap->phys_offset); in xen_save_physmap()
228 xen_domid, (uint64_t)physmap->phys_offset); in xen_save_physmap()
236 xen_domid, (uint64_t)physmap->phys_offset); in xen_save_physmap()
264 hwaddr phys_offset = memory_region_get_ram_addr(mr); in xen_add_to_physmap() local
294 physmap->phys_offset = phys_offset; in xen_add_to_physmap()
[all …]
/openbmc/u-boot/post/drivers/
H A Dmemory.c470 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 Dcpu.c575 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/qemu/include/system/
H A Dxen-mapcache.h15 typedef hwaddr (*phys_offset_to_gaddr_t)(hwaddr phys_offset,
/openbmc/qemu/include/hw/xen/
H A Dxen-hvm-common.h42 hwaddr phys_offset; member
/openbmc/u-boot/board/keymile/km83xx/
H A Dkm83xx.c408 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 Dkm_arm.c534 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument