Home
last modified time | relevance | path

Searched refs:head (Results 1 – 19 of 19) sorted by relevance

/hardware/ti/wlan/lib/
Dshlist.c17 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func ) in shListFindItem() argument
21 for(item=head->next;( item != head );item=item->next) in shListFindItem()
35 SHLIST *shListGetLastItem( SHLIST *head ) in shListGetLastItem() argument
37 if( head->prev != head ) in shListGetLastItem()
38 return( head->prev ); in shListGetLastItem()
42 SHLIST *shListGetFirstItem( SHLIST *head ) in shListGetFirstItem() argument
44 if( head->next != head ) in shListGetFirstItem()
45 return( head->next ); in shListGetFirstItem()
49 SHLIST *shListGetNItem( SHLIST *head, unsigned long num ) in shListGetNItem() argument
54 for(i=0,item=head->next;( (i < num) && (item != head) );i++,item=item->next); in shListGetNItem()
[all …]
Dshlist.h19 SHLIST *shListFindItem( SHLIST *head, void *val, shListEqual func );
20 SHLIST *shListGetFirstItem( SHLIST *head );
21 SHLIST *shListGetNItem( SHLIST *head, unsigned long num );
22 SHLIST *shListGetLastItem( SHLIST *head );
23 SHLIST *shListGetNextItem( SHLIST *head, SHLIST *item );
24 SHLIST *shListGetPrevItem( SHLIST *head, SHLIST *item );
25 void shListDelItem( SHLIST *head, SHLIST *item, shListFree func );
26 void shListInsFirstItem( SHLIST *head, void *val );
27 void shListInsBeforeItem( SHLIST *head, void *val, void *etalon,
29 void shListInsLastItem( SHLIST *head, void *val );
[all …]
Dscanmerge.c151 static scan_merge_t *scan_add( SHLIST *head, scan_result_t *res_ptr ) in scan_add() argument
164 shListInsLastItem(head, (void *)scan_ptr); in scan_add()
236 SHLIST *head = &(mydrv->scan_merge_list); in scan_merge() local
243 item = shListGetFirstItem(head); in scan_merge()
248 item = shListGetNextItem(head, item); in scan_merge()
257 item = shListFindItem( head, res_ptr, scan_equal ); in scan_merge()
278 scan_add(head, res_ptr); in scan_merge()
282 item = shListGetFirstItem( head ); /* Add/Remove missing items */ in scan_merge()
307 item = shListGetNextItem(head, item); in scan_merge()
308 shListDelItem(head, del_item, scan_free); in scan_merge()
[all …]
/hardware/qcom/media/mm-video/vidc/vdec/inc/
DMap.h46 node* head; variable
52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
53 bool empty() const { return ( !head || !tail ); } in empty()
66 while(head) in ~Map()
68 node* temp(head); in ~Map()
69 head=head->next; in ~Map()
79 tmp = head; in find()
94 tmp = head; in find_ele()
109 tmp = head; in begin()
120 tmp = head; in show()
[all …]
/hardware/qcom/media/mm-video/vidc/vdec/src/
Dqueue.c45 Node *head; member
55 q->head = q->tail = NULL; in alloc_queue()
91 q->head = new_node; in push()
112 temp = q->head; in pop()
117 q->head = q->tail = NULL; in pop()
121 q->head = q->head->next; in pop()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c173 if (q->head) in pktq_penq()
176 q->head = p; in pktq_penq()
202 if (q->head == NULL) in pktq_penq_head()
205 PKTSETLINK(p, q->head); in pktq_penq_head()
206 q->head = p; in pktq_penq_head()
227 if ((p = q->head) == NULL) in pktq_pdeq()
230 if ((q->head = PKTLINK(p)) == NULL) in pktq_pdeq()
252 if ((p = q->head) == NULL) in pktq_pdeq_tail()
261 q->head = NULL; in pktq_pdeq_tail()
278 p = q->head; in pktq_pflush()
[all …]
/hardware/broadcom/wlan/bcm4329/dhdutil/
Dbcmutils.c173 if (q->head) in pktq_penq()
176 q->head = p; in pktq_penq()
202 if (q->head == NULL) in pktq_penq_head()
205 PKTSETLINK(p, q->head); in pktq_penq_head()
206 q->head = p; in pktq_penq_head()
227 if ((p = q->head) == NULL) in pktq_pdeq()
230 if ((q->head = PKTLINK(p)) == NULL) in pktq_pdeq()
252 if ((p = q->head) == NULL) in pktq_pdeq_tail()
261 q->head = NULL; in pktq_pdeq_tail()
278 p = q->head; in pktq_pflush()
[all …]
/hardware/ti/omap3/dspbridge/libbridge/inc/
Dlist.h60 #define LST_IsEmpty(l) (((l)->head.next == &(l)->head))
71 struct LST_ELEM head; member
/hardware/ti/omap3/dspbridge/inc/
Dlist.h60 #define LST_IsEmpty(l) (((l)->head.next == &(l)->head))
71 struct LST_ELEM head; member
/hardware/ti/wlan/wl1271/TWD/Ctrl/
DCmdQueue.c149 pCmdQueue->head = 0; in cmdQueue_Init()
209 pHead = &pCmdQueue->aCmdQueue[pCmdQueue->head]; in cmdQueue_SM()
294 pHead = &pCmdQueue->aCmdQueue[pCmdQueue->head]; in cmdQueue_SM()
307 pCmdQueue->head ++; in cmdQueue_SM()
308 if (pCmdQueue->head >= CMDQUEUE_QUEUE_DEPTH) in cmdQueue_SM()
309 pCmdQueue->head = 0; in cmdQueue_SM()
572 TI_UINT32 first = pCmdQueue->head; in cmdQueue_Restart()
616 pCmdQueue->head = 0; in cmdQueue_Restart()
796 TCmdQueueNode* pHead = &pCmdQueue->aCmdQueue[pCmdQueue->head]; in cmdQueue_Error()
896 TI_UINT32 first = pCmdQueue->head; in cmdQueue_PrintQueue()
[all …]
DCmdQueue.h142 TI_UINT32 head; member
/hardware/msm7k/libgralloc-qsd8k/
Dallocator.cpp39 delete mList.remove(mList.head()); in ~SimpleBestFitAllocator()
86 chunk_t* cur = mList.head(); in alloc()
134 chunk_t* cur = mList.head(); in dealloc()
Dallocator.h42 NODE const* head() const { return mFirst; } in head() function
43 NODE* head() { return mFirst; } in head() function
/hardware/msm7k/libgralloc/
Dallocator.cpp39 delete mList.remove(mList.head()); in ~SimpleBestFitAllocator()
86 chunk_t* cur = mList.head(); in alloc()
134 chunk_t* cur = mList.head(); in dealloc()
Dallocator.h41 NODE const* head() const { return mFirst; } in head() function
42 NODE* head() { return mFirst; } in head() function
/hardware/ti/wlan/wl1271/platforms/os/linux/src/
DRxBuf.c61 rx_head = (rx_head_t *)skb->head; in RxBufAlloc()
/hardware/qcom/media/mm-video/vidc/venc/test/
Dvenc_test.cpp224 int head; member
592 m_sMsgQ.q[(m_sMsgQ.head + m_sMsgQ.size) % MAX_MSG].id = id; in SendMessage()
594 m_sMsgQ.q[(m_sMsgQ.head + m_sMsgQ.size) % MAX_MSG].data = *data; in SendMessage()
607 *msg = m_sMsgQ.q[m_sMsgQ.head]; in PopMessage()
609 m_sMsgQ.head = (m_sMsgQ.head + 1) % MAX_MSG; in PopMessage()
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmutils.h95 void *head; member
248 #define pktq_ppeek(pq, prec) ((pq)->q[prec].head)
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h95 void *head; member
248 #define pktq_ppeek(pq, prec) ((pq)->q[prec].head)