Lines Matching refs:phys_offset
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()
652 (u64)(*vstart) + (*phys_offset) + (*size) - 1); in arch_memory_test_prepare()
658 int arch_memory_test_cleanup(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_cleanup() argument