Searched defs:ptr (Results 1 – 3 of 3) sorted by relevance
/hal_microchip-latest/mec5/drivers/ |
D | mec_defs.h | 78 #define MEC_IS_PTR_ALIGNED16(ptr) ((((uintptr_t)(ptr)) & 0x01U) == 0) argument 82 #define MEC_IS_PTR_ALIGNED32(ptr) ((((uintptr_t)(ptr)) & 0x03U) == 0) argument 86 #define MEC_IS_PTR_ALIGNED64(ptr) ((((uintptr_t)(ptr)) & 0x07U) == 0) argument 90 #define MEC_IS_PTR_ALIGNED128(ptr) ((((uintptr_t)(ptr)) & 0x0fU) == 0) argument 94 #define MEC_IS_PTR_ALIGNED4K(ptr) ((((uintptr_t)(ptr)) & 0xfffU) == 0) argument 101 #define MEC_PTR_ALIGN4(ptr) (((uintptr_t)(ptr) + 4U) & ~0x3u) argument 105 #define MEC_PTR_ALIGN8(ptr) (((uintptr_t)(ptr) + 8U) & ~0x7u) argument 109 #define MEC_PTR_ALIGN16(ptr) (((uintptr_t)(ptr) + 16U) & ~0xFu) argument 113 #define MEC_PTR_ALIGN4K(ptr) (((uintptr_t)(ptr) + 0x1000U) & ~0xFFFu) argument
|
/hal_microchip-latest/mpfs/mpfs_hal/common/ |
D | atomic.h | 40 #define atomic_set(ptr, val) (*(volatile typeof(*(ptr)) *)(ptr) = val) argument 41 #define atomic_read(ptr) (*(volatile typeof(*(ptr)) *)(ptr)) argument 44 # define atomic_swap(ptr, swp) __sync_lock_test_and_set(ptr, swp) argument 45 # define atomic_or(ptr, inc) __sync_fetch_and_or(ptr, inc) argument
|
/hal_microchip-latest/mpfs/mpfs_hal/startup_gcc/ |
D | newlib_stubs.c | 182 int _lseek(int file, int ptr, int dir) in _lseek() 206 int _read(int file, char *ptr, int len) in _read() 221 int _write_r( void * reent, int file, char * ptr, int len ) in _write_r()
|