Lines Matching refs:TC_PRINT
81 TC_PRINT("\n===================================================================\n"); in test_multi_sector_rw()
82 TC_PRINT("Perform test on multiple consequtive sectors on %s\n", flash_dev->name); in test_multi_sector_rw()
84 TC_PRINT("\nTest 0: Get Flash page layout\n"); in test_multi_sector_rw()
91 TC_PRINT("----pages-------size----\n"); in test_multi_sector_rw()
93 TC_PRINT("%2d: 0x%-8X 0x%-8x\n", i, layout[i].pages_count, in test_multi_sector_rw()
98 TC_PRINT("Empty flash_pages_layout!\n"); in test_multi_sector_rw()
102 TC_PRINT("\nPage size selected: %d\n", min_page_size); in test_multi_sector_rw()
109 TC_PRINT("\nTest 1: Flash erase\n"); in test_multi_sector_rw()
117 TC_PRINT("Flash erase failed! %d\n", rc); in test_multi_sector_rw()
127 TC_PRINT("Flash read failed! %d\n", rc); in test_multi_sector_rw()
131 TC_PRINT("Flash erase failed at offset 0x%x got 0x%x\n", offs, in test_multi_sector_rw()
137 TC_PRINT("Flash erase succeeded!\n"); in test_multi_sector_rw()
139 TC_PRINT("\nTest 2: Flash write\n"); in test_multi_sector_rw()
143 TC_PRINT("\nAttempting to write %zu bytes at offset 0x%x\n", MSPI_FLASH_TEST_SIZE, in test_multi_sector_rw()
147 TC_PRINT("Flash write failed! %d\n", rc); in test_multi_sector_rw()
154 TC_PRINT("Flash read failed! %d\n", rc); in test_multi_sector_rw()
159 TC_PRINT("Data read matches data written. Good!!\n"); in test_multi_sector_rw()
166 TC_PRINT("Data read does not match data written!!\n"); in test_multi_sector_rw()
169 TC_PRINT("%08x wrote %02x read %02x MISMATCH\n", in test_multi_sector_rw()
174 TC_PRINT("Too many data mismatch!!\n"); in test_multi_sector_rw()