Searched refs:regionSize (Results 1 – 3 of 3) sorted by relevance
868 #define CY_PROT_IS_REGION_SIZE_VALID(regionSize) (((regionSize) == CY_PROT_SIZE_256B) || \ argument869 ((regionSize) == CY_PROT_SIZE_512B) || \870 ((regionSize) == CY_PROT_SIZE_1KB) || \871 ((regionSize) == CY_PROT_SIZE_2KB) || \872 ((regionSize) == CY_PROT_SIZE_4KB) || \873 ((regionSize) == CY_PROT_SIZE_8KB) || \874 ((regionSize) == CY_PROT_SIZE_16KB) || \875 ((regionSize) == CY_PROT_SIZE_32KB) || \876 ((regionSize) == CY_PROT_SIZE_64KB) || \877 ((regionSize) == CY_PROT_SIZE_128KB) || \[all …]
268 CY_ASSERT_L3(CY_PROT_IS_REGION_SIZE_VALID(config->regionSize)); in Cy_Prot_ConfigMpuStruct()275 | _VAL2FLD(PROT_MPU_MPU_STRUCT_ATT_REGION_SIZE, config->regionSize); in Cy_Prot_ConfigMpuStruct()477 CY_ASSERT_L3(CY_PROT_IS_REGION_SIZE_VALID(config->regionSize)); in Cy_Prot_ConfigSmpuSlaveStruct()492 | _VAL2FLD(PROT_SMPU_SMPU_STRUCT_ATT0_REGION_SIZE, config->regionSize) in Cy_Prot_ConfigSmpuSlaveStruct()1005 cy_en_prot_size_t regionSize) in Cy_Prot_ConfigPpuProgSlaveAddr() argument1011 CY_ASSERT_L3(CY_PROT_IS_PPU_V2_SIZE_VALID(regionSize)); in Cy_Prot_ConfigPpuProgSlaveAddr()1016 …_CLR_SET_FLD32U((PERI_MS_PPU_PR_SL_SIZE(base)), PERI_MS_PPU_PR_V2_SL_SIZE_REGION_SIZE, regionSize); in Cy_Prot_ConfigPpuProgSlaveAddr()1019 …AL(PERI_MS_PPU_PR_V2_SL_SIZE_REGION_SIZE, PERI_MS_PPU_PR_SL_SIZE(base)) != (uint32_t)regionSize)) ? in Cy_Prot_ConfigPpuProgSlaveAddr()1438 CY_ASSERT_L3(CY_PROT_IS_REGION_SIZE_VALID(config->regionSize)); in Cy_Prot_ConfigPpuProgSlaveStruct()1455 | _VAL2FLD(PERI_PPU_PR_ATT0_REGION_SIZE, config->regionSize) in Cy_Prot_ConfigPpuProgSlaveStruct()
2219 uint32_t regionSize = 0UL; in SfdpPopulateRegionInfo() local2225 currRegionAddr = currRegionAddr + regionSize; in SfdpPopulateRegionInfo()2244 …regionSize = ((*( (uint32_t*) §orMapBuff[currTableIdx]) >> BITS_IN_BYTE) + 1UL) * SECTOR_MAP_R… in SfdpPopulateRegionInfo()2251 if(regionSize < eraseType[supportedEraseType].eraseSize) in SfdpPopulateRegionInfo()2254 currRegionPtr->eraseSize = regionSize; in SfdpPopulateRegionInfo()2260 … currRegionPtr->sectorsCount = regionSize / eraseType[supportedEraseType].eraseSize; in SfdpPopulateRegionInfo()