/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/common/ |
D | fsl_common_arm.h | 70 #define _SDK_ATOMIC_LOCAL_OPS_1BYTE(addr, val, ops) \ argument 73 (val) = __LDREXB(addr); \ 75 } while (0UL != __STREXB((val), (addr))) 77 #define _SDK_ATOMIC_LOCAL_OPS_2BYTE(addr, val, ops) \ argument 80 (val) = __LDREXH(addr); \ 82 } while (0UL != __STREXH((val), (addr))) 84 #define _SDK_ATOMIC_LOCAL_OPS_4BYTE(addr, val, ops) \ argument 87 (val) = __LDREXW(addr); \ 89 } while (0UL != __STREXW((val), (addr))) 91 static inline void _SDK_AtomicLocalAdd1Byte(volatile uint8_t *addr, uint8_t val) in _SDK_AtomicLocalAdd1Byte() argument [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML6/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML8/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN1/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN5/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN4/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN3/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN2/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML4/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8ML3/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MN6/drivers/ |
D | fsl_memory.h | 78 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 86 if ((addr <= FSL_MEM_M7_ITCM_END)) in MEMORY_ConvertMemoryMapAddress() 88 dest = addr + FSL_MEM_M7_ITCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 90 else if ((addr >= FSL_MEM_M7_DTCM_BEGIN) && (addr <= FSL_MEM_M7_DTCM_END)) in MEMORY_ConvertMemoryMapAddress() 92 dest = addr - FSL_MEM_M7_DTCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 94 else if ((addr >= FSL_MEM_M7_OCRAM_BEGIN) && (addr <= FSL_MEM_M7_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 96 dest = addr - FSL_MEM_M7_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 98 else if ((addr >= FSL_MEM_M7_OCRAMS_BEGIN) && (addr <= FSL_MEM_M7_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 100 dest = addr - FSL_MEM_M7_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 104 dest = addr; in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKW40Z4/drivers/ |
D | fsl_bitaccess.h | 64 #define BME_AND8(addr, wdata) (*(volatile uint8_t*)((uintptr_t)addr | BME_AND_MASK) = wdata) argument 65 #define BME_AND16(addr, wdata) (*(volatile uint16_t*)((uintptr_t)addr | BME_AND_MASK) = wdata) argument 66 #define BME_AND32(addr, wdata) (*(volatile uint32_t*)((uintptr_t)addr | BME_AND_MASK) = wdata) argument 69 #define BME_OR8(addr, wdata) (*(volatile uint8_t*)((uintptr_t)addr | BME_OR_MASK) = wdata) argument 70 #define BME_OR16(addr, wdata) (*(volatile uint16_t*)((uintptr_t)addr | BME_OR_MASK) = wdata) argument 71 #define BME_OR32(addr, wdata) (*(volatile uint32_t*)((uintptr_t)addr | BME_OR_MASK) = wdata) argument 74 #define BME_XOR8(addr, wdata) (*(volatile uint8_t*)((uintptr_t)addr | BME_XOR_MASK) = wdata) argument 75 #define BME_XOR16(addr, wdata) (*(volatile uint8_t*)((uintptr_t)addr | BME_XOR_MASK) = wdata) argument 76 #define BME_XOR32(addr, wdata) (*(volatile uint8_t*)((uintptr_t)addr | BME_XOR_MASK) = wdata) argument 79 #define BME_BFI8(addr, wdata, bit, width) (*(volatile uint8_t*)((uintptr_t)addr | BME_BFI_MASK(bit,… argument [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM3/drivers/ |
D | fsl_memory.h | 71 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 79 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 81 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 83 else if ((addr >= FSL_MEM_M4_OCRAM_BEGIN) && (addr <= FSL_MEM_M4_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 85 dest = addr - FSL_MEM_M4_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 87 else if ((addr >= FSL_MEM_M4_OCRAMS_BEGIN) && (addr <= FSL_MEM_M4_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 89 dest = addr - FSL_MEM_M4_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 93 dest = addr; in MEMORY_ConvertMemoryMapAddress() 99 if ((addr >= (FSL_MEM_M4_TCM_BEGIN - FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 100 (addr <= (FSL_MEM_M4_TCM_END - FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM5/drivers/ |
D | fsl_memory.h | 71 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 79 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 81 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 83 else if ((addr >= FSL_MEM_M4_OCRAM_BEGIN) && (addr <= FSL_MEM_M4_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 85 dest = addr - FSL_MEM_M4_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 87 else if ((addr >= FSL_MEM_M4_OCRAMS_BEGIN) && (addr <= FSL_MEM_M4_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 89 dest = addr - FSL_MEM_M4_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 93 dest = addr; in MEMORY_ConvertMemoryMapAddress() 99 if ((addr >= (FSL_MEM_M4_TCM_BEGIN - FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 100 (addr <= (FSL_MEM_M4_TCM_END - FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM1/drivers/ |
D | fsl_memory.h | 71 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 79 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 81 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 83 else if ((addr >= FSL_MEM_M4_OCRAM_BEGIN) && (addr <= FSL_MEM_M4_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 85 dest = addr - FSL_MEM_M4_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 87 else if ((addr >= FSL_MEM_M4_OCRAMS_BEGIN) && (addr <= FSL_MEM_M4_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 89 dest = addr - FSL_MEM_M4_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 93 dest = addr; in MEMORY_ConvertMemoryMapAddress() 99 if ((addr >= (FSL_MEM_M4_TCM_BEGIN - FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 100 (addr <= (FSL_MEM_M4_TCM_END - FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM2/drivers/ |
D | fsl_memory.h | 71 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 79 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 81 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 83 else if ((addr >= FSL_MEM_M4_OCRAM_BEGIN) && (addr <= FSL_MEM_M4_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 85 dest = addr - FSL_MEM_M4_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 87 else if ((addr >= FSL_MEM_M4_OCRAMS_BEGIN) && (addr <= FSL_MEM_M4_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 89 dest = addr - FSL_MEM_M4_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 93 dest = addr; in MEMORY_ConvertMemoryMapAddress() 99 if ((addr >= (FSL_MEM_M4_TCM_BEGIN - FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 100 (addr <= (FSL_MEM_M4_TCM_END - FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM4/drivers/ |
D | fsl_memory.h | 71 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 79 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 81 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 83 else if ((addr >= FSL_MEM_M4_OCRAM_BEGIN) && (addr <= FSL_MEM_M4_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 85 dest = addr - FSL_MEM_M4_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 87 else if ((addr >= FSL_MEM_M4_OCRAMS_BEGIN) && (addr <= FSL_MEM_M4_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 89 dest = addr - FSL_MEM_M4_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 93 dest = addr; in MEMORY_ConvertMemoryMapAddress() 99 if ((addr >= (FSL_MEM_M4_TCM_BEGIN - FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 100 (addr <= (FSL_MEM_M4_TCM_END - FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8MM6/drivers/ |
D | fsl_memory.h | 71 static inline uintptr_t MEMORY_ConvertMemoryMapAddress(uintptr_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 79 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 81 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 83 else if ((addr >= FSL_MEM_M4_OCRAM_BEGIN) && (addr <= FSL_MEM_M4_OCRAM_END)) in MEMORY_ConvertMemoryMapAddress() 85 dest = addr - FSL_MEM_M4_OCRAM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 87 else if ((addr >= FSL_MEM_M4_OCRAMS_BEGIN) && (addr <= FSL_MEM_M4_OCRAMS_END)) in MEMORY_ConvertMemoryMapAddress() 89 dest = addr - FSL_MEM_M4_OCRAMS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 93 dest = addr; in MEMORY_ConvertMemoryMapAddress() 99 if ((addr >= (FSL_MEM_M4_TCM_BEGIN - FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 100 (addr <= (FSL_MEM_M4_TCM_END - FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX3/drivers/ |
D | fsl_memory.h | 59 static inline uint32_t MEMORY_ConvertMemoryMapAddress(uint32_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 67 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 69 dest = addr + FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 71 else if ((addr >= FSL_MEM_M4_ALIAS_BEGIN) && (addr <= FSL_MEM_M4_ALIAS_END)) in MEMORY_ConvertMemoryMapAddress() 73 dest = addr - FSL_MEM_M4_ALIAS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 77 dest = addr; in MEMORY_ConvertMemoryMapAddress() 83 if ((addr >= (FSL_MEM_M4_TCM_BEGIN + FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 84 (addr <= (FSL_MEM_M4_TCM_END + FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() 86 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 88 else if (addr <= (FSL_MEM_M4_ALIAS_END - FSL_MEM_M4_ALIAS_OFFSET)) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX5/drivers/ |
D | fsl_memory.h | 59 static inline uint32_t MEMORY_ConvertMemoryMapAddress(uint32_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 67 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 69 dest = addr + FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 71 else if ((addr >= FSL_MEM_M4_ALIAS_BEGIN) && (addr <= FSL_MEM_M4_ALIAS_END)) in MEMORY_ConvertMemoryMapAddress() 73 dest = addr - FSL_MEM_M4_ALIAS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 77 dest = addr; in MEMORY_ConvertMemoryMapAddress() 83 if ((addr >= (FSL_MEM_M4_TCM_BEGIN + FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 84 (addr <= (FSL_MEM_M4_TCM_END + FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() 86 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 88 else if (addr <= (FSL_MEM_M4_ALIAS_END - FSL_MEM_M4_ALIAS_OFFSET)) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX4/drivers/ |
D | fsl_memory.h | 59 static inline uint32_t MEMORY_ConvertMemoryMapAddress(uint32_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 67 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 69 dest = addr + FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 71 else if ((addr >= FSL_MEM_M4_ALIAS_BEGIN) && (addr <= FSL_MEM_M4_ALIAS_END)) in MEMORY_ConvertMemoryMapAddress() 73 dest = addr - FSL_MEM_M4_ALIAS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 77 dest = addr; in MEMORY_ConvertMemoryMapAddress() 83 if ((addr >= (FSL_MEM_M4_TCM_BEGIN + FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 84 (addr <= (FSL_MEM_M4_TCM_END + FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() 86 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 88 else if (addr <= (FSL_MEM_M4_ALIAS_END - FSL_MEM_M4_ALIAS_OFFSET)) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8UX5/drivers/ |
D | fsl_memory.h | 59 static inline uint32_t MEMORY_ConvertMemoryMapAddress(uint32_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 67 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 69 dest = addr + FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 71 else if ((addr >= FSL_MEM_M4_ALIAS_BEGIN) && (addr <= FSL_MEM_M4_ALIAS_END)) in MEMORY_ConvertMemoryMapAddress() 73 dest = addr - FSL_MEM_M4_ALIAS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 77 dest = addr; in MEMORY_ConvertMemoryMapAddress() 83 if ((addr >= (FSL_MEM_M4_TCM_BEGIN + FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 84 (addr <= (FSL_MEM_M4_TCM_END + FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() 86 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 88 else if (addr <= (FSL_MEM_M4_ALIAS_END - FSL_MEM_M4_ALIAS_OFFSET)) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX6/drivers/ |
D | fsl_memory.h | 59 static inline uint32_t MEMORY_ConvertMemoryMapAddress(uint32_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 67 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 69 dest = addr + FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 71 else if ((addr >= FSL_MEM_M4_ALIAS_BEGIN) && (addr <= FSL_MEM_M4_ALIAS_END)) in MEMORY_ConvertMemoryMapAddress() 73 dest = addr - FSL_MEM_M4_ALIAS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 77 dest = addr; in MEMORY_ConvertMemoryMapAddress() 83 if ((addr >= (FSL_MEM_M4_TCM_BEGIN + FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 84 (addr <= (FSL_MEM_M4_TCM_END + FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() 86 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 88 else if (addr <= (FSL_MEM_M4_ALIAS_END - FSL_MEM_M4_ALIAS_OFFSET)) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8UX6/drivers/ |
D | fsl_memory.h | 59 static inline uint32_t MEMORY_ConvertMemoryMapAddress(uint32_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 67 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 69 dest = addr + FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 71 else if ((addr >= FSL_MEM_M4_ALIAS_BEGIN) && (addr <= FSL_MEM_M4_ALIAS_END)) in MEMORY_ConvertMemoryMapAddress() 73 dest = addr - FSL_MEM_M4_ALIAS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 77 dest = addr; in MEMORY_ConvertMemoryMapAddress() 83 if ((addr >= (FSL_MEM_M4_TCM_BEGIN + FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 84 (addr <= (FSL_MEM_M4_TCM_END + FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() 86 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 88 else if (addr <= (FSL_MEM_M4_ALIAS_END - FSL_MEM_M4_ALIAS_OFFSET)) in MEMORY_ConvertMemoryMapAddress() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8DX1/drivers/ |
D | fsl_memory.h | 59 static inline uint32_t MEMORY_ConvertMemoryMapAddress(uint32_t addr, mem_direction_t direction) in MEMORY_ConvertMemoryMapAddress() argument 67 if ((addr >= FSL_MEM_M4_TCM_BEGIN) && (addr <= FSL_MEM_M4_TCM_END)) in MEMORY_ConvertMemoryMapAddress() 69 dest = addr + FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 71 else if ((addr >= FSL_MEM_M4_ALIAS_BEGIN) && (addr <= FSL_MEM_M4_ALIAS_END)) in MEMORY_ConvertMemoryMapAddress() 73 dest = addr - FSL_MEM_M4_ALIAS_OFFSET; in MEMORY_ConvertMemoryMapAddress() 77 dest = addr; in MEMORY_ConvertMemoryMapAddress() 83 if ((addr >= (FSL_MEM_M4_TCM_BEGIN + FSL_MEM_M4_TCM_OFFSET)) && in MEMORY_ConvertMemoryMapAddress() 84 (addr <= (FSL_MEM_M4_TCM_END + FSL_MEM_M4_TCM_OFFSET))) in MEMORY_ConvertMemoryMapAddress() 86 dest = addr - FSL_MEM_M4_TCM_OFFSET; in MEMORY_ConvertMemoryMapAddress() 88 else if (addr <= (FSL_MEM_M4_ALIAS_END - FSL_MEM_M4_ALIAS_OFFSET)) in MEMORY_ConvertMemoryMapAddress() [all …]
|