Home
last modified time | relevance | path

Searched refs:flashDensity (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flash/
Dfsl_ftfx_flash.c1355 uint32_t flashDensity; in flash_calculate_mem_size() local
1362 flashDensity = pflashBlockCount * pflashBlockSize; in flash_calculate_mem_size()
1366 flashDensity = ((uint32_t)kPFlashDensities[pfsize]) << 10U; in flash_calculate_mem_size()
1369 return flashDensity; in flash_calculate_mem_size()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/nor/flexspi/
Dfsl_flexspi_nor_flash.c1357 uint32_t flashDensity = tbl->basic_flash_param_tbl.flash_density; in FLEXSPI_NOR_GetPageSectorBlockSizeFromSFDP() local
1367 if (flashDensity != 0x00U) in FLEXSPI_NOR_GetPageSectorBlockSizeFromSFDP()
1369 if ((flashDensity & (1UL << 0x1F)) != 0x00U) in FLEXSPI_NOR_GetPageSectorBlockSizeFromSFDP()
1372 flashSize = 1UL << (flashDensity & ~(1UL << 0x1F)); in FLEXSPI_NOR_GetPageSectorBlockSizeFromSFDP()
1377 flashSize = flashDensity + 1U; in FLEXSPI_NOR_GetPageSectorBlockSizeFromSFDP()