Searched refs:start_page (Results 1 – 2 of 2) sorted by relevance
202 int erase_page_range(uint32_t start_page, uint32_t page_count) in erase_page_range() argument206 __ASSERT_NO_MSG(start_page < PAGES_IN_FLASH); in erase_page_range()207 __ASSERT_NO_MSG((start_page + page_count - 1) < PAGES_IN_FLASH); in erase_page_range()209 for (uint32_t i = start_page; in erase_page_range()210 i < (start_page + page_count); in erase_page_range()389 const uint32_t start_page = (uint32_t)offset / ERASE_BLOCK_SIZE; in flash_wb0x_erase() local392 res = erase_page_range(start_page, page_count); in flash_wb0x_erase()
33 struct flash_pages_info start_page, end_page; in sector_mask_from_offset() local35 if (flash_get_page_info_by_offs(dev, offset, &start_page) || in sector_mask_from_offset()41 ~((1UL << start_page.index) - 1); in sector_mask_from_offset()