Home
last modified time | relevance | path

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

123

/Zephyr-latest/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.c229 {.pages_count = 2, .pages_size = KB(32)},
234 {.pages_count = 4, .pages_size = KB(16)},
240 {.pages_count = 4, .pages_size = KB(16)},
241 {.pages_count = 1, .pages_size = KB(64)},
242 {.pages_count = 3, .pages_size = KB(128)},
247 {.pages_count = 4, .pages_size = KB(32)},
248 {.pages_count = 1, .pages_size = KB(128)},
249 {.pages_count = 3, .pages_size = KB(256)},
255 {.pages_count = 4, .pages_size = KB(32)},
256 {.pages_count = 1, .pages_size = KB(128)},
[all …]
Dflash_stm32f4x.c338 {.pages_count = 4, .pages_size = KB(16)},
339 {.pages_count = 1, .pages_size = KB(64)},
344 {.pages_count = 4, .pages_size = KB(16)},
345 {.pages_count = 1, .pages_size = KB(64)},
346 {.pages_count = 1, .pages_size = KB(128)},
355 {.pages_count = 4, .pages_size = KB(16)},
356 {.pages_count = 1, .pages_size = KB(64)},
357 {.pages_count = 3, .pages_size = KB(128)},
365 {.pages_count = 4, .pages_size = KB(16)},
366 {.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_hp_ra.c230 flash_ra_layout[0].pages_count = flash_data->area_size / FLASH_HP_DF_BLOCK_SIZE; in flash_ra_page_layout()
236 flash_ra_layout[0].pages_count = in flash_ra_page_layout()
240 flash_ra_layout[1].pages_count = (FLASH_HP_CF_BLOCK_32KB_DUAL_LOW_END - in flash_ra_page_layout()
245 flash_ra_layout[2].pages_count = FLASH_RESERVED_AREA_NUM; in flash_ra_page_layout()
248 (flash_ra_layout[0].pages_count * flash_ra_layout[0].pages_size) - in flash_ra_page_layout()
249 (flash_ra_layout[1].pages_count * flash_ra_layout[1].pages_size)) / in flash_ra_page_layout()
252 flash_ra_layout[3].pages_count = in flash_ra_page_layout()
257 flash_ra_layout[4].pages_count = (FLASH_HP_CF_BLOCK_32KB_DUAL_HIGH_END + 1 - in flash_ra_page_layout()
264 flash_ra_layout[0].pages_count = in flash_ra_page_layout()
267 flash_ra_layout[1].pages_count = in flash_ra_page_layout()
Dflash_stm32g4x.c339 if (stm32g4_flash_layout[0].pages_count == 0) { in flash_stm32_page_layout()
341 stm32g4_flash_layout[0].pages_count = PAGES_PER_BANK; in flash_stm32_page_layout()
344 stm32g4_flash_layout[1].pages_count = 1; in flash_stm32_page_layout()
348 stm32g4_flash_layout[2].pages_count = PAGES_PER_BANK; in flash_stm32_page_layout()
354 if (stm32g4_flash_layout[0].pages_count == 0) { in flash_stm32_page_layout()
355 stm32g4_flash_layout[0].pages_count = FLASH_SIZE in flash_stm32_page_layout()
Dflash_stm32l5x.c399 if (stm32_flash_layout[0].pages_count != 0) { in flash_stm32_page_layout()
413 stm32_flash_layout[0].pages_count = PAGES_PER_BANK; in flash_stm32_page_layout()
417 stm32_flash_layout[1].pages_count = 1; in flash_stm32_page_layout()
422 stm32_flash_layout[2].pages_count = PAGES_PER_BANK; in flash_stm32_page_layout()
437 stm32_flash_layout[0].pages_count = FLASH_SIZE / FLASH_PAGE_SIZE; in flash_stm32_page_layout()
442 stm32_flash_layout[0].pages_count = FLASH_PAGE_NB_128_BITS; in flash_stm32_page_layout()
Dflash_stm32f1x.c225 .pages_count = 0, in flash_stm32_page_layout()
231 if (flash_layout.pages_count == 0) { in flash_stm32_page_layout()
233 flash_layout.pages_count = in flash_stm32_page_layout()
236 flash_layout.pages_count = (CONFIG_FLASH_SIZE * 1024) / in flash_stm32_page_layout()
Dflash_stm32wba_fm.c175 .pages_count = 0, in flash_stm32wba_page_layout()
181 if (stm32wba_flash_layout.pages_count == 0) { in flash_stm32wba_page_layout()
182 stm32wba_flash_layout.pages_count = FLASH_SIZE / FLASH_PAGE_SIZE; in flash_stm32wba_page_layout()
221 layout[i].pages_size, layout[i].pages_count); in stm32_flash_init()
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_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_stm32wbax.c290 .pages_count = 0, in flash_stm32_page_layout()
296 if (stm32wba_flash_layout.pages_count == 0) { in flash_stm32_page_layout()
297 stm32wba_flash_layout.pages_count = FLASH_SIZE / FLASH_PAGE_SIZE; in flash_stm32_page_layout()
Dflash_stm32h7x.c681 if (stm32h7_flash_layout[0].pages_count == 0) {
683 stm32h7_flash_layout[0].pages_count = SECTOR_PER_BANK;
689 stm32h7_flash_layout[1].pages_count = 1;
693 stm32h7_flash_layout[2].pages_count = SECTOR_PER_BANK;
698 if (stm32h7_flash_layout[0].pages_count == 0) {
699 stm32h7_flash_layout[0].pages_count =
708 if (stm32h7_flash_layout[0].pages_count == 0) {
709 stm32h7_flash_layout[0].pages_count = REAL_FLASH_SIZE_KB / FLASH_SECTOR_SIZE;
766 layout[i].pages_count);
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.c325 .pages_count = 0, in flash_stm32_page_layout()
331 if (stm32l4_flash_layout.pages_count == 0) { in flash_stm32_page_layout()
332 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_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) / \
Dflash_esp32.c126 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / FLASH_ERASE_BLK_SZ,
Dsoc_flash_rv32m1.c111 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
Dsoc_flash_nrf_mram.c169 .pages_count = (MRAM_SIZE) / (ERASE_BLOCK_SIZE), in nrf_mram_page_layout()
Dsoc_flash_b91.c208 .pages_count = FLASH_SIZE / PAGE_SIZE,
Dflash_max32.c148 .pages_count = DT_INST_FOREACH_CHILD(n, GET_FLASH_SIZE) / \
Dsoc_flash_lpc.c124 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /

123