Home
last modified time | relevance | path

Searched refs:pages_count (Results 1 – 25 of 48) sorted by relevance

12

/Zephyr-Core-3.6.0/drivers/flash/
Dflash_gd32_v3.c25 {.pages_count = 4, .pages_size = KB(16)},
26 {.pages_count = 1, .pages_size = KB(64)},
27 {.pages_count = 3, .pages_size = KB(128)},
31 {.pages_count = 4, .pages_size = KB(16)},
32 {.pages_count = 1, .pages_size = KB(64)},
33 {.pages_count = 7, .pages_size = KB(128)},
37 {.pages_count = 4, .pages_size = KB(16)},
38 {.pages_count = 1, .pages_size = KB(64)},
39 {.pages_count = 7, .pages_size = KB(128)},
40 {.pages_count = 4, .pages_size = KB(16)},
[all …]
Dflash_stm32f7x.c180 {.pages_count = 2, .pages_size = KB(32)},
185 {.pages_count = 4, .pages_size = KB(16)},
191 {.pages_count = 4, .pages_size = KB(16)},
192 {.pages_count = 1, .pages_size = KB(64)},
193 {.pages_count = 3, .pages_size = KB(128)},
198 {.pages_count = 4, .pages_size = KB(32)},
199 {.pages_count = 1, .pages_size = KB(128)},
200 {.pages_count = 3, .pages_size = KB(256)},
206 {.pages_count = 4, .pages_size = KB(32)},
207 {.pages_count = 1, .pages_size = KB(128)},
[all …]
Dflash_stm32f4x.c415 {.pages_count = 4, .pages_size = KB(16)},
416 {.pages_count = 1, .pages_size = KB(64)},
421 {.pages_count = 4, .pages_size = KB(16)},
422 {.pages_count = 1, .pages_size = KB(64)},
423 {.pages_count = 1, .pages_size = KB(128)},
432 {.pages_count = 4, .pages_size = KB(16)},
433 {.pages_count = 1, .pages_size = KB(64)},
434 {.pages_count = 3, .pages_size = KB(128)},
442 {.pages_count = 4, .pages_size = KB(16)},
443 {.pages_count = 1, .pages_size = KB(64)},
[all …]
Dflash_page_layout.c32 index_jmp = MIN(index_jmp, layout->pages_count); in flash_get_page_info()
35 if (index_jmp < layout->pages_count) { in flash_get_page_info()
68 count += layout->pages_count; in z_impl_flash_get_page_count()
90 for (i = 0; i < l->pages_count; i++) { in flash_page_foreach()
Dflash_stm32l5x.c393 if (stm32_flash_layout[0].pages_count != 0) { in flash_stm32_page_layout()
407 stm32_flash_layout[0].pages_count = PAGES_PER_BANK; in flash_stm32_page_layout()
411 stm32_flash_layout[1].pages_count = 1; in flash_stm32_page_layout()
416 stm32_flash_layout[2].pages_count = PAGES_PER_BANK; in flash_stm32_page_layout()
431 stm32_flash_layout[0].pages_count = FLASH_SIZE / FLASH_PAGE_SIZE; in flash_stm32_page_layout()
436 stm32_flash_layout[0].pages_count = FLASH_PAGE_NB_128_BITS; in flash_stm32_page_layout()
Dflash_stm32f1x.c223 .pages_count = 0, in flash_stm32_page_layout()
229 if (flash_layout.pages_count == 0) { in flash_stm32_page_layout()
231 flash_layout.pages_count = in flash_stm32_page_layout()
234 flash_layout.pages_count = (CONFIG_FLASH_SIZE * 1024) / in flash_stm32_page_layout()
Dflash_stm32wba_fm.c186 .pages_count = 0, in flash_stm32wba_page_layout()
192 if (stm32wba_flash_layout.pages_count == 0) { in flash_stm32wba_page_layout()
193 stm32wba_flash_layout.pages_count = FLASH_SIZE / FLASH_PAGE_SIZE; in flash_stm32wba_page_layout()
232 layout[i].pages_size, layout[i].pages_count); in stm32_flash_init()
Dflash_stm32g4x.c417 if (stm32g4_flash_layout[0].pages_count == 0) { in flash_stm32_page_layout()
419 stm32g4_flash_layout[0].pages_count = PAGES_PER_BANK; in flash_stm32_page_layout()
422 stm32g4_flash_layout[1].pages_count = 1; in flash_stm32_page_layout()
426 stm32g4_flash_layout[2].pages_count = PAGES_PER_BANK; in flash_stm32_page_layout()
432 if (stm32g4_flash_layout[0].pages_count == 0) { in flash_stm32_page_layout()
433 stm32g4_flash_layout[0].pages_count = FLASH_SIZE in flash_stm32_page_layout()
Dflash_stm32h7x.c613 if (stm32h7_flash_layout[0].pages_count == 0) { in flash_stm32_page_layout()
615 stm32h7_flash_layout[0].pages_count = SECTOR_PER_BANK; in flash_stm32_page_layout()
621 stm32h7_flash_layout[1].pages_count = 1; in flash_stm32_page_layout()
625 stm32h7_flash_layout[2].pages_count = SECTOR_PER_BANK; in flash_stm32_page_layout()
630 if (stm32h7_flash_layout[0].pages_count == 0) { in flash_stm32_page_layout()
631 stm32h7_flash_layout[0].pages_count = in flash_stm32_page_layout()
640 if (stm32h7_flash_layout[0].pages_count == 0) { in flash_stm32_page_layout()
641 stm32h7_flash_layout[0].pages_count = in flash_stm32_page_layout()
694 layout[i].pages_size, layout[i].pages_count); in stm32h7_flash_init()
Dflash_stm32g0x.c213 .pages_count = 0, in flash_stm32_page_layout()
219 if (stm32g0_flash_layout.pages_count == 0) { in flash_stm32_page_layout()
220 stm32g0_flash_layout.pages_count = in flash_stm32_page_layout()
Dflash_stm32f2x.c182 {.pages_count = 4, .pages_size = KB(16)},
183 {.pages_count = 1, .pages_size = KB(64)},
184 {.pages_count = 7, .pages_size = KB(128)},
Dflash_stm32wbax.c284 .pages_count = 0, in flash_stm32_page_layout()
290 if (stm32wba_flash_layout.pages_count == 0) { in flash_stm32_page_layout()
291 stm32wba_flash_layout.pages_count = FLASH_SIZE / FLASH_PAGE_SIZE; in flash_stm32_page_layout()
Dflash_stm32wbx.c393 .pages_count = 0, in flash_stm32_page_layout()
399 if (stm32wb_flash_layout.pages_count == 0) { in flash_stm32_page_layout()
400 stm32wb_flash_layout.pages_count = FLASH_SIZE / FLASH_PAGE_SIZE; in flash_stm32_page_layout()
Dsoc_flash_xmc4xxx.c42 {.pages_count = DT_PROP(node_id, pages_count), .pages_size = DT_PROP(node_id, pages_size)},
132 for (int k = 0; k < flash_xmc4xxx_pages_layout[i].pages_count; k++) { in flash_xmc4xxx_erase()
Dflash_stm32l4x.c404 .pages_count = 0, in flash_stm32_page_layout()
410 if (stm32l4_flash_layout.pages_count == 0) { in flash_stm32_page_layout()
411 stm32l4_flash_layout.pages_count = FLASH_SIZE / FLASH_PAGE_SIZE; in flash_stm32_page_layout()
Dflash_gd32_v2.c61 .pages_count = GD32_NV_FLASH_V2_BANK0_SIZE / GD32_NV_FLASH_V2_BANK0_PAGE_SIZE
66 .pages_count = GD32_NV_FLASH_V2_BANK1_SIZE / GD32_NV_FLASH_V2_BANK1_PAGE_SIZE
Dflash_esp32.c139 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / FLASH_ERASE_BLK_SZ,
Dflash_gd32_v1.c36 .pages_count = SOC_NV_FLASH_SIZE / GD32_NV_FLASH_V1_PAGE_SIZE
Dflash_andes_qspi.c667 dev_data->layout.pages_count = flash_size / layout_page_size; in setup_pages_layout()
668 LOG_DBG("layout %zu x %zu By pages", dev_data->layout.pages_count, in setup_pages_layout()
675 size_t layout_size = layout->pages_size * layout->pages_count; in setup_pages_layout()
685 flash_size, layout->pages_count, layout->pages_size); in setup_pages_layout()
906 .pages_count = ((DT_INST_PROP(n, size) / 8) / \
Dsoc_flash_rv32m1.c111 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
Dsoc_flash_b91.c208 .pages_count = FLASH_SIZE / PAGE_SIZE,
Dflash_ambiq.c157 .pages_count = SOC_NV_FLASH_SIZE / FLASH_ERASE_BLOCK_SIZE,
Dsoc_flash_lpc.c124 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
Dflash_gecko.c172 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
Dspi_nor.c1189 data->layout.pages_count = flash_size / layout_page_size; in setup_pages_layout()
1190 LOG_DBG("layout %u x %u By pages", data->layout.pages_count, data->layout.pages_size); in setup_pages_layout()
1195 size_t layout_size = layout->pages_size * layout->pages_count; in setup_pages_layout()
1199 flash_size, layout->pages_count, layout->pages_size); in setup_pages_layout()
1567 .pages_count = LAYOUT_PAGES_COUNT,

12