Home
last modified time | relevance | path

Searched refs:p_obj (Results 1 – 9 of 9) sorted by relevance

/hal_nordic-latest/drivers/nrf_802154/sl/include/
Dnrf_802154_sl_atomics.h103 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/
Dnrf_802154_buffer_mgr_dst.c45 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 …]
Dnrf_802154_buffer_allocator.c110 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()
Dnrf_802154_buffer_mgr_src.c46 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/
Dnrf_802154_buffer_allocator.h99 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()
Dnrf_802154_buffer_mgr_src.h137 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,
Dnrf_802154_buffer_mgr_dst.h152 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/
Dnrf_802154_bsim_utils.c45 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()
Dnrf_802154_bsim_utils.h61 nrf_802154_bsim_utils_core_hooks_adjustments_t * p_obj);
67 const nrf_802154_bsim_utils_core_hooks_adjustments_t * p_obj);