| /hal_nordic-latest/drivers/nrf_802154/sl/include/ |
| D | nrf_802154_sl_atomics.h | 103 static inline bool nrf_802154_sl_atomic_cas_u32(uint32_t * p_obj, in nrf_802154_sl_atomic_cas_u32() argument 111 uint32_t old_val = __LDREXW((volatile uint32_t *)p_obj); in nrf_802154_sl_atomic_cas_u32() 120 while (__STREXW(desired, (volatile uint32_t *)p_obj)); in nrf_802154_sl_atomic_cas_u32() 139 static inline bool nrf_802154_sl_atomic_cas_u16(uint16_t * p_obj, in nrf_802154_sl_atomic_cas_u16() argument 147 uint16_t old_val = __LDREXH((volatile uint16_t *)p_obj); in nrf_802154_sl_atomic_cas_u16() 156 while (__STREXH(desired, (volatile uint16_t *)p_obj)); in nrf_802154_sl_atomic_cas_u16() 175 static inline bool nrf_802154_sl_atomic_cas_u8(uint8_t * p_obj, in nrf_802154_sl_atomic_cas_u8() argument 183 uint8_t old_val = __LDREXB((volatile uint8_t *)p_obj); in nrf_802154_sl_atomic_cas_u8() 192 while (__STREXB(desired, (volatile uint8_t *)p_obj)); in nrf_802154_sl_atomic_cas_u8() 206 static inline void nrf_802154_sl_atomic_store_u32(uint32_t * p_obj, uint32_t value) in nrf_802154_sl_atomic_store_u32() argument [all …]
|
| /hal_nordic-latest/drivers/nrf_802154/serialization/src/ |
| D | nrf_802154_buffer_mgr_dst.c | 45 nrf_802154_buffer_mgr_dst_t * p_obj, in nrf_802154_buffer_mgr_dst_init() argument 50 nrf_802154_kvmap_init(&p_obj->map, in nrf_802154_buffer_mgr_dst_init() 56 nrf_802154_buffer_allocator_init(&p_obj->allocator, in nrf_802154_buffer_mgr_dst_init() 62 nrf_802154_buffer_mgr_dst_t * p_obj, in nrf_802154_buffer_mgr_dst_add() argument 70 *pp_local_pointer = nrf_802154_buffer_allocator_alloc(&p_obj->allocator); in nrf_802154_buffer_mgr_dst_add() 75 result = nrf_802154_kvmap_add(&p_obj->map, pp_local_pointer, &buffer_handle); in nrf_802154_buffer_mgr_dst_add() 87 nrf_802154_buffer_mgr_dst_t * p_obj, in nrf_802154_buffer_mgr_dst_search_by_local_pointer() argument 91 return nrf_802154_kvmap_search(&p_obj->map, &p_local_pointer, p_buffer_handle); in nrf_802154_buffer_mgr_dst_search_by_local_pointer() 95 nrf_802154_buffer_mgr_dst_t * p_obj, in nrf_802154_buffer_mgr_dst_remove_by_local_pointer() argument 100 result = nrf_802154_kvmap_remove(&p_obj->map, &p_local_pointer); in nrf_802154_buffer_mgr_dst_remove_by_local_pointer() [all …]
|
| D | nrf_802154_buffer_allocator.c | 110 void nrf_802154_buffer_allocator_init(nrf_802154_buffer_allocator_t * p_obj, in nrf_802154_buffer_allocator_init() argument 118 p_obj->p_memory = p_memory; in nrf_802154_buffer_allocator_init() 119 p_obj->capacity = capacity; in nrf_802154_buffer_allocator_init() 121 nrf_802154_buffer_t * p_buffer = (nrf_802154_buffer_t *)p_obj->p_memory; in nrf_802154_buffer_allocator_init() 123 for (size_t i = 0; i < p_obj->capacity; i++) in nrf_802154_buffer_allocator_init() 129 void * nrf_802154_buffer_allocator_alloc(const nrf_802154_buffer_allocator_t * p_obj) in nrf_802154_buffer_allocator_alloc() argument 131 return buffer_alloc((nrf_802154_buffer_t *)p_obj->p_memory, p_obj->capacity); in nrf_802154_buffer_allocator_alloc() 134 void nrf_802154_buffer_allocator_free(const nrf_802154_buffer_allocator_t * p_obj, in nrf_802154_buffer_allocator_free() argument 137 buffer_free(p_buffer, (nrf_802154_buffer_t *)p_obj->p_memory, p_obj->capacity); in nrf_802154_buffer_allocator_free()
|
| D | nrf_802154_buffer_mgr_src.c | 46 nrf_802154_buffer_mgr_src_t * p_obj, in nrf_802154_buffer_mgr_src_init() argument 55 nrf_802154_kvmap_init(&p_obj->map, in nrf_802154_buffer_mgr_src_init() 63 nrf_802154_buffer_mgr_src_t * p_obj, in nrf_802154_buffer_mgr_src_add() argument 70 result = nrf_802154_kvmap_add(&p_obj->map, &buffer_handle, NULL); in nrf_802154_buffer_mgr_src_add() 80 nrf_802154_buffer_mgr_src_t * p_obj, in nrf_802154_buffer_mgr_src_search_by_buffer_handle() argument 86 if (nrf_802154_kvmap_search(&p_obj->map, &buffer_handle, NULL)) in nrf_802154_buffer_mgr_src_search_by_buffer_handle() 95 nrf_802154_buffer_mgr_src_t * p_obj, in nrf_802154_buffer_mgr_src_remove_by_buffer_handle() argument 98 return nrf_802154_kvmap_remove(&p_obj->map, &buffer_handle); in nrf_802154_buffer_mgr_src_remove_by_buffer_handle()
|
| /hal_nordic-latest/drivers/nrf_802154/serialization/src/include/ |
| D | nrf_802154_buffer_allocator.h | 99 void nrf_802154_buffer_allocator_init(nrf_802154_buffer_allocator_t * p_obj, 110 void * nrf_802154_buffer_allocator_alloc(const nrf_802154_buffer_allocator_t * p_obj); 120 void nrf_802154_buffer_allocator_free(const nrf_802154_buffer_allocator_t * p_obj, void * p_buffer); 130 const nrf_802154_buffer_allocator_t * p_obj) in nrf_802154_buffer_allocator_capacity() argument 132 return p_obj->capacity; in nrf_802154_buffer_allocator_capacity()
|
| D | nrf_802154_buffer_mgr_src.h | 137 nrf_802154_buffer_mgr_src_t * p_obj, 152 nrf_802154_buffer_mgr_src_t * p_obj, 167 nrf_802154_buffer_mgr_src_t * p_obj, 181 nrf_802154_buffer_mgr_src_t * p_obj,
|
| D | nrf_802154_buffer_mgr_dst.h | 152 nrf_802154_buffer_mgr_dst_t * p_obj, 173 nrf_802154_buffer_mgr_dst_t * p_obj, 192 nrf_802154_buffer_mgr_dst_t * p_obj, 210 nrf_802154_buffer_mgr_dst_t * p_obj,
|
| /hal_nordic-latest/drivers/nrf_802154/driver/src/ |
| D | nrf_802154_bsim_utils.c | 45 nrf_802154_bsim_utils_core_hooks_adjustments_t * p_obj) in nrf_802154_bsim_utils_core_hooks_adjustments_get() argument 47 *p_obj = m_nrf_802154_bsim_utils; in nrf_802154_bsim_utils_core_hooks_adjustments_get() 51 const nrf_802154_bsim_utils_core_hooks_adjustments_t * p_obj) in nrf_802154_bsim_utils_core_hooks_adjustments_set() argument 53 m_nrf_802154_bsim_utils = *p_obj; in nrf_802154_bsim_utils_core_hooks_adjustments_set()
|
| D | nrf_802154_bsim_utils.h | 61 nrf_802154_bsim_utils_core_hooks_adjustments_t * p_obj); 67 const nrf_802154_bsim_utils_core_hooks_adjustments_t * p_obj);
|