Home
last modified time | relevance | path

Searched refs:SimpleQueue (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/os/core/
DsimpleQ.c30 struct SimpleQueue { struct
39 static inline struct SimpleQueueEntry *simpleQueueGetNth(struct SimpleQueue* sq, uint32_t n) in simpleQueueGetNth() argument
44 static inline uint32_t simpleQueueGetIdx(struct SimpleQueue* sq, const struct SimpleQueueEntry *e) in simpleQueueGetIdx()
49 struct SimpleQueue* simpleQueueAlloc(uint32_t numEntries, uint32_t entrySz, SimpleQueueForciblyDisc… in simpleQueueAlloc()
51 …uint32_t i, sz = sizeof(struct SimpleQueue) + (sizeof(struct SimpleQueueEntry) + entrySz) * numEnt… in simpleQueueAlloc()
52 struct SimpleQueue *sq; in simpleQueueAlloc()
79 void simpleQueueDestroy(struct SimpleQueue* sq) in simpleQueueDestroy()
93 bool simpleQueueDequeue(struct SimpleQueue* sq, void *data) in simpleQueueDequeue()
117 static struct SimpleQueueEntry* simpleQueueAllocWithDiscard(struct SimpleQueue* sq) in simpleQueueAllocWithDiscard()
146 bool simpleQueueEnqueue(struct SimpleQueue* sq, const void *data, int length, bool possiblyDiscarda… in simpleQueueEnqueue()
DhostIntf.c109 static struct SimpleQueue *mOutputQ;
/device/google/contexthub/firmware/os/inc/
DsimpleQ.h31 struct SimpleQueue* simpleQueueAlloc(uint32_t numEntries, uint32_t entrySz, SimpleQueueForciblyDisc…
32 void simpleQueueDestroy(struct SimpleQueue* sq); //will call discard, but in no particular order!
33 bool simpleQueueEnqueue(struct SimpleQueue* sq, const void *data, int length, bool possiblyDiscarda…
34 bool simpleQueueDequeue(struct SimpleQueue* sq, void *dataVal);