Lines Matching refs:vstart
470 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() argument
474 *vstart = CONFIG_SYS_SDRAM_BASE; in arch_memory_test_prepare()
479 if ((*vstart) + (*size) > (ulong)bd) in arch_memory_test_prepare()
480 *size = (ulong)bd - *vstart; in arch_memory_test_prepare()
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
507 u32 memsize, vstart; in memory_regions_post_test() local
509 arch_memory_test_prepare(&vstart, &memsize, &phys_offset); in memory_regions_post_test()
511 ret = memory_post_test_lines(vstart, memsize); in memory_regions_post_test()
513 ret = memory_post_test_regions(vstart, memsize); in memory_regions_post_test()
522 u32 memsize, vstart; in memory_post_test() local
524 arch_memory_test_prepare(&vstart, &memsize, &phys_offset); in memory_post_test()
528 ret = memory_post_tests(vstart, memsize); in memory_post_test()
530 ret = memory_post_test_regions(vstart, memsize); 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()