Lines Matching refs:flash_writel
58 static inline void flash_writel(const AspeedSMCTestData *data, uint64_t offset, in flash_writel() function
167 flash_writel(data, 0, make_be32(addr)); in read_page()
195 flash_writel(data, addr + i * 4, write_value); in write_page_mem()
250 flash_writel(test_data, 0, make_be32(some_page_addr)); in aspeed_smc_test_erase_sector()
254 flash_writel(test_data, 0, make_be32(some_page_addr + i * 4)); in aspeed_smc_test_erase_sector()
268 flash_writel(test_data, 0, make_be32(some_page_addr)); in aspeed_smc_test_erase_sector()
302 flash_writel(test_data, 0, make_be32(some_page_addr)); in aspeed_smc_test_erase_all()
306 flash_writel(test_data, 0, make_be32(some_page_addr + i * 4)); in aspeed_smc_test_erase_all()
344 flash_writel(test_data, 0, make_be32(my_page_addr)); in aspeed_smc_test_write_page()
348 flash_writel(test_data, 0, make_be32(my_page_addr + i * 4)); in aspeed_smc_test_write_page()
386 flash_writel(test_data, 0, make_be32(my_page_addr)); in aspeed_smc_test_read_page_mem()
390 flash_writel(test_data, 0, make_be32(my_page_addr + i * 4)); in aspeed_smc_test_read_page_mem()
433 flash_writel(test_data, my_page_addr + i * 4, in aspeed_smc_test_write_page_mem()
650 flash_writel(test_data, 0, make_be32(my_page_addr)); in aspeed_smc_test_write_page_qpi()
657 flash_writel(test_data, 0, make_be32(page_pattern[i])); in aspeed_smc_test_write_page_qpi()
662 flash_writel(test_data, 0, make_be32(my_page_addr + i * 4)); in aspeed_smc_test_write_page_qpi()