Searched refs:page_count (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | flash_cadence_nand_ll.c | 555 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 …]
|
D | flash_stm32wb0x.c | 202 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()
|
D | flash_cadence_nand.c | 76 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()
|
D | flash_cadence_nand_ll.h | 359 size_t page_count; member
|
/Zephyr-latest/samples/drivers/spi_flash_at45/src/ |
D | main.c | 36 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/ |
D | main.c | 347 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()
|