Searched refs:flashDensity (Results 1 – 2 of 2) sorted by relevance
1355 uint32_t flashDensity; in flash_calculate_mem_size() local1362 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()
1357 uint32_t flashDensity = tbl->basic_flash_param_tbl.flash_density; in FLEXSPI_NOR_GetPageSectorBlockSizeFromSFDP() local1367 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()