Lines Matching full:write
28 /* Write protection needs to be disabled before each write or in single_sector_test()
29 * erase, since the flash component turns on write protection in single_sector_test()
30 * automatically after completion of write and erase in single_sector_test()
46 printf("\nTest 2: Flash write\n"); in single_sector_test()
48 printf("Attempting to write %zu bytes\n", len); in single_sector_test()
51 printf("Flash write failed! %d\n", rc); in single_sector_test()
91 /* Write protection needs to be disabled before each write or in multi_sector_test()
92 * erase, since the flash component turns on write protection in multi_sector_test()
93 * automatically after completion of write and erase in multi_sector_test()
126 printf("\nTest 2: Flash write\n"); in multi_sector_test()
131 printf("Attempting to write %zu bytes at offset 0x%x\n", len, offs); in multi_sector_test()
134 printf("Flash write failed! %d\n", rc); in multi_sector_test()