Home
last modified time | relevance | path

Searched refs:pul_buf (Results 1 - 2 of 2) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_queue.h63 uintptr_t *pul_buf; /* 队列缓存 */ member
78 pul_buf : 指向队列缓冲区的指针
83 static inline hi_void oal_queue_set(oal_queue_stru *queue, hi_u32 *pul_buf, hi_u8 max_elements) in oal_queue_set() argument
85 queue->pul_buf = (uintptr_t *)pul_buf; in oal_queue_set()
105 if (queue->pul_buf == HI_NULL) { in oal_queue_destroy()
109 oal_mem_free(queue->pul_buf); in oal_queue_destroy()
129 queue->pul_buf[tail_index++] = (hi_u32)(uintptr_t)element; in oal_queue_enqueue()
150 hi_void *element = (hi_void *)queue->pul_buf[head_index++]; in oal_queue_dequeue()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/frw/
H A Dfrw_event_sched.c216 hi_u32 *pul_buf = HI_NULL; in oal_queue_init() local
225 pul_buf = (hi_u32 *)oal_mem_alloc(OAL_MEM_POOL_ID_LOCAL, (hi_u16)(max_events * sizeof(hi_u32))); in oal_queue_init()
226 if (oal_unlikely(pul_buf == HI_NULL)) { in oal_queue_init()
230 memset_s(pul_buf, max_events * sizeof(hi_u32), 0, max_events * sizeof(hi_u32)); in oal_queue_init()
231 oal_queue_set(queue, pul_buf, max_events); in oal_queue_init()

Completed in 2 milliseconds