Home
last modified time | relevance | path

Searched refs:page_count (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_cadence_nand_ll.c555 static int cdns_cdma_desc_transfer_finish(struct cadence_nand_params *params, uint32_t page_count, in cdns_cdma_desc_transfer_finish() argument
566 page_buffer_size = (page_count > max_page_desc) ? max_page_desc : page_count; in cdns_cdma_desc_transfer_finish()
577 while (page_count > 0) { in cdns_cdma_desc_transfer_finish()
580 if (page_count > max_page_desc) { in cdns_cdma_desc_transfer_finish()
582 page_count = page_count - max_page_desc; in cdns_cdma_desc_transfer_finish()
585 page_count_pass = page_count; in cdns_cdma_desc_transfer_finish()
586 page_count = page_count - page_count_pass; in cdns_cdma_desc_transfer_finish()
626 char *buffer, uint32_t page_count) in cdns_nand_cdma_write() argument
630 ret = cdns_cdma_desc_transfer_finish(params, page_count, CONFIG_FLASH_CDNS_CDMA_PAGE_COUNT, in cdns_nand_cdma_write()
646 char *buffer, uint32_t page_count) in cdns_nand_cdma_read() argument
[all …]
Dflash_stm32wb0x.c202 int erase_page_range(uint32_t start_page, uint32_t page_count) in erase_page_range() argument
207 __ASSERT_NO_MSG((start_page + page_count - 1) < PAGES_IN_FLASH); in erase_page_range()
210 i < (start_page + page_count); in erase_page_range()
390 const uint32_t page_count = size / ERASE_BLOCK_SIZE; in flash_wb0x_erase() local
392 res = erase_page_range(start_page, page_count); in flash_wb0x_erase()
Dflash_cadence_nand.c76 flash_cdns_pages_layout.pages_count = nand_param->page_count; in flash_cdns_page_layout()
231 nand_param->page_count = in flash_cdns_nand_init()
Dflash_cadence_nand_ll.h359 size_t page_count; member
/Zephyr-latest/samples/drivers/spi_flash_at45/src/
Dmain.c36 size_t page_count, chip_size; in main() local
45 page_count = flash_get_page_count(flash_dev); in main()
47 chip_size = page_count * pages_info.size; in main()
/Zephyr-latest/tests/drivers/flash/common/src/
Dmain.c347 size_t page_count; in ZTEST() local
370 page_count = flash_get_page_count(flash_dev); in ZTEST()
371 TC_PRINT("page_count=%d\n", (int)page_count); in ZTEST()
372 zassert_true(page_count > 0, "flash_get_page_count returned %d", rc); in ZTEST()
373 zassert_true(page_count >= page_info_off.index); in ZTEST()
376 test_cb_data.exit_page = page_count + 1; in ZTEST()
378 zassert_true(page_count == test_cb_data.page_counter, in ZTEST()
379 "page_count = %d not equal to pages counted with cb = %d", page_count, in ZTEST()
384 test_cb_data.exit_page = page_count >> 1; in ZTEST()