Lines Matching +full:min +full:- +full:x
3 * SPDX-License-Identifier: Apache-2.0
61 pui8TxPtr[i] = (0xff - i) & 0xFF; in prepare_test_pattern()
78 size_t min_page_size = -1; 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()
86 const struct flash_driver_api *api = flash_dev->api; in test_multi_sector_rw()
88 api->page_layout(flash_dev, &layout, &layout_size); 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()
95 min_page_size = MIN(min_page_size, layout[i].pages_size); in test_multi_sector_rw()
106 MIN(min_page_size, MSPI_FLASH_TEST_SIZE - i)); 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()
143 TC_PRINT("\nAttempting to write %zu bytes at offset 0x%x\n", MSPI_FLASH_TEST_SIZE, in test_multi_sector_rw()
169 TC_PRINT("%08x wrote %02x read %02x MISMATCH\n", in test_multi_sector_rw()
170 (uint32_t)(offs + (rp - actual)), *wp, *rp); in test_multi_sector_rw()