/Zephyr-latest/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 | 229 {.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 …]
|
D | flash_stm32f4x.c | 338 {.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 …]
|
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_hp_ra.c | 230 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()
|
D | flash_stm32g4x.c | 339 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()
|
D | flash_stm32l5x.c | 399 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()
|
D | flash_stm32f1x.c | 225 .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()
|
D | flash_stm32wba_fm.c | 175 .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()
|
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_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_stm32wbax.c | 290 .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()
|
D | flash_stm32h7x.c | 681 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);
|
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 | 325 .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()
|
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_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 | flash_esp32.c | 126 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / FLASH_ERASE_BLK_SZ,
|
D | soc_flash_rv32m1.c | 111 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
|
D | soc_flash_nrf_mram.c | 169 .pages_count = (MRAM_SIZE) / (ERASE_BLOCK_SIZE), in nrf_mram_page_layout()
|
D | soc_flash_b91.c | 208 .pages_count = FLASH_SIZE / PAGE_SIZE,
|
D | flash_max32.c | 148 .pages_count = DT_INST_FOREACH_CHILD(n, GET_FLASH_SIZE) / \
|
D | soc_flash_lpc.c | 124 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) /
|