Home
last modified time | relevance | path

Searched refs:start_page (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_stm32wb0x.c202 int erase_page_range(uint32_t start_page, uint32_t page_count) in erase_page_range() argument
206 __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() local
392 res = erase_page_range(start_page, page_count); in flash_wb0x_erase()
/Zephyr-latest/tests/drivers/flash/stm32/src/
Dmain.c33 struct flash_pages_info start_page, end_page; in sector_mask_from_offset() local
35 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()