Lines Matching refs:my_page_addr
315 uint32_t my_page_addr = 0x14000 * FLASH_PAGE_SIZE; /* beyond 16MB */ in test_write_page() local
326 writel(ASPEED_FLASH_BASE, make_be32(my_page_addr)); in test_write_page()
330 writel(ASPEED_FLASH_BASE, make_be32(my_page_addr + i * 4)); in test_write_page()
335 read_page(my_page_addr, page); in test_write_page()
337 g_assert_cmphex(page[i], ==, my_page_addr + i * 4); in test_write_page()
351 uint32_t my_page_addr = 0x14000 * FLASH_PAGE_SIZE; /* beyond 16MB */ in test_read_page_mem() local
367 writel(ASPEED_FLASH_BASE, make_be32(my_page_addr)); in test_read_page_mem()
371 writel(ASPEED_FLASH_BASE, make_be32(my_page_addr + i * 4)); in test_read_page_mem()
377 read_page_mem(my_page_addr, page); in test_read_page_mem()
379 g_assert_cmphex(page[i], ==, my_page_addr + i * 4); in test_read_page_mem()
393 uint32_t my_page_addr = 0x15000 * FLASH_PAGE_SIZE; in test_write_page_mem() local
413 writel(ASPEED_FLASH_BASE + my_page_addr + i * 4, in test_write_page_mem()
414 make_be32(my_page_addr + i * 4)); in test_write_page_mem()
418 read_page_mem(my_page_addr, page); in test_write_page_mem()
420 g_assert_cmphex(page[i], ==, my_page_addr + i * 4); in test_write_page_mem()