Home
last modified time | relevance | path

Searched refs:elem (Results 1 – 7 of 7) sorted by relevance

/hal_ti-3.4.0/simplelink/kernel/zephyr/dpl/
DQueueP_zephyr.c44 obj->elem.next = obj->elem.prev = &(obj->elem); in QueueP_init()
52 return (obj->elem.next == &(obj->elem)); in QueueP_empty()
60 QueueP_Elem *elem; in QueueP_get() local
65 elem = obj->elem.next; in QueueP_get()
67 obj->elem.next = elem->next; in QueueP_get()
68 elem->next->prev = &(obj->elem); in QueueP_get()
72 return ((uintptr_t)elem); in QueueP_get()
81 QueueP_Elem *elem; in QueueP_getTail() local
86 elem = obj->elem.prev; in QueueP_getTail()
88 obj->elem.prev = elem->prev; in QueueP_getTail()
[all …]
DQueueP.h42 QueueP_Elem elem; member
52 void QueueP_put(QueueP_Obj *obj, QueueP_Elem *elem);
DSwiP_zephyr.c34 QueueP_Elem elem; member
134 QueueP_init((QueueP_Obj *)&swi->elem); in SwiP_construct()
156 QueueP_remove(&swi->elem); in SwiP_destruct()
264 (QueueP_Elem *)&swi->elem); in SwiP_post()
/hal_ti-3.4.0/simplelink/source/ti/drivers/utils/
DList.c63 List_Elem *elem; in List_get() local
68 elem = list->head; in List_get()
71 if (elem != NULL) { in List_get()
72 list->head = elem->next; in List_get()
73 if (elem->next != NULL) { in List_get()
74 elem->next->prev = NULL; in List_get()
83 return (elem); in List_get()
113 void List_put(List_List *list, List_Elem *elem) in List_put() argument
119 elem->next = NULL; in List_put()
120 elem->prev = list->tail; in List_put()
[all …]
DList.h203 static inline List_Elem *List_next(List_Elem *elem) in List_next() argument
205 return (elem->next); in List_next()
218 static inline List_Elem *List_prev(List_Elem *elem) in List_prev() argument
220 return (elem->prev); in List_prev()
230 extern void List_put(List_List *list, List_Elem *elem);
239 extern void List_putHead(List_List *list, List_Elem *elem);
248 extern void List_remove(List_List *list, List_Elem *elem);
/hal_ti-3.4.0/simplelink/source/ti/drivers/power/
DPowerCC26X2.c1281 List_Elem *elem; in notify() local
1286 elem = List_head(&PowerCC26X2_module.notifyList); in notify()
1290 if (((Power_NotifyObj *)elem)->eventTypes & eventType) { in notify()
1292 notifyFxn = ((Power_NotifyObj *)elem)->notifyFxn; in notify()
1293 clientArg = ((Power_NotifyObj *)elem)->clientArg; in notify()
1306 elem = List_next(elem); in notify()
1308 } while (elem != NULL); in notify()
DPowerCC32XX.c1155 List_Elem *elem; in notify() local
1160 elem = List_head(&PowerCC32XX_module.notifyList); in notify()
1164 if (((Power_NotifyObj *)elem)->eventTypes & eventType) { in notify()
1166 notifyFxn = ((Power_NotifyObj *)elem)->notifyFxn; in notify()
1167 clientArg = ((Power_NotifyObj *)elem)->clientArg; in notify()
1180 elem = List_next(elem); in notify()
1182 } while (elem != NULL); in notify()