Home
last modified time | relevance | path

Searched refs:flash_query_1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dpflash-cfi02-test.c183 static inline uint64_t flash_query_1(const FlashConfig *c, faddr query_addr) in flash_query_1() function
318 int nb_erase_regions = flash_query_1(c, FLASH_ADDR(0x2C)); in test_geometry()
324 uint32_t device_len = 1 << flash_query_1(c, FLASH_ADDR(0x27)); in test_geometry()
328 uint16_t pri = flash_query_1(c, FLASH_ADDR(0x15)) + in test_geometry()
329 (flash_query_1(c, FLASH_ADDR(0x16)) << 8); in test_geometry()
334 g_assert_cmpint(flash_query_1(c, FLASH_ADDR(pri + 6)), ==, 2); /* R/W */ in test_geometry()
346 uint32_t nb_sectors = flash_query_1(c, FLASH_ADDR(base + 0)) + in test_geometry()
347 (flash_query_1(c, FLASH_ADDR(base + 1)) << 8) + 1; in test_geometry()
348 uint32_t sector_len = (flash_query_1(c, FLASH_ADDR(base + 2)) << 8) + in test_geometry()
349 (flash_query_1(c, FLASH_ADDR(base + 3)) << 16); in test_geometry()