Searched refs:my_page_addr (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | aspeed_smc-test.c | 326 writel(ASPEED_FLASH_BASE, make_be32(my_page_addr)); 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() 367 writel(ASPEED_FLASH_BASE, make_be32(my_page_addr)); 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() [all …]
|