Lines Matching refs:ptr
183 __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()
619 __IAR_FT uint32_t __STREXW(uint32_t value, uint32_t volatile *ptr) in __STREXW() argument
621 return __STREX(value, (unsigned long *)ptr); in __STREXW()
911 __IAR_FT uint8_t __LDAB(volatile uint8_t *ptr) in __LDAB() argument
914 __ASM volatile ("LDAB %0, [%1]" : "=r" (res) : "r" (ptr) : "memory"); in __LDAB()
918 __IAR_FT uint16_t __LDAH(volatile uint16_t *ptr) in __LDAH() argument
921 __ASM volatile ("LDAH %0, [%1]" : "=r" (res) : "r" (ptr) : "memory"); in __LDAH()
925 __IAR_FT uint32_t __LDA(volatile uint32_t *ptr) in __LDA() argument
928 __ASM volatile ("LDA %0, [%1]" : "=r" (res) : "r" (ptr) : "memory"); in __LDA()
932 __IAR_FT void __STLB(uint8_t value, volatile uint8_t *ptr) in __STLB() argument
934 __ASM volatile ("STLB %1, [%0]" :: "r" (ptr), "r" (value) : "memory"); in __STLB()
937 __IAR_FT void __STLH(uint16_t value, volatile uint16_t *ptr) in __STLH() argument
939 __ASM volatile ("STLH %1, [%0]" :: "r" (ptr), "r" (value) : "memory"); in __STLH()
942 __IAR_FT void __STL(uint32_t value, volatile uint32_t *ptr) in __STL() argument
944 __ASM volatile ("STL %1, [%0]" :: "r" (ptr), "r" (value) : "memory"); in __STL()
947 __IAR_FT uint8_t __LDAEXB(volatile uint8_t *ptr) in __LDAEXB() argument
950 __ASM volatile ("LDAEXB %0, [%1]" : "=r" (res) : "r" (ptr) : "memory"); in __LDAEXB()
954 __IAR_FT uint16_t __LDAEXH(volatile uint16_t *ptr) in __LDAEXH() argument
957 __ASM volatile ("LDAEXH %0, [%1]" : "=r" (res) : "r" (ptr) : "memory"); in __LDAEXH()
961 __IAR_FT uint32_t __LDAEX(volatile uint32_t *ptr) in __LDAEX() argument
964 __ASM volatile ("LDAEX %0, [%1]" : "=r" (res) : "r" (ptr) : "memory"); in __LDAEX()
968 __IAR_FT uint32_t __STLEXB(uint8_t value, volatile uint8_t *ptr) in __STLEXB() argument
971 __ASM volatile ("STLEXB %0, %2, [%1]" : "=r" (res) : "r" (ptr), "r" (value) : "memory"); in __STLEXB()
975 __IAR_FT uint32_t __STLEXH(uint16_t value, volatile uint16_t *ptr) in __STLEXH() argument
978 __ASM volatile ("STLEXH %0, %2, [%1]" : "=r" (res) : "r" (ptr), "r" (value) : "memory"); in __STLEXH()
982 __IAR_FT uint32_t __STLEX(uint32_t value, volatile uint32_t *ptr) in __STLEX() argument
985 __ASM volatile ("STLEX %0, %2, [%1]" : "=r" (res) : "r" (ptr), "r" (value) : "memory"); in __STLEX()