/hal_nxp-3.7.0/imx/drivers/ |
D | lmem.c | 101 static void LMEM_FlushSystemCacheLine(LMEM_Type *base, void *address) in LMEM_FlushSystemCacheLine() argument 103 assert((uint32_t)address >= 0x20000000); in LMEM_FlushSystemCacheLine() 108 LMEM_PSCSAR_REG(base) = ((uint32_t)address & LMEM_PSCSAR_PHYADDR_MASK) | LMEM_PSCSAR_LGO_MASK; in LMEM_FlushSystemCacheLine() 123 void LMEM_FlushSystemCacheLines(LMEM_Type *base, void *address, uint32_t length) in LMEM_FlushSystemCacheLines() argument 125 void *endAddress = (void *)((uint32_t)address + length); in LMEM_FlushSystemCacheLines() 127 address = (void *) ((uint32_t)address & ~(LMEM_CACHE_LINE_SIZE - 1)); in LMEM_FlushSystemCacheLines() 130 LMEM_FlushSystemCacheLine(base, address); in LMEM_FlushSystemCacheLines() 131 address = (void *) ((uint32_t)address + LMEM_CACHE_LINE_SIZE); in LMEM_FlushSystemCacheLines() 132 } while (address < endAddress); in LMEM_FlushSystemCacheLines() 159 static void LMEM_InvalidateSystemCacheLine(LMEM_Type *base, void *address) in LMEM_InvalidateSystemCacheLine() argument [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMX8ML6/drivers/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1171/drivers/cm7/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMX8ML4/drivers/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1166/drivers/cm7/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1172/drivers/cm7/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMX8ML3/drivers/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1175/drivers/cm7/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1173/drivers/cm7/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1176/drivers/cm7/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/cache/armv7-m7/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1165/drivers/cm7/ |
D | fsl_cache.c | 53 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address); 69 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address); 85 static uint32_t L2CACHE_CleanInvalidateLineByAddr(uint32_t address); 119 static uint32_t L2CACHE_InvalidateLineByAddr(uint32_t address) in L2CACHE_InvalidateLineByAddr() argument 122 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_InvalidateLineByAddr() 124 L2CACHEC->REG7_INV_PA = address; in L2CACHE_InvalidateLineByAddr() 126 return address; in L2CACHE_InvalidateLineByAddr() 129 static uint32_t L2CACHE_CleanLineByAddr(uint32_t address) in L2CACHE_CleanLineByAddr() argument 132 address &= ~(uint32_t)(FSL_FEATURE_L2CACHE_LINESIZE_BYTE - 1); in L2CACHE_CleanLineByAddr() 134 L2CACHEC->REG7_CLEAN_PA = address; in L2CACHE_CleanLineByAddr() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lmem/ |
D | fsl_lmem_cache.c | 148 void LMEM_CodeCacheInvalidateLine(LMEM_Type *base, uint32_t address) in LMEM_CodeCacheInvalidateLine() argument 158 base->PCCSAR = (address & LMEM_PCCSAR_PHYADDR_MASK) | LMEM_PCCSAR_LGO_MASK; in LMEM_CodeCacheInvalidateLine() 186 void LMEM_CodeCacheInvalidateMultiLines(LMEM_Type *base, uint32_t address, uint32_t length) in LMEM_CodeCacheInvalidateMultiLines() argument 188 uint32_t endAddr = address + length; in LMEM_CodeCacheInvalidateMultiLines() 190 address = address & ~(LMEM_CACHE_LINE_SIZE - 1U); in LMEM_CodeCacheInvalidateMultiLines() 198 while (address < endAddr) in LMEM_CodeCacheInvalidateMultiLines() 200 LMEM_CodeCacheInvalidateLine(base, address); in LMEM_CodeCacheInvalidateMultiLines() 201 address = address + LMEM_CACHE_LINE_SIZE; in LMEM_CodeCacheInvalidateMultiLines() 218 void LMEM_CodeCachePushLine(LMEM_Type *base, uint32_t address) in LMEM_CodeCachePushLine() argument 227 base->PCCSAR = (address & LMEM_PCCSAR_PHYADDR_MASK) | LMEM_PCCSAR_LGO_MASK; in LMEM_CodeCachePushLine() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1166/drivers/cm4/ |
D | fsl_cache.c | 83 void L1CACHE_InvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateCodeCacheByRange() argument 85 uint32_t endAddr = address + size_byte; in L1CACHE_InvalidateCodeCacheByRange() 88 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_InvalidateCodeCacheByRange() 135 void L1CACHE_CleanCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanCodeCacheByRange() argument 137 uint32_t endAddr = address + size_byte; in L1CACHE_CleanCodeCacheByRange() 140 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanCodeCacheByRange() 188 void L1CACHE_CleanInvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanInvalidateCodeCacheByRange() argument 190 uint32_t endAddr = address + size_byte; in L1CACHE_CleanInvalidateCodeCacheByRange() 193 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanInvalidateCodeCacheByRange() 272 void L1CACHE_InvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateSystemCacheByRange() argument [all …]
|
D | fsl_cache.h | 76 void L1CACHE_InvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte); 94 void L1CACHE_CleanCodeCacheByRange(uint32_t address, uint32_t size_byte); 112 void L1CACHE_CleanInvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte); 162 void L1CACHE_InvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte); 180 void L1CACHE_CleanSystemCacheByRange(uint32_t address, uint32_t size_byte); 198 void L1CACHE_CleanInvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte); 233 void L1CACHE_InvalidateICacheByRange(uint32_t address, uint32_t size_byte); 242 static inline void L1CACHE_InvalidateDCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateDCacheByRange() argument 244 L1CACHE_InvalidateICacheByRange(address, size_byte); in L1CACHE_InvalidateDCacheByRange() 254 void L1CACHE_CleanDCacheByRange(uint32_t address, uint32_t size_byte); [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1175/drivers/cm4/ |
D | fsl_cache.c | 83 void L1CACHE_InvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateCodeCacheByRange() argument 85 uint32_t endAddr = address + size_byte; in L1CACHE_InvalidateCodeCacheByRange() 88 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_InvalidateCodeCacheByRange() 135 void L1CACHE_CleanCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanCodeCacheByRange() argument 137 uint32_t endAddr = address + size_byte; in L1CACHE_CleanCodeCacheByRange() 140 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanCodeCacheByRange() 188 void L1CACHE_CleanInvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanInvalidateCodeCacheByRange() argument 190 uint32_t endAddr = address + size_byte; in L1CACHE_CleanInvalidateCodeCacheByRange() 193 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanInvalidateCodeCacheByRange() 272 void L1CACHE_InvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateSystemCacheByRange() argument [all …]
|
D | fsl_cache.h | 76 void L1CACHE_InvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte); 94 void L1CACHE_CleanCodeCacheByRange(uint32_t address, uint32_t size_byte); 112 void L1CACHE_CleanInvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte); 162 void L1CACHE_InvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte); 180 void L1CACHE_CleanSystemCacheByRange(uint32_t address, uint32_t size_byte); 198 void L1CACHE_CleanInvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte); 233 void L1CACHE_InvalidateICacheByRange(uint32_t address, uint32_t size_byte); 242 static inline void L1CACHE_InvalidateDCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateDCacheByRange() argument 244 L1CACHE_InvalidateICacheByRange(address, size_byte); in L1CACHE_InvalidateDCacheByRange() 254 void L1CACHE_CleanDCacheByRange(uint32_t address, uint32_t size_byte); [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1176/drivers/cm4/ |
D | fsl_cache.c | 83 void L1CACHE_InvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateCodeCacheByRange() argument 85 uint32_t endAddr = address + size_byte; in L1CACHE_InvalidateCodeCacheByRange() 88 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_InvalidateCodeCacheByRange() 135 void L1CACHE_CleanCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanCodeCacheByRange() argument 137 uint32_t endAddr = address + size_byte; in L1CACHE_CleanCodeCacheByRange() 140 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanCodeCacheByRange() 188 void L1CACHE_CleanInvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanInvalidateCodeCacheByRange() argument 190 uint32_t endAddr = address + size_byte; in L1CACHE_CleanInvalidateCodeCacheByRange() 193 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanInvalidateCodeCacheByRange() 272 void L1CACHE_InvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateSystemCacheByRange() argument [all …]
|
D | fsl_cache.h | 76 void L1CACHE_InvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte); 94 void L1CACHE_CleanCodeCacheByRange(uint32_t address, uint32_t size_byte); 112 void L1CACHE_CleanInvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte); 162 void L1CACHE_InvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte); 180 void L1CACHE_CleanSystemCacheByRange(uint32_t address, uint32_t size_byte); 198 void L1CACHE_CleanInvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte); 233 void L1CACHE_InvalidateICacheByRange(uint32_t address, uint32_t size_byte); 242 static inline void L1CACHE_InvalidateDCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateDCacheByRange() argument 244 L1CACHE_InvalidateICacheByRange(address, size_byte); in L1CACHE_InvalidateDCacheByRange() 254 void L1CACHE_CleanDCacheByRange(uint32_t address, uint32_t size_byte); [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/cache/lmem/ |
D | fsl_cache.c | 83 void L1CACHE_InvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateCodeCacheByRange() argument 85 uint32_t endAddr = address + size_byte; in L1CACHE_InvalidateCodeCacheByRange() 88 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_InvalidateCodeCacheByRange() 135 void L1CACHE_CleanCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanCodeCacheByRange() argument 137 uint32_t endAddr = address + size_byte; in L1CACHE_CleanCodeCacheByRange() 140 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanCodeCacheByRange() 188 void L1CACHE_CleanInvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanInvalidateCodeCacheByRange() argument 190 uint32_t endAddr = address + size_byte; in L1CACHE_CleanInvalidateCodeCacheByRange() 193 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanInvalidateCodeCacheByRange() 272 void L1CACHE_InvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateSystemCacheByRange() argument [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1165/drivers/cm4/ |
D | fsl_cache.c | 83 void L1CACHE_InvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateCodeCacheByRange() argument 85 uint32_t endAddr = address + size_byte; in L1CACHE_InvalidateCodeCacheByRange() 88 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_InvalidateCodeCacheByRange() 135 void L1CACHE_CleanCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanCodeCacheByRange() argument 137 uint32_t endAddr = address + size_byte; in L1CACHE_CleanCodeCacheByRange() 140 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanCodeCacheByRange() 188 void L1CACHE_CleanInvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanInvalidateCodeCacheByRange() argument 190 uint32_t endAddr = address + size_byte; in L1CACHE_CleanInvalidateCodeCacheByRange() 193 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanInvalidateCodeCacheByRange() 272 void L1CACHE_InvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateSystemCacheByRange() argument [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT1173/drivers/cm4/ |
D | fsl_cache.c | 83 void L1CACHE_InvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateCodeCacheByRange() argument 85 uint32_t endAddr = address + size_byte; in L1CACHE_InvalidateCodeCacheByRange() 88 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_InvalidateCodeCacheByRange() 135 void L1CACHE_CleanCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanCodeCacheByRange() argument 137 uint32_t endAddr = address + size_byte; in L1CACHE_CleanCodeCacheByRange() 140 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanCodeCacheByRange() 188 void L1CACHE_CleanInvalidateCodeCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_CleanInvalidateCodeCacheByRange() argument 190 uint32_t endAddr = address + size_byte; in L1CACHE_CleanInvalidateCodeCacheByRange() 193 uint32_t startAddr = address & ~((uint32_t)L1CODEBUSCACHE_LINESIZE_BYTE - 1U); in L1CACHE_CleanInvalidateCodeCacheByRange() 272 void L1CACHE_InvalidateSystemCacheByRange(uint32_t address, uint32_t size_byte) in L1CACHE_InvalidateSystemCacheByRange() argument [all …]
|
/hal_nxp-3.7.0/s32/drivers/s32k1/BaseNXP/include/ |
D | RegLockMacros.h | 69 #define RLM_REG_WRITE8(address, value) ((*(volatile uint8*)(address))= (value)) argument 73 #define RLM_REG_WRITE16(address, value) ((*(volatile uint16*)(address))= (value)) argument 77 #define RLM_REG_WRITE32(address, value) ((*(volatile uint32*)(address))= (value)) argument 83 #define RLM_REG_READ8(address) (*(volatile uint8*)(address)) argument 87 #define RLM_REG_READ16(address) (*(volatile uint16*)(address)) argument 91 #define RLM_REG_READ32(address) (*(volatile uint32*)(address)) argument 96 #define RLM_REG_BIT_CLEAR8(address, mask) ((*(volatile uint8*)(address))&= (~(mask))) argument 100 #define RLM_REG_BIT_CLEAR16(address, mask) ((*(volatile uint16*)(address))&= (~(mask))) argument 104 #define RLM_REG_BIT_CLEAR32(address, mask) ((*(volatile uint32*)(address))&= (~(mask))) argument 110 #define RLM_REG_BIT_GET8(address, mask) ((*(volatile uint8*)(address))& (mask)) argument [all …]
|
/hal_nxp-3.7.0/s32/drivers/s32ze/BaseNXP/include/ |
D | RegLockMacros.h | 70 #define RLM_REG_WRITE8(address, value) ((*(volatile uint8*)(address))= (value)) argument 74 #define RLM_REG_WRITE16(address, value) ((*(volatile uint16*)(address))= (value)) argument 78 #define RLM_REG_WRITE32(address, value) ((*(volatile uint32*)(address))= (value)) argument 84 #define RLM_REG_READ8(address) (*(volatile uint8*)(address)) argument 88 #define RLM_REG_READ16(address) (*(volatile uint16*)(address)) argument 92 #define RLM_REG_READ32(address) (*(volatile uint32*)(address)) argument 97 #define RLM_REG_BIT_CLEAR8(address, mask) ((*(volatile uint8*)(address))&= (~(mask))) argument 101 #define RLM_REG_BIT_CLEAR16(address, mask) ((*(volatile uint16*)(address))&= (~(mask))) argument 105 #define RLM_REG_BIT_CLEAR32(address, mask) ((*(volatile uint32*)(address))&= (~(mask))) argument 111 #define RLM_REG_BIT_GET8(address, mask) ((*(volatile uint8*)(address))& (mask)) argument [all …]
|
/hal_nxp-3.7.0/s32/drivers/s32k3/BaseNXP/include/ |
D | RegLockMacros.h | 70 #define RLM_REG_WRITE8(address, value) ((*(volatile uint8*)(address))= (value)) argument 74 #define RLM_REG_WRITE16(address, value) ((*(volatile uint16*)(address))= (value)) argument 78 #define RLM_REG_WRITE32(address, value) ((*(volatile uint32*)(address))= (value)) argument 84 #define RLM_REG_READ8(address) (*(volatile uint8*)(address)) argument 88 #define RLM_REG_READ16(address) (*(volatile uint16*)(address)) argument 92 #define RLM_REG_READ32(address) (*(volatile uint32*)(address)) argument 97 #define RLM_REG_BIT_CLEAR8(address, mask) ((*(volatile uint8*)(address))&= (~(mask))) argument 101 #define RLM_REG_BIT_CLEAR16(address, mask) ((*(volatile uint16*)(address))&= (~(mask))) argument 105 #define RLM_REG_BIT_CLEAR32(address, mask) ((*(volatile uint32*)(address))&= (~(mask))) argument 111 #define RLM_REG_BIT_GET8(address, mask) ((*(volatile uint8*)(address))& (mask)) argument [all …]
|