Lines Matching refs:vstart
472 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument
476 *vstart = CONFIG_SYS_SDRAM_BASE; in arch_memory_test_prepare()
481 if ((*vstart) + (*size) > (ulong)bd) in arch_memory_test_prepare()
482 *size = (ulong)bd - *vstart; in arch_memory_test_prepare()
488 int arch_memory_test_advance(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_advance() argument
494 int arch_memory_test_cleanup(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_cleanup() argument
509 u32 memsize, vstart; in memory_regions_post_test() local
511 arch_memory_test_prepare(&vstart, &memsize, &phys_offset); in memory_regions_post_test()
513 ret = memory_post_test_lines(vstart, memsize); in memory_regions_post_test()
515 ret = memory_post_test_regions(vstart, memsize); in memory_regions_post_test()
524 u32 memsize, vstart; in memory_post_test() local
526 arch_memory_test_prepare(&vstart, &memsize, &phys_offset); in memory_post_test()
530 ret = memory_post_tests(vstart, memsize); in memory_post_test()
532 ret = memory_post_test_regions(vstart, memsize); in memory_post_test()
535 !arch_memory_test_advance(&vstart, &memsize, &phys_offset)); in memory_post_test()
537 arch_memory_test_cleanup(&vstart, &memsize, &phys_offset); in memory_post_test()