Home
last modified time | relevance | path

Searched refs:page_info (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.6.0/tests/drivers/flash/common/src/
Dmain.c48 static struct flash_pages_info page_info; variable
64 &page_info); in flash_driver_setup()
98 rc = flash_erase(flash_dev, page_info.start_offset, in flash_driver_setup()
99 (page_info.size * in flash_driver_setup()
100 ((EXPECTED_SIZE + page_info.size - 1) in flash_driver_setup()
101 / page_info.size))); in flash_driver_setup()
116 page_info.start_offset, in ZTEST()
131 page_info.start_offset + ad_o, in ZTEST()
/Zephyr-Core-3.6.0/drivers/flash/
Dflash_page_layout.c80 struct flash_pages_info page_info; in flash_page_foreach() local
88 page_info.size = l->pages_size; in flash_page_foreach()
91 page_info.start_offset = off; in flash_page_foreach()
92 page_info.index = page; in flash_page_foreach()
94 if (!cb(&page_info, data)) { in flash_page_foreach()
98 off += page_info.size; in flash_page_foreach()
Dflash_shell.c726 SHELL_CMD_ARG(page_info, &dsub_device_name,
/Zephyr-Core-3.6.0/tests/boards/espressif_esp32/cache_coex/src/
Dcache_coex.c29 static struct flash_pages_info page_info; variable
94 rc = flash_get_page_info_by_idx(flash_dev, FLASH_PAGE_TESTED, &page_info); in page_erase()
99 rc = do_erase(page_info.start_offset, page_info.size); in page_erase()
109 int rc = flash_get_page_info_by_idx(flash_dev, FLASH_PAGE_TESTED, &page_info); in page_read()
116 page_info.start_offset + FLASH_PAGE_OFFSET, in page_read()
129 int rc = flash_get_page_info_by_idx(flash_dev, FLASH_PAGE_TESTED, &page_info); in page_write()
137 page_info.start_offset + FLASH_PAGE_OFFSET, in page_write()
/Zephyr-Core-3.6.0/samples/drivers/flash_shell/
DREADME.rst30 uart:~$ flash page_info 0