Lines Matching refs:offs
79 size_t offs; in test_multi_sector_rw() local
123 offs = MSPI_FLASH_TEST_REGION_OFFSET; in test_multi_sector_rw()
124 while (offs < MSPI_FLASH_TEST_REGION_OFFSET + 2 * MSPI_FLASH_SECTOR_SIZE) { in test_multi_sector_rw()
125 rc = flash_read(flash_dev, offs, actual, MSPI_FLASH_TEST_SIZE); 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()
135 offs += MSPI_FLASH_SECTOR_SIZE; in test_multi_sector_rw()
141 offs = MSPI_FLASH_TEST_REGION_OFFSET; in test_multi_sector_rw()
142 while (offs < MSPI_FLASH_TEST_REGION_OFFSET + 2 * MSPI_FLASH_SECTOR_SIZE) { in test_multi_sector_rw()
144 offs); in test_multi_sector_rw()
145 rc = flash_write(flash_dev, offs, expected, MSPI_FLASH_TEST_SIZE); in test_multi_sector_rw()
152 rc = flash_read(flash_dev, offs, actual, MSPI_FLASH_TEST_SIZE); in test_multi_sector_rw()
170 (uint32_t)(offs + (rp - actual)), *wp, *rp); in test_multi_sector_rw()
182 offs += MSPI_FLASH_SECTOR_SIZE; in test_multi_sector_rw()