/Zephyr-Core-3.6.0/drivers/flash/ |
D | flash_gd32_v3.c | 25 {.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 …]
|
D | flash_stm32f7x.c | 180 {.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 …]
|
D | flash_stm32f4x.c | 415 {.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 …]
|
D | flash_page_layout.c | 32 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()
|
D | flash_stm32l5x.c | 393 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()
|
D | flash_stm32f1x.c | 223 .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()
|
D | flash_stm32wba_fm.c | 186 .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()
|
D | flash_stm32g4x.c | 417 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()
|
D | flash_stm32h7x.c | 613 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()
|
D | flash_stm32g0x.c | 213 .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()
|
D | flash_stm32f2x.c | 182 {.pages_count = 4, .pages_size = KB(16)}, 183 {.pages_count = 1, .pages_size = KB(64)}, 184 {.pages_count = 7, .pages_size = KB(128)},
|
D | flash_stm32wbax.c | 284 .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()
|
D | flash_stm32wbx.c | 393 .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()
|
D | soc_flash_xmc4xxx.c | 42 {.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()
|
D | flash_stm32l4x.c | 404 .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()
|
D | flash_gd32_v2.c | 61 .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
|
D | flash_esp32.c | 139 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / FLASH_ERASE_BLK_SZ,
|
D | flash_gd32_v1.c | 36 .pages_count = SOC_NV_FLASH_SIZE / GD32_NV_FLASH_V1_PAGE_SIZE
|
D | flash_andes_qspi.c | 667 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) / \
|
D | soc_flash_rv32m1.c | 111 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
|
D | soc_flash_b91.c | 208 .pages_count = FLASH_SIZE / PAGE_SIZE,
|
D | flash_ambiq.c | 157 .pages_count = SOC_NV_FLASH_SIZE / FLASH_ERASE_BLOCK_SIZE,
|
D | soc_flash_lpc.c | 124 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
|
D | flash_gecko.c | 172 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
|
D | spi_nor.c | 1189 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,
|