Lines Matching full:info
130 static void test_flash_write_across_page_boundary(const struct flash_pages_info *info, in test_flash_write_across_page_boundary() argument
133 off_t page_boundary = info->start_offset; in test_flash_write_across_page_boundary()
134 uint32_t page0_index = info->index - 1; in test_flash_write_across_page_boundary()
135 uint32_t page1_index = info->index; in test_flash_write_across_page_boundary()
147 static bool test_flash_write_across_page_boundaries(const struct flash_pages_info *info, in test_flash_write_across_page_boundaries() argument
152 if (info->start_offset <= TEST_FLASH_PART_OFFSET) { in test_flash_write_across_page_boundaries()
157 if (info->start_offset >= TEST_FLASH_PART_END_OFFSET) { in test_flash_write_across_page_boundaries()
162 test_flash_write_across_page_boundary(info, write_block_size); in test_flash_write_across_page_boundaries()
175 static void test_flash_erase_page(const struct flash_pages_info *info) in test_flash_erase_page() argument
177 off_t page_offset = info->start_offset; in test_flash_erase_page()
178 size_t page_size = info->size; in test_flash_erase_page()
179 size_t page_index = info->index; in test_flash_erase_page()
191 static bool test_flash_erase_pages(const struct flash_pages_info *info, void *data) in test_flash_erase_pages() argument
193 if (info->start_offset < TEST_FLASH_PART_OFFSET) { in test_flash_erase_pages()
198 if (info->start_offset >= TEST_FLASH_PART_END_OFFSET) { in test_flash_erase_pages()
203 test_flash_erase_page(info); in test_flash_erase_pages()