Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 25 of 49) sorted by relevance

12

/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/Include/
Dcmsis_armcc.h582 …#define __LDREXB(ptr) ((uint8_t ) __ldrex(p… argument
584 …#define __LDREXB(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint8_t ) __ldrex(p… argument
595 …#define __LDREXH(ptr) ((uint16_t) __ldrex(p… argument
597 …#define __LDREXH(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint16_t) __ldrex(p… argument
608 …#define __LDREXW(ptr) ((uint32_t ) __ldrex( argument
610 …#define __LDREXW(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint32_t ) __ldrex( argument
623 #define __STREXB(value, ptr) __strex(value, ptr) argument
625 …#define __STREXB(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument
638 #define __STREXH(value, ptr) __strex(value, ptr) argument
640 …#define __STREXH(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument
[all …]
Dcmsis_iccarm.h181 __IAR_FT uint16_t __iar_uint16_read(void const *ptr) in __iar_uint16_read() argument
183 return *(__packed uint16_t*)(ptr); in __iar_uint16_read()
193 __IAR_FT void __iar_uint16_write(void const *ptr, uint16_t val) in __iar_uint16_write() argument
195 *(__packed uint16_t*)(ptr) = val;; in __iar_uint16_write()
204 __IAR_FT uint32_t __iar_uint32_read(void const *ptr) in __iar_uint32_read() argument
206 return *(__packed uint32_t*)(ptr); in __iar_uint32_read()
215 __IAR_FT void __iar_uint32_write(void const *ptr, uint32_t val) in __iar_uint32_write() argument
217 *(__packed uint32_t*)(ptr) = val;; in __iar_uint32_write()
581 __IAR_FT uint32_t __LDREXW(uint32_t volatile *ptr) in __LDREXW() argument
583 return __LDREX((unsigned long *)ptr); in __LDREXW()
[all …]
Dcmsis_armclang.h1078 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument
1082 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
1093 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument
1097 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
1108 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument
1112 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT()
1123 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument
1125 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT()
1135 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument
1137 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT()
[all …]
Dcmsis_gcc.h1283 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument
1288 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
1293 __ASM volatile ("ldrbt %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRBT()
1305 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument
1310 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
1315 __ASM volatile ("ldrht %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRHT()
1327 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument
1331 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT()
1342 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument
1344 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT()
[all …]
Dcmsis_armclang_ltm.h1077 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument
1081 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
1092 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument
1096 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
1107 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument
1111 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT()
1122 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument
1124 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT()
1134 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument
1136 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/Core/Include/
Dcmsis_armcc.h298 …#define __LDREXB(ptr) ((uint8_t ) __ldrex(p… argument
300 …#define __LDREXB(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint8_t ) __ldrex(p… argument
311 …#define __LDREXH(ptr) ((uint16_t) __ldrex(p… argument
313 …#define __LDREXH(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint16_t) __ldrex(p… argument
324 …#define __LDREXW(ptr) ((uint32_t ) __ldrex( argument
326 …#define __LDREXW(ptr) _Pragma("push") _Pragma("diag_suppress 3731") ((uint32_t ) __ldrex( argument
339 #define __STREXB(value, ptr) __strex(value, ptr) argument
341 …#define __STREXB(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument
354 #define __STREXH(value, ptr) __strex(value, ptr) argument
356 …#define __STREXH(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument
[all …]
Dcmsis_iccarm.h183 __IAR_FT uint16_t __iar_uint16_read(void const *ptr) in __iar_uint16_read() argument
185 return *(__packed uint16_t*)(ptr); in __iar_uint16_read()
195 __IAR_FT void __iar_uint16_write(void const *ptr, uint16_t val) in __iar_uint16_write() argument
197 *(__packed uint16_t*)(ptr) = val;; in __iar_uint16_write()
206 __IAR_FT uint32_t __iar_uint32_read(void const *ptr) in __iar_uint32_read() argument
208 return *(__packed uint32_t*)(ptr); in __iar_uint32_read()
217 __IAR_FT void __iar_uint32_write(void const *ptr, uint32_t val) in __iar_uint32_write() argument
219 *(__packed uint32_t*)(ptr) = val;; in __iar_uint32_write()
614 __IAR_FT uint32_t __LDREXW(uint32_t volatile *ptr) in __LDREXW() argument
616 return __LDREX((unsigned long *)ptr); in __LDREXW()
[all …]
Dcmsis_armclang.h440 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument
444 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
455 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument
459 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
470 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument
474 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT()
485 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument
487 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT()
497 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument
499 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT()
[all …]
Dcmsis_gcc.h608 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument
613 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
618 __ASM volatile ("ldrbt %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRBT()
630 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument
635 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
640 __ASM volatile ("ldrht %0, [%1]" : "=r" (result) : "r" (ptr) : "memory" ); in __LDRHT()
652 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument
656 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT()
667 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument
669 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT()
[all …]
Dcmsis_armclang_ltm.h434 __STATIC_FORCEINLINE uint8_t __LDRBT(volatile uint8_t *ptr) in __LDRBT() argument
438 __ASM volatile ("ldrbt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRBT()
449 __STATIC_FORCEINLINE uint16_t __LDRHT(volatile uint16_t *ptr) in __LDRHT() argument
453 __ASM volatile ("ldrht %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRHT()
464 __STATIC_FORCEINLINE uint32_t __LDRT(volatile uint32_t *ptr) in __LDRT() argument
468 __ASM volatile ("ldrt %0, %1" : "=r" (result) : "Q" (*ptr) ); in __LDRT()
479 __STATIC_FORCEINLINE void __STRBT(uint8_t value, volatile uint8_t *ptr) in __STRBT() argument
481 __ASM volatile ("strbt %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRBT()
491 __STATIC_FORCEINLINE void __STRHT(uint16_t value, volatile uint16_t *ptr) in __STRHT() argument
493 __ASM volatile ("strht %1, %0" : "=Q" (*ptr) : "r" ((uint32_t)value) ); in __STRHT()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/rtt/Syscalls/
DSEGGER_RTT_Syscalls_GCC.c89 _ssize_t _write (int file, const void *ptr, size_t len);
90 _ssize_t _write_r(struct _reent *r, int file, const void *ptr, size_t len);
109 _ssize_t _write(int file, const void *ptr, size_t len) { in _write() argument
111 SEGGER_RTT_Write(0, ptr, len); in _write()
125 _ssize_t _write_r(struct _reent *r, int file, const void *ptr, size_t len) { in _write_r() argument
128 SEGGER_RTT_Write(0, ptr, len); in _write_r()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc54s018m/
Dmflash_drv.c208 void *ptr = mflash_drv_phys2log(addr, len); in mflash_drv_read() local
210 if (ptr == NULL) in mflash_drv_read()
215 memcpy(buffer, ptr, len); in mflash_drv_read()
233 uint32_t mflash_drv_log2phys(void *ptr, uint32_t len) in mflash_drv_log2phys() argument
235 uint32_t log_addr = (uint32_t)ptr; in mflash_drv_log2phys()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc54xxx/
Dmflash_drv.c208 void *ptr = mflash_drv_phys2log(addr, len); in mflash_drv_read() local
210 if (ptr == NULL) in mflash_drv_read()
215 memcpy(buffer, ptr, len); in mflash_drv_read()
233 uint32_t mflash_drv_log2phys(void *ptr, uint32_t len) in mflash_drv_log2phys() argument
235 uint32_t log_addr = (uint32_t)ptr; in mflash_drv_log2phys()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClPkc/inc/internal/
DmcuxClPkc_ImportExport.h34 mcuxClPkc_Status_Protected_t mcuxClPkc_SwitchEndianness(uint32_t *ptr, uint32_t length);
36 #define MCUXCLPKC_FP_SWITCHENDIANNESS(ptr, length) \ argument
38 MCUX_CSSL_FP_FUNCTION_CALL(retValTemp, mcuxClPkc_SwitchEndianness(ptr, length)); \
/hal_nxp-3.5.0/mcux/mcux-sdk/components/mpi_loader/
Dfsl_mpi_loader.c129 static void MPI_WordSet(void *ptr, uint32_t value, uint32_t size) in MPI_WordSet() argument
133 MPI_ASSERT(ptr != NULL && (((uint32_t)(uint32_t *)ptr & 3U) == 0U)); in MPI_WordSet()
136 p = (uint32_t *)ptr; in MPI_WordSet()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/
Dconfig.h54 #define kmalloc(ptr, flags) TFA9XXX_GetDSPMessageBuffer() argument
55 #define kfree(ptr) (void)0 argument
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/frdmk64f/
Dmflash_drv.c74 uint32_t mflash_drv_log2phys(void *ptr, uint32_t len) in mflash_drv_log2phys() argument
77 return ((uint32_t)ptr); in mflash_drv_log2phys()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/frdmk66f/
Dmflash_drv.c79 uint32_t mflash_drv_log2phys(void *ptr, uint32_t len) in mflash_drv_log2phys() argument
82 return ((uint32_t)ptr); in mflash_drv_log2phys()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55s3x_flexspi/
Dmflash_drv.c81 uint32_t mflash_drv_log2phys(void *ptr, uint32_t len) in mflash_drv_log2phys() argument
84 return ((uint32_t)ptr); in mflash_drv_log2phys()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/common/
Dfsl_common.c66 void SDK_Free(void *ptr) in SDK_Free() argument
74 p_free.pointer_value = ptr; in SDK_Free()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClPkc/src/
DmcuxClPkc_ImportExport.c43 mcuxClPkc_Status_Protected_t mcuxClPkc_SwitchEndianness(uint32_t *ptr, uint32_t length) in MCUX_CSSL_FP_FUNCTION_DEF()
47 uint32_t *ptrL32 = ptr; in MCUX_CSSL_FP_FUNCTION_DEF()
49 uint32_t UNALIGNED *ptrH32 = (uint32_t UNALIGNED *) ((uint8_t *) ptr + length - 4u); in MCUX_CSSL_FP_FUNCTION_DEF()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClEcc/src/
DmcuxClEcc_Verify_P384.c56 …atic MCUX_CSSL_FP_PROTECTED_TYPE(mcuxClEcc_Status_t) mcuxClEcc_SwitchEndianness_P384(uint32_t *ptr) in MCUX_CSSL_FP_PROTECTED_TYPE()
62 uint32_t *ptrLo = ptr; in MCUX_CSSL_FP_PROTECTED_TYPE()
63 uint32_t *ptrHi = ptr + opSizeInCPUWord; in MCUX_CSSL_FP_PROTECTED_TYPE()
82 #define MCUXCLECC_FP_SWITCHENDIANNESS_P384(ptr) \ argument
84 MCUX_CSSL_FP_FUNCTION_CALL(retValTemp, mcuxClEcc_SwitchEndianness_P384(ptr)); \
/hal_nxp-3.5.0/mcux/mcux-sdk/utilities/misc_utilities/
Dfsl_syscall_stub.c68 int __attribute__((weak)) _lseek(int f, int ptr, int dir);
69 int __attribute__((weak)) _lseek(int f, int ptr, int dir) in _lseek() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55s3x/
Dmflash_drv.c129 uint32_t mflash_drv_log2phys(void *ptr, uint32_t len) in mflash_drv_log2phys() argument
132 return ((uint32_t)ptr); in mflash_drv_log2phys()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/lpc55xxx/
Dmflash_drv.c125 uint32_t mflash_drv_log2phys(void *ptr, uint32_t len) in mflash_drv_log2phys() argument
128 return ((uint32_t)ptr); in mflash_drv_log2phys()

12