Lines Matching refs:printf

91 	printf("\nPerform test on single sector");  in single_sector_test()
97 printf("\nTest 1: Flash erase\n"); in single_sector_test()
105 printf("Flash erase failed! %d\n", rc); in single_sector_test()
111 printf("Flash read failed! %d\n", rc); in single_sector_test()
115 printf("Flash erase failed at offset 0x%x got 0x%x\n", in single_sector_test()
119 printf("Flash erase succeeded!\n"); in single_sector_test()
121 printf("\nTest 2: Flash write\n"); in single_sector_test()
123 printf("Attempting to write %zu bytes\n", len); in single_sector_test()
126 printf("Flash write failed! %d\n", rc); in single_sector_test()
133 printf("Flash read failed! %d\n", rc); in single_sector_test()
138 printf("Data read matches data written. Good!!\n"); in single_sector_test()
144 printf("Data read does not match data written!!\n"); in single_sector_test()
146 printf("%08x wrote %02x read %02x %s\n", in single_sector_test()
167 printf("\nPerform test on multiple consecutive sectors"); in multi_sector_test()
174 printf("\nTest 1: Flash erase\n"); in multi_sector_test()
182 printf("Flash erase failed! %d\n", rc); in multi_sector_test()
191 printf("Flash read failed! %d\n", rc); in multi_sector_test()
195 printf("Flash erase failed at offset 0x%x got 0x%x\n", in multi_sector_test()
201 printf("Flash erase succeeded!\n"); in multi_sector_test()
204 printf("\nTest 2: Flash write\n"); in multi_sector_test()
209 printf("Attempting to write %zu bytes at offset 0x%x\n", len, offs); in multi_sector_test()
212 printf("Flash write failed! %d\n", rc); in multi_sector_test()
219 printf("Flash read failed! %d\n", rc); in multi_sector_test()
224 printf("Data read matches data written. Good!!\n"); in multi_sector_test()
230 printf("Data read does not match data written!!\n"); in multi_sector_test()
232 printf("%08x wrote %02x read %02x %s\n", in multi_sector_test()
253 printf("\n%s SPI flash testing\n", flash_dev->name); in main()
254 printf("==========================\n"); in main()